mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/portal.git
synced 2026-08-19 04:23:59 +00:00
billing fix up
This commit is contained in:
@@ -99,7 +99,7 @@ class CallbackBillplzLogic
|
||||
$request->headers->set('Authorization', 'Bearer '.$token);
|
||||
|
||||
$this->updatesTransactionStatus->execute($transaction, ApprovalStatus::APPROVED);
|
||||
dd($transaction->amount >= $invoice->amount);
|
||||
dd($transaction->amount.' '.$invoice->amount);
|
||||
|
||||
if($transaction->amount >= $invoice->amount) {
|
||||
$packingList->update(['status' => ApprovalStatus::APPROVED])->save();
|
||||
|
||||
@@ -91,9 +91,6 @@
|
||||
error: '',
|
||||
}
|
||||
},
|
||||
create(){
|
||||
this.parameters.amount = (this.data.outstanding - this.parameters.amount) === 0 ? this.parameters.amount : this.parameters.amount + 0.01
|
||||
},
|
||||
validations: {
|
||||
parameters : {
|
||||
amount: { required },
|
||||
|
||||
Reference in New Issue
Block a user