Update pdfmake
This commit is contained in:
parent
70ee8bcc84
commit
80168c275b
7 changed files with 50511 additions and 54 deletions
|
|
@ -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
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
|
|
@ -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 = {}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue