mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/shipping-portal.git
synced 2026-08-19 04:24:12 +00:00
cleanup
This commit is contained in:
@@ -1234,9 +1234,7 @@ Route::get('fix-payment-status-updated-but-failed-update-invoice', function (Upd
|
|||||||
|
|
||||||
if (($invoice->amount - $totalPaidAmount) < 0.01) {
|
if (($invoice->amount - $totalPaidAmount) < 0.01) {
|
||||||
$updatesTransactionStatus->execute($invoice, ApprovalStatus::COMPLETED);
|
$updatesTransactionStatus->execute($invoice, ApprovalStatus::COMPLETED);
|
||||||
|
|
||||||
$packingList = $invoice->owner;
|
$packingList = $invoice->owner;
|
||||||
|
|
||||||
$packingList->status = ApprovalStatus::APPROVED;
|
$packingList->status = ApprovalStatus::APPROVED;
|
||||||
$packingList->save();
|
$packingList->save();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user