From 7c24a34b6dca2f31d2ded9464d489f2066a80d66 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Sun, 12 Oct 2014 21:19:40 +0300 Subject: [PATCH] Working on invoice design page --- app/views/accounts/invoice_design.blade.php | 88 ++++++++++----------- app/views/invoices/pdf.blade.php | 4 +- 2 files changed, 46 insertions(+), 46 deletions(-) diff --git a/app/views/accounts/invoice_design.blade.php b/app/views/accounts/invoice_design.blade.php index 83b82a6a00bd..928680d2f572 100644 --- a/app/views/accounts/invoice_design.blade.php +++ b/app/views/accounts/invoice_design.blade.php @@ -11,6 +11,50 @@ @parent @include('accounts.nav_advanced') + + +
@@ -56,48 +100,4 @@
- - - - @stop \ No newline at end of file diff --git a/app/views/invoices/pdf.blade.php b/app/views/invoices/pdf.blade.php index e279cae6289f..1832a8739ff6 100644 --- a/app/views/invoices/pdf.blade.php +++ b/app/views/invoices/pdf.blade.php @@ -18,8 +18,8 @@ @if (file_exists($account->getLogoPath())) invoice.image = "{{ HTML::image_data($account->getLogoPath()) }}"; - invoice.imageWidth = {{ $invoice->client->account->getLogoWidth() }}; - invoice.imageHeight = {{ $invoice->client->account->getLogoHeight() }}; + invoice.imageWidth = {{ $account->getLogoWidth() }}; + invoice.imageHeight = {{ $account->getLogoHeight() }}; @endif var NINJA = NINJA || {};