Przeglądaj źródła

feat: ordem de contratos

ebagabee 1 miesiąc temu
rodzic
commit
fd9d87744a
1 zmienionych plików z 1 dodań i 0 usunięć
  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();
     }