mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-09-19 16:01:34 +02:00
Update pdfmake
This commit is contained in:
parent
4e6e3feee5
commit
61d70b09e8
@ -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,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 = {}
|
||||
|
Loading…
Reference in New Issue
Block a user