2
0
mirror of https://github.com/frappe/books.git synced 2024-11-09 23:30:56 +00:00

add ability to show account gstin in the basic template

This commit is contained in:
Ankit Singhaniya 2021-08-18 12:20:07 +05:30 committed by 18alantom
parent d32c1de82b
commit 7d07bd17b4

View File

@ -20,6 +20,7 @@
</div>
<div class="w-1/3">
<div v-if="address">{{ address.addressDisplay }}</div>
<div>GSTIN: {{ gstin }}</div>
</div>
</div>
</div>
@ -132,6 +133,9 @@ export default {
address() {
return this.printSettings && this.printSettings.getLink('address');
},
gstin() {
return this.printSettings && this.printSettings.gstin;
},
partyDoc() {
return this.doc.getLink(this.partyField.fieldname);
},