mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 04:23:55 +00:00
E-Invoice - Temporary workaround to hide E-Credit Note from user view
This commit is contained in:
@@ -415,7 +415,8 @@
|
||||
<div class="col-2" v-if="showDownloadCreditNote && refund.status === 2">
|
||||
<div class="row no-margin justify-content-end">
|
||||
<div class="font-heading all-caps fs-10 m-b-5 text-right">Credit Note</div>
|
||||
<a target=”_blank” @click="downloadCreditNote(refund.id)">
|
||||
<!-- cief todo: 90 - E Credit Note incomplete-->
|
||||
<a target=”_blank” @click="downloadCreditNote(refund.id)" v-if="$store.getters.isSuperAdmin">
|
||||
<div class="icon-thumbnail fs-11 text-white icon-25 bg-primary btn-rounded float-left m-r-0 pointer">
|
||||
<i class="fa fa-file-image-o fs-10"></i>
|
||||
</div>
|
||||
@@ -510,8 +511,9 @@
|
||||
totalRequestedConvertRefund() {
|
||||
let vm = this;
|
||||
var TotalRequestedRefund = 0;
|
||||
this.data.transaction_refunds.forEach(function(refunds) {
|
||||
TotalRequestedRefund += refunds.status === 1 ? refunds.amount : 0;
|
||||
this.data.transaction_refunds.forEach(function(refund) {
|
||||
console.log('refund: ' + JSON.stringify(refund));
|
||||
TotalRequestedRefund += refund.status === 1 ? refund.amount : 0;
|
||||
});
|
||||
// if (vm.data.booking.fixed_currency.id != 1 && this.data.transaction_refunds[0]) {
|
||||
// TotalRequestedRefund = (TotalRequestedRefund * this.data.transaction_refunds[0].currency_rate);
|
||||
|
||||
Reference in New Issue
Block a user