WIP Integrazioni delle ultime modifiche. #4

Merged
fbarachino merged 50 commits from dev into main 2025-10-21 14:31:06 +00:00
Showing only changes of commit f59f05f88b - Show all commits

View File

@ -399,7 +399,7 @@ public function ContoA()
// Ritorna gli anni presenti nei movimenti
public static function getYearsFromMovimenti()
{
if (env('DB_CONNECTION')=='mysql') {
if (!env('DB_CONNECTION')=='sqlite') {
return self::selectRaw('DISTINCT YEAR(mov_data) as anno')
->orderBy('anno', 'desc')
->get();