mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/shipping-portal.git
synced 2026-08-19 04:24:12 +00:00
New Warehouse Storage Fee
This commit is contained in:
@@ -127,15 +127,15 @@ class CreatePaymentTransactionProcessor
|
||||
|
||||
$this->updatesWalletBalance->execute($wallet, ($amount * -1));
|
||||
|
||||
$packingList = $invoice->owner;
|
||||
$order = $packingList->owner;
|
||||
$packingList->status = ApprovalStatus::APPROVED;
|
||||
$packingList->save();
|
||||
// $packingList = $invoice->owner;
|
||||
// $order = $packingList->owner;
|
||||
// $packingList->status = ApprovalStatus::APPROVED;
|
||||
// $packingList->save();
|
||||
|
||||
if(app()->environment('production')){
|
||||
$this->updateDoFromVTPortalProcessor->execute($packingList);
|
||||
$this->updateDoFromYDPortalProcessor->execute($packingList);
|
||||
}
|
||||
// if(app()->environment('production')){
|
||||
// $this->updateDoFromVTPortalProcessor->execute($packingList);
|
||||
// $this->updateDoFromYDPortalProcessor->execute($packingList);
|
||||
// }
|
||||
|
||||
// later use this variabke to create a approved payment transaction
|
||||
$approvalStatus = ApprovalStatus::APPROVED;
|
||||
|
||||
Reference in New Issue
Block a user