From f80d78c124bdf2d472065fdac79003b20c744882 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Mon, 11 Apr 2016 17:44:28 +0300 Subject: [PATCH] Moved attached images to the bottom of the invoice --- storage/templates/bold.js | 14 +++++++------- storage/templates/clean.js | 12 ++++++------ storage/templates/plain.js | 12 ++++++------ 3 files changed, 19 insertions(+), 19 deletions(-) diff --git a/storage/templates/bold.js b/storage/templates/bold.js index 93d716abd65c..69e9d55ddfab 100644 --- a/storage/templates/bold.js +++ b/storage/templates/bold.js @@ -51,12 +51,6 @@ "paddingBottom": "$amount:14" } }, - { - "stack": [ - "$invoiceDocuments" - ], - "style": "invoiceDocuments" - }, { "columns": [ { @@ -78,7 +72,13 @@ "paddingBottom": "$amount:4" } }] - } + }, + { + "stack": [ + "$invoiceDocuments" + ], + "style": "invoiceDocuments" + } ], "footer": [ diff --git a/storage/templates/clean.js b/storage/templates/clean.js index 153095bfc0ad..a154bb0f95dc 100644 --- a/storage/templates/clean.js +++ b/storage/templates/clean.js @@ -69,12 +69,6 @@ "paddingBottom": "$amount:14" } }, - { - "stack": [ - "$invoiceDocuments" - ], - "style": "invoiceDocuments" - }, { "columns": [ "$notesAndTerms", @@ -93,6 +87,12 @@ } } ] + }, + { + "stack": [ + "$invoiceDocuments" + ], + "style": "invoiceDocuments" } ], "defaultStyle": { diff --git a/storage/templates/plain.js b/storage/templates/plain.js index b64dc87e6623..916ace88189f 100644 --- a/storage/templates/plain.js +++ b/storage/templates/plain.js @@ -56,12 +56,6 @@ "paddingTop": "$amount:8", "paddingBottom": "$amount:8" } - }, - { - "stack": [ - "$invoiceDocuments" - ], - "style": "invoiceDocuments" }, { "columns": [ @@ -83,6 +77,12 @@ } } ] + }, + { + "stack": [ + "$invoiceDocuments" + ], + "style": "invoiceDocuments" } ], "footer": {