mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-08 23:24:28 -04:00
Fix for PDF on iOS Safari
This commit is contained in:
parent
e1f9ec1571
commit
3e26f97e8b
@ -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…
x
Reference in New Issue
Block a user