diff --git a/print/templates/reports/invoice/assets/css/import.js b/print/templates/reports/invoice/assets/css/import.js new file mode 100644 index 000000000..fd8796c2b --- /dev/null +++ b/print/templates/reports/invoice/assets/css/import.js @@ -0,0 +1,9 @@ +const Stylesheet = require(`${appPath}/core/stylesheet`); + +module.exports = new Stylesheet([ + `${appPath}/common/css/spacing.css`, + `${appPath}/common/css/misc.css`, + `${appPath}/common/css/layout.css`, + `${appPath}/common/css/report.css`, + `${__dirname}/style.css`]) + .mergeStyles(); diff --git a/print/templates/reports/invoice/assets/css/style.css b/print/templates/reports/invoice/assets/css/style.css new file mode 100644 index 000000000..cbe894097 --- /dev/null +++ b/print/templates/reports/invoice/assets/css/style.css @@ -0,0 +1,40 @@ +#signature { + padding-right: 10px +} + +#signature img { + -webkit-filter: brightness(0%); + filter: brightness(0%); + margin-bottom: 10px; + max-width: 150px +} + +.description strong { + text-transform: uppercase; +} + +h2 { + font-weight: 100; + color: #555 +} + +.ticket-info { + font-size: 26px +} + +#phytosanitary { + padding-right: 10px +} + +#phytosanitary .flag img { + width: 100% +} + +#phytosanitary .flag .flag-text { + padding-left: 10px; + box-sizing: border-box; +} + +.phytosanitary-info { + margin-top: 10px +} \ No newline at end of file diff --git a/print/templates/reports/invoice/assets/images/europe.png b/print/templates/reports/invoice/assets/images/europe.png new file mode 100644 index 000000000..673be92ae Binary files /dev/null and b/print/templates/reports/invoice/assets/images/europe.png differ diff --git a/print/templates/reports/invoice/invoice.html b/print/templates/reports/invoice/invoice.html new file mode 100644 index 000000000..a1015c28c --- /dev/null +++ b/print/templates/reports/invoice/invoice.html @@ -0,0 +1,276 @@ + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{$t('title')}}+
+
+
+
+ {{$t('invoiceData')}}
+
+
+ {{client.socialName}}+
+ {{client.street}}
+
+
+ {{client.fi}}
+
+ {{$t('saleLines')}}+
+
+
+
+
+
+ {{$t('services')}}+
+
+
+
+
+
+ {{$t('packagings')}}+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ |
+