hide payment button for floating amount

This commit is contained in:
Omair Saleh
2022-09-30 16:20:54 +08:00
parent 2bd30492c5
commit 975e3d49e7
2 changed files with 4 additions and 4 deletions
@@ -15,7 +15,7 @@
<div class="btn btn-sm btn-success btn-block b-rad-none" data-dismiss="modal">Cancel</div>
</div>
<div class="col p-l-5">
<div class="btn btn-sm btn-danger btn-block b-rad-none" @click="submit(route('api.transaction.suspend', item.id), 'delete', section, true, true)">Delete</div>
<div class="btn btn-sm btn-danger btn-block b-rad-none" @click="submit(route('api.transaction.suspend', item.id), 'delete', 'orderProfileSection', true, true)">Delete</div>
</div>
</div>
</div>
@@ -30,4 +30,4 @@
mixins: [componentHandler, ModalFormHandler]
}
</script>
</script>
@@ -99,7 +99,7 @@
methods:{
submitForm(){
this.parameters.payment_method = this.paymentMethod.id === 'payment_gateway' ? 5 : '';
this.submit(this.route('api.transaction.payment.create'), 'post', this.section, true, true);
this.submit(this.route('api.transaction.payment.create'), 'post', 'orderProfileSection', true, true);
},
updatePaymentType(payment){
this.paymentMethod = {
@@ -120,4 +120,4 @@
mixins: [formHandler]
}
</script>
</script>