Update pdfmake

This commit is contained in:
Hillel Coren 2018-03-09 14:58:51 +02:00
parent 70ee8bcc84
commit 80168c275b
7 changed files with 50511 additions and 54 deletions

View File

@ -100,7 +100,8 @@ elixir(function(mix) {
mix.scripts([
'pdf_viewer.js',
'compatibility.js',
bowerDir + '/pdfmake/build/pdfmake.js',
//bowerDir + '/pdfmake/build/pdfmake.js',
'pdfmake.js',
'vfs.js'
], 'public/pdf.built.js');

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

50468
public/js/pdfmake.js Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -158,11 +158,13 @@ function GetPdfMake(invoice, javascript, callback) {
dd.pageSize = invoice.account.page_size;
if (invoice.watermark) {
/*
dd.watermark = {
text: invoice.watermark,
color: 'black',
opacity: 0.04,
};
*/
}
pdfMake.fonts = {}