Procházet zdrojové kódy

feat: ordem de contratos

ebagabee před 1 měsícem
rodič
revize
fd9d87744a
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  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')
         return FranchiseeContractTaxHistory::with('inhabitantClassification')
             ->where('franchisee_contract_id', $id)
             ->where('franchisee_contract_id', $id)
             ->orderBy('created_at', 'desc')
             ->orderBy('created_at', 'desc')
+            ->orderBy('id', 'desc')
             ->get();
             ->get();
     }
     }