Merge branch 'dillon/90-e-invoice-e' into vapor/development

This commit is contained in:
Dillon Ngo
2025-11-27 11:38:32 +08:00
@@ -72,7 +72,7 @@ class ExportsSalesInvoiceReport implements FromQuery, WithHeadings, WithHeadingR
'transactions.voucherRedemption',
'transactions.voucherRedemption.voucher.campaign'
])
->whereIn('status', [ApprovalStatus::APPROVED, ApprovalStatus::COMPLETED])
->whereIn('status', [ApprovalStatus::COMPLETED])
->whereHas('transactions', function ($query) use ($startDate, $endDate) {
$query->payments()
->complete()