Merge branch 'dillon/90-e-invoice-f' into vapor/production

This commit is contained in:
Dillon Ngo
2025-08-05 18:57:25 +08:00
@@ -115,9 +115,9 @@ class ExportsSalesInvoiceReport implements FromQuery, WithHeadings, WithHeadingR
}
$documentDate = $lastPaymentTransaction->created_at;
if(Carbon::parse($booking->updated_at)->isAfter($lastPaymentTransaction->created_at)){
$documentDate = $booking->updated_at;
}
// if(Carbon::parse($booking->updated_at)->isAfter($lastPaymentTransaction->created_at)){ //cief todo: 90 - Report E-Invoice date incorrect
// $documentDate = $booking->updated_at;
// }
$formattedDocumentDate = Carbon::parse($documentDate)->format('m/d/Y');
$firstItem = true;