Răsfoiți Sursa

feat: ordem de contratos

ebagabee 1 lună în urmă
părinte
comite
fd9d87744a
1 a modificat fișierele cu 1 adăugiri și 0 ștergeri
  1. 1 0
      app/Services/FranchiseeContractService.php

+ 1 - 0
app/Services/FranchiseeContractService.php

@@ -100,6 +100,7 @@ public function getTaxHistory(int $id): Collection
         return FranchiseeContractTaxHistory::with('inhabitantClassification')
             ->where('franchisee_contract_id', $id)
             ->orderBy('created_at', 'desc')
+            ->orderBy('id', 'desc')
             ->get();
     }