2
0
mirror of https://github.com/frappe/books.git synced 2024-12-23 03:19:01 +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>
<div class="w-1/3"> <div class="w-1/3">
<div v-if="address">{{ address.addressDisplay }}</div> <div v-if="address">{{ address.addressDisplay }}</div>
<div>GSTIN: {{ gstin }}</div>
</div> </div>
</div> </div>
</div> </div>
@ -132,6 +133,9 @@ export default {
address() { address() {
return this.printSettings && this.printSettings.getLink('address'); return this.printSettings && this.printSettings.getLink('address');
}, },
gstin() {
return this.printSettings && this.printSettings.gstin;
},
partyDoc() { partyDoc() {
return this.doc.getLink(this.partyField.fieldname); return this.doc.getLink(this.partyField.fieldname);
}, },