1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-19 16:01:34 +02:00

Update pdfmake

This commit is contained in:
Hillel Coren 2018-03-09 14:57:36 +02:00
parent 4e6e3feee5
commit 61d70b09e8
7 changed files with 50490 additions and 32 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,14 @@ function GetPdfMake(invoice, javascript, callback) {
dd.pageSize = invoice.account.page_size;
if (invoice.watermark) {
/*
dd.watermark = {
text: invoice.watermark,
color: 'black',
opacity: 0.04,
};
*/
dd.watermark = invoice.watermark;
}
pdfMake.fonts = {}