2
0
mirror of https://github.com/frappe/books.git synced 2025-01-22 22:58:28 +00:00

add gst details to all templates

This commit is contained in:
Ankit Singhaniya 2021-08-18 12:30:09 +05:30 committed by 18alantom
parent 7033683465
commit aefd70b5e3
2 changed files with 19 additions and 6 deletions

View File

@ -23,7 +23,10 @@
<div class="text-sm text-gray-800" v-if="companyAddress">
{{ companyAddress.addressDisplay }}
</div>
<div class="text-sm text-gray-800" v-if="printSettings && printSettings.gstin">
<div
class="text-sm text-gray-800"
v-if="printSettings && printSettings.gstin"
>
GSTIN: {{ printSettings.gstin }}
</div>
</div>
@ -53,9 +56,7 @@
<div>
{{ party.addressDisplay }}
</div>
<div v-if="party && party.gstin">
GSTIN: {{ party.gstin }}
</div>
<div v-if="party && party.gstin">GSTIN: {{ party.gstin }}</div>
</div>
</div>
</div>

View File

@ -48,16 +48,28 @@
{{ party.name }} <br />
{{ party.addressDisplay }}
</div>
<div
class="mt-4 text-black leading-relaxed text-lg"
v-if="party && party.gstin"
>
GSTIN: {{ party.gstin }}
</div>
</div>
<div class="w-1/2" v-if="companyAddress">
<div
class="uppercase text-sm font-semibold tracking-widest text-gray-800"
class="uppercase text-sm font-semibold tracking-widest text-gray-800 ml-8"
>
From
</div>
<div class="mt-4 text-black leading-relaxed text-lg">
<div class="mt-4 ml-8 text-black leading-relaxed text-lg">
{{ companyAddress.addressDisplay }}
</div>
<div
class="mt-4 ml-8 text-black leading-relaxed text-lg"
v-if="printSettings && printSettings.gstin"
>
GSTIN: {{ printSettings.gstin }}
</div>
</div>
</div>
<div class="px-12 py-10 border-b">