diff --git a/fixtures/printTemplates/Basic.template.html b/fixtures/printTemplates/Basic.template.html new file mode 100644 index 00000000..d36c76a8 --- /dev/null +++ b/fixtures/printTemplates/Basic.template.html @@ -0,0 +1,146 @@ +
+ +
+ +
+ +
+ {{ print.companyName }} +
+
+ + +
+
{{ print.email }}
+
{{ print.phone }}
+
+ + +
+
{{ print.links.address.addressDisplay }}
+
GSTIN: {{ print.gstin }}
+
+
+ + +
+ +
+

{{ doc.name }}

+

{{ doc.date }}

+
+ + +
+

{{ doc.party }}

+

+ {{ doc.links.party.links.address.addressDisplay }} +

+

+ GSTIN: {{ doc.partyGSTIN }} +

+
+
+ + +
+ +
+
Item
+
HSN/SAC
+
Quantity
+
Rate
+
Amount
+
+ + +
+
{{ row.item }}
+
+ {{ row.hsnCode }} +
+
{{ row.quantity }}
+
{{ row.rate }}
+
{{ row.amount }}
+
+
+ + + +
diff --git a/fixtures/printTemplates/Business.template.html b/fixtures/printTemplates/Business.template.html new file mode 100644 index 00000000..ffbf2329 --- /dev/null +++ b/fixtures/printTemplates/Business.template.html @@ -0,0 +1,130 @@ +
+ +
+ +
+ + +
+

+ {{ print.companyName }} +

+

+ {{ print.links.address.addressDisplay }} +

+

+ GSTIN: {{ print.gstin }} +

+
+
+ + +
+ +
+

+ {{ doc.entryType === 'SalesInvoice' ? 'Invoice' : 'Bill' }} +

+
+

{{ doc.name }}

+

{{ doc.date }}

+
+
+ + +
+

+ {{ doc.entryType === 'SalesInvoice' ? 'Customer' : 'Supplier' }} +

+ +
+

{{ doc.party }}

+

+ {{ doc.links.party.links.address.addressDisplay }} +

+

GSTIN: {{ doc.links.party.gstin }}

+
+
+
+
+ + +
+ +
+
Item
+
HSN/SAC
+
Quantity
+
Rate
+
Amount
+
+ + +
+
{{ row.item }}
+
{{ row.hsnCode }}
+
{{ row.quantity }}
+
{{ row.rate }}
+
{{ row.amount }}
+
+
+ + + +
diff --git a/fixtures/printTemplates/Minimal.template.html b/fixtures/printTemplates/Minimal.template.html index e06f60e1..8806e775 100644 --- a/fixtures/printTemplates/Minimal.template.html +++ b/fixtures/printTemplates/Minimal.template.html @@ -1,11 +1,11 @@ -
+
@@ -18,7 +18,7 @@
-
+

{{ doc.entryType }}

@@ -57,23 +57,23 @@ font-semibold tracking-widest text-gray-800 - ms-8 + ml-8 " > {{ doc.entryType === 'SalesInvoice' ? 'From' : 'To' }} -

+

{{ print.companyName }}

{{ print.links.address.addressDisplay }}

GSTIN: {{ print.gstin }}

@@ -94,24 +94,24 @@ text-gray-800 " > -
Item
-
HSN/SAC
-
Quantity
-
Rate
-
Amount
+
Item
+
HSN/SAC
+
Quantity
+
Rate
+
Amount
-
{{ row.item }}
-
{{ row.hsnCode }}
-
{{ row.quantity }}
-
{{ row.rate }}
-
{{ row.amount }}
+
{{ row.item }}
+
{{ row.hsnCode }}
+
{{ row.quantity }}
+
{{ row.rate }}
+
{{ row.amount }}
- +