mirror of
https://github.com/frappe/books.git
synced 2026-08-24 02:24:17 -05:00
fix: add uom and quantity in print
This commit is contained in:
@@ -83,7 +83,13 @@
|
||||
<div class="w-2/12 text-right py-4" v-if="doc.showHSN">
|
||||
{{ row.hsnCode }}
|
||||
</div>
|
||||
<div class="w-1/12 text-right py-4">{{ row.quantity }}</div>
|
||||
<div class="w-1/12 text-right py-4">
|
||||
<div>{{ row.quantity }}</div>
|
||||
<div v-if="row.transferUnit">
|
||||
({{row.transferQuantity}} of {{ row.transferUnit }})
|
||||
</div>
|
||||
<div v-else-if="row.unit">({{row.quantity}} of {{ row.unit }})</div>
|
||||
</div>
|
||||
<div class="w-3/12 text-right py-4">{{ row.rate }}</div>
|
||||
<div class="w-3/12 text-right py-4">{{ row.amount }}</div>
|
||||
</section>
|
||||
|
||||
@@ -56,7 +56,13 @@
|
||||
>
|
||||
<div class="w-4 py-1">{{ index + 1 }}</div>
|
||||
<div class="w-2/5 py-1">{{ row.item }}</div>
|
||||
<div class="w-1/12 py-1 text-left">{{ row.quantity }}</div>
|
||||
<div class="w-1/12 py-1 text-left">
|
||||
<div>{{ row.quantity }}</div>
|
||||
<div v-if="row.transferUnit">
|
||||
({{row.transferQuantity}} of {{ row.transferUnit }})
|
||||
</div>
|
||||
<div v-else-if="row.unit">({{row.quantity}} of {{ row.unit }})</div>
|
||||
</div>
|
||||
<div class="w-3/12 text-right py-1">{{ row.rate }}</div>
|
||||
<div class="w-3/12 text-right py-1">{{ row.amount }}</div>
|
||||
</section>
|
||||
|
||||
@@ -81,7 +81,13 @@
|
||||
{{ row.hsnCode }}
|
||||
</div>
|
||||
<div class="w-1/4 text-right py-1">{{ row.location }}</div>
|
||||
<div class="w-1/4 text-right py-1">{{ row.quantity }}</div>
|
||||
<div class="w-1/4 text-right py-1">
|
||||
<div>{{ row.quantity }}</div>
|
||||
<div v-if="row.transferUnit">
|
||||
({{row.transferQuantity}} of {{ row.transferUnit }})
|
||||
</div>
|
||||
<div v-else-if="row.unit">({{row.quantity}} of {{ row.unit }})</div>
|
||||
</div>
|
||||
<div class="w-3/12 text-right py-1">{{ row.rate }}</div>
|
||||
<div class="w-3/12 text-right py-1">{{ row.amount }}</div>
|
||||
</section>
|
||||
|
||||
@@ -77,7 +77,13 @@
|
||||
<div class="w-4/12">{{ row.item }}</div>
|
||||
<div class="w-4/12" v-if="doc.description">{{ row.description }}</div>
|
||||
<div class="w-2/12 text-right" v-if="doc.showHSN">{{ row.hsnCode }}</div>
|
||||
<div class="w-2/12 text-right">{{ row.quantity }}</div>
|
||||
<div class="w-2/12 text-right">
|
||||
<div>{{ row.quantity }}</div>
|
||||
<div v-if="row.transferUnit">
|
||||
({{row.transferQuantity}} of {{ row.transferUnit }})
|
||||
</div>
|
||||
<div v-else-if="row.unit">({{row.quantity}} of {{ row.unit }})</div>
|
||||
</div>
|
||||
<div class="w-3/12 text-right">{{ row.rate }}</div>
|
||||
<div class="w-3/12 text-right">{{ row.amount }}</div>
|
||||
</section>
|
||||
|
||||
@@ -115,7 +115,13 @@
|
||||
{{ row.description }}
|
||||
</div>
|
||||
<div class="w-2/12 text-right" v-if="doc.showHSN">{{ row.hsnCode }}</div>
|
||||
<div class="w-2/12 text-right">{{ row.quantity }}</div>
|
||||
<div class="w-2/12 text-right">
|
||||
<div>{{ row.quantity }}</div>
|
||||
<div v-if="row.transferUnit">
|
||||
({{row.transferQuantity}} of {{ row.transferUnit }})
|
||||
</div>
|
||||
<div v-else-if="row.unit">({{row.quantity}} of {{ row.unit }})</div>
|
||||
</div>
|
||||
<div class="w-3/12 text-right">{{ row.rate }}</div>
|
||||
<div class="w-3/12 text-right">{{ row.amount }}</div>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user