Modification liste années fiscales pour tenir compte des exercices à cheval sur 2 années civiles.
FossilOrigin-Name: baa2224ae6a9e43681f95ce0bef1013a3fdfc9937b761106a18b672f58e40651
This commit is contained in:
parent
1d4fbe47a9
commit
b4cb86f5c5
@ -374,7 +374,10 @@ class Utils
|
||||
$rows = DB::getInstance()->get(
|
||||
"SELECT strftime('%Y', start_date) as annee
|
||||
FROM acc_years
|
||||
ORDER by start_date DESC"
|
||||
UNION
|
||||
SELECT strftime('%Y', end_date) as annee
|
||||
FROM acc_years
|
||||
ORDER by annee DESC"
|
||||
);
|
||||
$anneesFiscales = array();
|
||||
foreach ($rows as $row) {
|
||||
|
Loading…
Reference in New Issue
Block a user