Fix for PDF on iOS Safari
This commit is contained in:
parent
e1f9ec1571
commit
3e26f97e8b
1 changed files with 7 additions and 0 deletions
|
|
@ -90,7 +90,14 @@
|
|||
NINJA.fontSize = {{ $account->font_size }};
|
||||
NINJA.headerFont = {!! json_encode($account->getHeaderFontName()) !!};
|
||||
NINJA.bodyFont = {!! json_encode($account->getBodyFontName()) !!};
|
||||
@else
|
||||
NINJA.primaryColor = "";
|
||||
NINJA.secondaryColor = "";
|
||||
NINJA.fontSize = 9;
|
||||
NINJA.headerFont = "Roboto";
|
||||
NINJA.bodyFont = "Roboto";
|
||||
@endif
|
||||
|
||||
var invoiceLabels = {!! json_encode($account->getInvoiceLabels()) !!};
|
||||
|
||||
if (window.invoice) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue