mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 04:23:55 +00:00
update purchase order form component - add button for regenerate performa invoice
This commit is contained in:
@@ -122,6 +122,7 @@
|
||||
<div class="row" v-if="submitted && data.status !== 3">
|
||||
<div class="col-12 col-md-7">
|
||||
<button class="btn btn-xs btn-success b-rad-none" v-if="$store.getters.isAdmin && data.purchase_order.status === 1" @click="submit(route('api.booking.po.approval', data.id), 'post', section, true, true)">Approve Purchase Order</button>
|
||||
<button class="btn btn-xs btn-warning b-rad-none" v-if="data.documents.proforma_invoice" @click="submit(route('api.booking.proforma.create', data.id), 'post', section, true, true)">Regenerate Proforma Invoice</button>
|
||||
<div class="row">
|
||||
<div class="col-12 col-lg-6">
|
||||
<document-file-viewer-component :file="data.documents.proforma_invoice.files[0]" v-if="data.documents.proforma_invoice">
|
||||
|
||||
Reference in New Issue
Block a user