mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-30 09:53:58 +00:00
credit note
This commit is contained in:
@@ -45,12 +45,9 @@ class GenerateCreditNotePdfLogic
|
||||
{
|
||||
$transaction = $this->fetchesTransaction->execute(['id' => $request->route('id')]);
|
||||
|
||||
$booking = $transaction->booking;
|
||||
dd($transaction);
|
||||
|
||||
// $purchaseOrder = $transaction->owner()->transactions()
|
||||
// ->where('type', TransactionType::PURCHASE_ORDER)
|
||||
// ->complete()
|
||||
// ->first();
|
||||
$booking = $transaction->booking;
|
||||
|
||||
$supplier = $this->fetchesCompany->execute(['id' => $transaction->receiver]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user