Browse Source

feat: ordem de contratos

ebagabee 1 tháng trước cách đây
mục cha
commit
fd9d87744a
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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();
     }