mirror of
https://github.com/frappe/books.git
synced 2026-08-24 02:24:17 -05:00
fix: add translation support in print templates
This commit is contained in:
@@ -72,7 +72,7 @@
|
||||
</section>
|
||||
|
||||
<section class="w-1/2 px-12 pb-6 text-lg" v-if="doc.taxes.length">
|
||||
<p class="flex justify-center font-semibold text-lg mt-2">Tax Summary</p>
|
||||
<p class="flex justify-center font-semibold text-lg mt-2">{{t`Tax Summary`}}</p>
|
||||
|
||||
<div
|
||||
class="flex justify-between pl-5 text-base"
|
||||
@@ -84,7 +84,7 @@
|
||||
</div>
|
||||
|
||||
<div class="flex justify-between pl-5 text-base">
|
||||
<p>Total Ex.Vat</p>
|
||||
<p>{{t`Total Ex.Tax`}}</p>
|
||||
<p>{{doc.subTotal}}</p>
|
||||
</div>
|
||||
</section>
|
||||
@@ -116,7 +116,7 @@
|
||||
|
||||
<!-- Invoice Terms -->
|
||||
<section class="mt-12" v-if="doc.terms">
|
||||
<h3 class="text-lg font-semibold">Notes</h3>
|
||||
<h3 class="text-lg font-semibold">{{t`Notes`}}/h3>
|
||||
|
||||
<p class="mt-4 text-lg whitespace-pre-line">{{ doc.terms }}</p>
|
||||
</section>
|
||||
|
||||
@@ -127,11 +127,11 @@
|
||||
|
||||
<!-- Invoice Terms -->
|
||||
<section class="mt-12" v-if="doc.terms">
|
||||
<h3 class="text-lg font-semibold">Notes</h3>
|
||||
<h3 class="text-lg font-semibold">{{t`Notes`}}</h3>
|
||||
<p class="mt-4 text-lg whitespace-pre-line">{{ doc.terms }}</p>
|
||||
</section>
|
||||
<div v-if="print.amountInWords" class="flex justify-end mt-10">
|
||||
<h3 class="text-lg font-semibold mr-2">Grand Total In Words:</h3>
|
||||
<h3 class="text-lg font-semibold mr-2">{{t`Grand Total In Words`}}:</h3>
|
||||
<p>{{doc.grandTotalInWords}}</p>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
Reference in New Issue
Block a user