update rm deadcode
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user