mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 04:23:55 +00:00
don't show order complete status if booking still has active transactions
This commit is contained in:
+8
-3
@@ -399,9 +399,14 @@
|
||||
return this.$store.getters.isInCompleteQueue(this.section);
|
||||
},
|
||||
transactionsComplete() {
|
||||
return this.booking.payment_history.forEach(function(payment){
|
||||
return payment.status !== 2;
|
||||
})
|
||||
let complete = true;
|
||||
this.booking.payment_history.forEach(function(payment){
|
||||
if(payment.status === 2){
|
||||
complete = false
|
||||
}
|
||||
});
|
||||
|
||||
return complete;
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
|
||||
Reference in New Issue
Block a user