[freeside-users] Date selection in freeside
Nathan Kennedy
nathan at nkent.us
Sat Feb 17 10:29:05 PST 2018
On Wednesday, January 31, 2018 3:29:31 PM PST Larry Smith wrote:
> Noticed today when accounting tried to run end of month
>
> that their date selection only went to 2017. Edited file:
> >/var/www/html/freeside/elements/tr-select-from_to.html
>
> and changed the 2017 to 2020 and all appears to be working.
Hello Larry and the Group,
In tr-select-from_to.html there is a variable being set to the current year
but for some reason this is not being used as the end_year part of the hash.
I made the following change to the file and it is now showing the correct end
year without having to edit it every so often to extend the year drop down
box:
my %hash = (
'show_month_abbr' => 1,
'start_year' => '1999',
# 'end_year' => '2017',
'end_year' => $eyear,
@_,
);
I am by no means a coder and don't wish to try and submit this via git so if
someone wants to do that so it can go through the proper code review and
potentially make this a more permanent change please do so.
Cheers,
--
Nathan Kennedy
Nathan Kennedy Enterprises
https://www.nkent.us/
(360) 637-1090
More information about the freeside-users
mailing list