update rm deadcode

This commit is contained in:
baodev0
2026-09-27 11:42:40 +07:00
parent 82a71244ca
commit 3af59bd9c5
129 changed files with 5194 additions and 2698 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ class ExpiryMail implements ShouldQueue
'client_name' => $product->Customer->firstname . " " . $product->Customer->lastname,
'product_name' => $product->GetInvoiceItem()->GetItemProduct()->name,
'service_due_exp' => Carbon::parse($product->next_due_date)->format('d/m/Y'),
'service_remaining' => Carbon::now()->diffInDays(Carbon::parse($product->next_due_date),false) + 1
'service_remaining' => (int) Carbon::now()->diffInDays(Carbon::parse($product->next_due_date), false) + 1
];
try {