mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -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.fontSize = {{ $account->font_size }};
|
||||||
NINJA.headerFont = {!! json_encode($account->getHeaderFontName()) !!};
|
NINJA.headerFont = {!! json_encode($account->getHeaderFontName()) !!};
|
||||||
NINJA.bodyFont = {!! json_encode($account->getBodyFontName()) !!};
|
NINJA.bodyFont = {!! json_encode($account->getBodyFontName()) !!};
|
||||||
|
@else
|
||||||
|
NINJA.primaryColor = "";
|
||||||
|
NINJA.secondaryColor = "";
|
||||||
|
NINJA.fontSize = 9;
|
||||||
|
NINJA.headerFont = "Roboto";
|
||||||
|
NINJA.bodyFont = "Roboto";
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
var invoiceLabels = {!! json_encode($account->getInvoiceLabels()) !!};
|
var invoiceLabels = {!! json_encode($account->getInvoiceLabels()) !!};
|
||||||
|
|
||||||
if (window.invoice) {
|
if (window.invoice) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user