mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-09-01 10:54:00 +00:00
update refund component
This commit is contained in:
@@ -33,7 +33,6 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- {{data}} -->
|
||||
<div class="row m-r-0 m-b-10">
|
||||
<div class="col p-r-0">
|
||||
<validation-wrapper-component :validator="$v.parameters.refundAmount">
|
||||
|
||||
+1
-6
@@ -74,12 +74,7 @@
|
||||
},
|
||||
methods: {
|
||||
submitForm(){
|
||||
if (this.defaultCharge == null) {
|
||||
this.submit(this.route('api.segment_constant.create'), 'post', this.section, true, true);
|
||||
}
|
||||
else {
|
||||
this.submit(this.route('api.segment_constant.update', this.service_charges.id), 'post', this.section, true, true);
|
||||
}
|
||||
this.submit(this.defaultCharge ? this.route('api.segment_constant.update', this.service_charges.id) : this.route('api.segment_constant.create'), 'post', this.section, true, true);
|
||||
},
|
||||
},
|
||||
mixins: [ModalFormHandler]
|
||||
|
||||
Reference in New Issue
Block a user