diff --git a/resources/views/invoices/pdf.blade.php b/resources/views/invoices/pdf.blade.php index 654349766dad..d2e8648b53f7 100644 --- a/resources/views/invoices/pdf.blade.php +++ b/resources/views/invoices/pdf.blade.php @@ -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) {