mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 04:23:55 +00:00
clean up wallet
This commit is contained in:
@@ -455,7 +455,7 @@
|
||||
</div>
|
||||
<div class="row" v-if="paymentMethod.id === 'wallet'">
|
||||
<div class="col">
|
||||
<div class="row m-b-10 m-l-0 m-r-0" v-if="data.company.wallet.amount < (Math.round((calculation.total + Number.EPSILON) * 100) / 100).toFixed(2)">
|
||||
<div class="row m-b-10 m-l-0 m-r-0" v-if="data.company.wallet ? data.company.wallet.amount : 0 < (Math.round((calculation.total + Number.EPSILON) * 100) / 100).toFixed(2)">
|
||||
<div class="col bg-danger-lighter">
|
||||
<h6 class="text-danger fs-14 m-b-0">You don't have sufficient credit in your wallet to complete this transaction. Please Reload your wallet.</h6>
|
||||
<p class="text-complete fs-12 text-underline pointer" @click="calculation = ''">change the payment method?</p>
|
||||
@@ -545,7 +545,7 @@
|
||||
payment_method: this.paymentMethod.id,
|
||||
amount: this.amount
|
||||
};
|
||||
|
||||
|
||||
this.submit(route('api.booking.payment.quotation', this.item.id), 'post', this.section, false, false)
|
||||
this.calculation = null;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user