summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views
diff options
context:
space:
mode:
authorIT Fixcomart <it@fixcomart.co.id>2023-07-17 06:31:25 +0000
committerIT Fixcomart <it@fixcomart.co.id>2023-07-17 06:31:25 +0000
commit1dfb8f66a78e78de743772c649a5805fe54ec86e (patch)
tree1927e764720b96585cd005793216bd98f982289c /indoteknik_custom/views
parent884524fc6d8edebb0a4cbcb03c3038bdb46b45c5 (diff)
parentd5319d565a4b40cc6fe5b7fa8f9abc507f09e752 (diff)
Merged in feature/voucher (pull request #55)
Add amount voucher on sale order and update api
Diffstat (limited to 'indoteknik_custom/views')
-rwxr-xr-xindoteknik_custom/views/sale_order.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/indoteknik_custom/views/sale_order.xml b/indoteknik_custom/views/sale_order.xml
index b55fefff..7679f92d 100755
--- a/indoteknik_custom/views/sale_order.xml
+++ b/indoteknik_custom/views/sale_order.xml
@@ -71,12 +71,18 @@
<field name="item_percent_margin"/>
<field name="note_procurement" optional="hide"/>
<field name="vendor_subtotal" optional="hide"/>
+ <field name="amount_voucher_disc" string="Voucher" optional="hide"/>
</xpath>
<xpath expr="//form/sheet/notebook/page/field[@name='order_line']/tree/field[@name='product_id']" position="before">
<field name="line_no" readonly="1" optional="hide"/>
</xpath>
<field name="amount_total" position="after">
<field name="grand_total"/>
+ <label for="amount_voucher_disc" string="Voucher" />
+ <div>
+ <field class="mb-0" name="amount_voucher_disc" string="Voucher"/>
+ <div class="text-right mb-2"><small>*Hanya informasi</small></div>
+ </div>
<field name="total_margin"/>
<field name="total_percent_margin"/>
</field>