2
0
mirror of https://github.com/frappe/books.git synced 2024-09-20 03:29:00 +00:00

fix purchase invoice incorrect to and from in minimal template

This commit is contained in:
Piyush Singhania 2021-09-11 20:19:28 +05:30 committed by 18alantom
parent 09594101ef
commit 655c1a0893

View File

@ -42,7 +42,7 @@
<div
class="uppercase text-sm font-semibold tracking-widest text-gray-800"
>
To
{{ doc.doctype === 'SalesInvoice' ? 'To' : 'From' }}
</div>
<div class="mt-4 text-black leading-relaxed text-lg">
{{ party.name }} <br />
@ -59,7 +59,7 @@
<div
class="uppercase text-sm font-semibold tracking-widest text-gray-800 ml-8"
>
From
{{ doc.doctype === 'SalesInvoice' ? 'From' : 'To' }}
</div>
<div class="mt-4 ml-8 text-black leading-relaxed text-lg">
{{ companyAddress.addressDisplay }}