ソースを参照

feat: ordem de contratos

ebagabee 1 ヶ月 前
コミット
fd9d87744a
1 ファイル変更1 行追加0 行削除
  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();
     }