Fix for PDF on iOS Safari

This commit is contained in:
Hillel Coren 2016-03-06 23:25:00 +02:00
parent e1f9ec1571
commit 3e26f97e8b

View File

@ -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) {