Mrmaho
New member
- Messages
- 19
- Reactions
- 15
I want a small request from you. Brother, I want the latest version of the flutter application because the last version I downloaded from you was asking for a password.
I want a small request from you. Brother, I want the latest version of the flutter application because the last version I downloaded from you was asking for a password.
Hello, does anyone know how to modify the "date range" of sales, purchases, etc.? I would like to be able to add an option that allows you to select by years or several years with a single click, because the maximum date range option allows up to the previous year and then the option to select a custom range appears, but to be using that option it is too much waste of time.
View attachment 24634
Hello! Yes, that would help me a lot and I think it would help others too.Hi there - I'll try to update my reply with a code that allows you to make the filter "2 years ago", "3 years ago" and "5 years ago" - maybe this is a solution for you, isn't it?
Ferb
So let's do it, here it is for 3 years, change the '3' with any number of years you want (be careful not to overload your server while requesting 7 or more years)Hello! Yes, that would help me a lot and I think it would help others too.
ranges[LANG.last_financial_year] = [
moment(financial_year.start._i).subtract(1, 'year'),
moment(financial_year.end._i).subtract(1, 'year'),
];
ranges[LANG.last_financial_year] = [
moment(financial_year.start._i).subtract(3, 'year'),
moment(financial_year.end._i).subtract(0, 'year'),
];
'last_financial_year': 'Last financial year',
'last_financial_year': 'Last 3 years',
good man , thts really niceSo let's do it, here it is for 3 years, change the '3' with any number of years you want (be careful not to overload your server while requesting 7 or more years)
Go to /public/js/common.js, and search for (around line 327):
Code:ranges[LANG.last_financial_year] = [ moment(financial_year.start._i).subtract(1, 'year'), moment(financial_year.end._i).subtract(1, 'year'), ];
Replace with: (here you can change the 3 with any number of years you want)
Code:ranges[LANG.last_financial_year] = [ moment(financial_year.start._i).subtract(3, 'year'), moment(financial_year.end._i).subtract(0, 'year'), ];
Now go to /public/js/lang/en.js (for English, do it for your or all languages) and change:
Code:'last_financial_year': 'Last financial year',
Replace with: (replace the '3' with your desired number of years)
Code:'last_financial_year': 'Last 3 years',
This will replace the "Last financial year" option, but you have the option of "Last year" which does the same thing
I hope it's useful
Ferb
So let's do it, here it is for 3 years, change the '3' with any number of years you want (be careful not to overload your server while requesting 7 or more years)
Go to /public/js/common.js, and search for (around line 327):
Code:ranges[LANG.last_financial_year] = [ moment(financial_year.start._i).subtract(1, 'year'), moment(financial_year.end._i).subtract(1, 'year'), ];
Replace with: (here you can change the 3 with any number of years you want)
Code:ranges[LANG.last_financial_year] = [ moment(financial_year.start._i).subtract(3, 'year'), moment(financial_year.end._i).subtract(0, 'year'), ];
Now go to /public/js/lang/en.js (for English, do it for your or all languages) and change:
Code:'last_financial_year': 'Last financial year',
Replace with: (replace the '3' with your desired number of years)
Code:'last_financial_year': 'Last 3 years',
This will replace the "Last financial year" option, but you have the option of "Last year" which does the same thing
I hope it's useful
Ferb
Installment Management Module for UltimatePOS Nulled
*** Hidden text: cannot be quoted. ***
installment Module nulled there you go buddyThis file does not exist pls check
Thank you for sharing, much loveinstallment Module nulled there you go buddy
*** Hidden text: cannot be quoted. ***
there are many bugs like : clients Billsinstallment Module nulled there you go buddy
*** Hidden text: cannot be quoted. ***