소스 검색

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();
     }