{{$t('title')}}
+{{$t('date')}} {{dated()}}
+Id | +{{$t('concept')}} | +{{$t('quantity')}} | +
---|---|---|
{{sale.id}} | +{{sale.concept}} | +{{sale.quantity}} | +
diff --git a/print/report/sample-report/assets/css/index.js b/print/report/sample-report/assets/css/index.js new file mode 100644 index 000000000..d40ab4984 --- /dev/null +++ b/print/report/sample-report/assets/css/index.js @@ -0,0 +1,7 @@ +const CssReader = require(`${appPath}/lib/cssReader`); + +module.exports = new CssReader([ + `${appPath}/common/css/layout.css`, + `${appPath}/common/css/misc.css`, + `${__dirname}/style.css`]) + .mergeStyles(); diff --git a/print/report/sample-report/assets/css/style.css b/print/report/sample-report/assets/css/style.css new file mode 100644 index 000000000..e621f3e23 --- /dev/null +++ b/print/report/sample-report/assets/css/style.css @@ -0,0 +1,3 @@ +table.column-oriented { + margin-top: 50px !important +} \ No newline at end of file diff --git a/print/report/sample-report/index.html b/print/report/sample-report/index.html new file mode 100644 index 000000000..f77ef0014 --- /dev/null +++ b/print/report/sample-report/index.html @@ -0,0 +1,35 @@ + + +
+{{$t('date')}} {{dated()}}
+Id | +{{$t('concept')}} | +{{$t('quantity')}} | +
---|---|---|
{{sale.id}} | +{{sale.concept}} | +{{sale.quantity}} | +