mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-21 13:33:57 +00:00
Merge branch 'dillon/90-e-invoice-e-1' into vapor/development
This commit is contained in:
@@ -14,6 +14,7 @@ use Maatwebsite\Excel\Concerns\WithMapping;
|
||||
use App\Classes\Modules\Bookings\Services\CalculatesBookingRefundAmount;
|
||||
use App\Classes\Modules\Bookings\Services\CalculatesBookingRefundServiceCharge;
|
||||
use Carbon\Carbon;
|
||||
use Illuminate\Support\Facades\Log;
|
||||
|
||||
class ExportsSalesInvoiceReport implements FromQuery, WithHeadings, WithHeadingRow, WithMapping, ShouldAutoSize
|
||||
{
|
||||
@@ -88,7 +89,7 @@ class ExportsSalesInvoiceReport implements FromQuery, WithHeadings, WithHeadingR
|
||||
$currencyId = 0;
|
||||
|
||||
$purchaseOrder = $booking->transactions->where('type', TransactionType::PURCHASE_ORDER)->first();
|
||||
$company = $booking->company->first();
|
||||
$company = $booking->company;
|
||||
|
||||
|
||||
$lastPaymentTransaction = $booking->transactions
|
||||
|
||||
Reference in New Issue
Block a user