Change the ordering Gross Monthly Savings.

This commit is contained in:
Djonathan 2022-06-24 15:46:57 -03:00
parent fe5de7c4bb
commit 2428bd0284

View File

@ -65,8 +65,8 @@ class EconomyRepository extends AbstractRepository implements EconomyContractInt
">=",
DB::raw("TO_DATE(TO_CHAR(current_date , 'YYYY-01-01'), 'YYYY-MM-DD') - interval '1' year"))
->groupBy(['mes', 'dad_estimado'])
->orderBy('mes')
->orderBy('dad_estimado')
->orderBy('mes', 'desc')
->orderBy('dad_estimado', 'desc')
->get();
}