added pdf template and other invoice improvements (#1693)

This commit is contained in:
Kevin Papst
2020-05-10 16:19:59 +02:00
committed by GitHub
parent 4e1ffedc20
commit e3749c8e8f
45 changed files with 561 additions and 89 deletions

View File

@@ -11,6 +11,7 @@ Encore
.addEntry('app', './assets/app.js')
.addEntry('invoice', './assets/invoice.js')
.addEntry('invoice-pdf', './assets/invoice-pdf.js')
.addEntry('chart', './assets/chart.js')
.addEntry('calendar', './assets/calendar.js')
.copyFiles({ from: './assets/images', to: 'images/[path][name].[ext]' })
@@ -26,7 +27,7 @@ Encore
.enableSassLoader()
.autoProvidejQuery()
// prevent that moment locales will be included which we don't need
// prevent that unused moment locales will be included
.addPlugin(new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/))
.configureBabel(null, {