From 3e01786feb11fa43d7faf0a3247920162c1aeb0c Mon Sep 17 00:00:00 2001 From: Nafies Luthfi Date: Wed, 22 Nov 2017 12:45:32 +0800 Subject: [PATCH] Fix payment receipt content filled based on agency data --- resources/views/payments/pdf.blade.php | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/resources/views/payments/pdf.blade.php b/resources/views/payments/pdf.blade.php index 35b71ef..5cfd79c 100755 --- a/resources/views/payments/pdf.blade.php +++ b/resources/views/payments/pdf.blade.php @@ -22,20 +22,20 @@ - + @@ -72,8 +72,8 @@ {{ formatRp($payment->amount) }},-
- {{ Html::image(url('assets/imgs/logo.png'), '', ['style' => 'width: 100px;']) }} - {{ appLogoImage(['style' => 'width: 100px;']) }}
-

JasaWebsiteBanjarmasin.com

-
Jasa Pembuatan Website dan Aplikasi Berbasis Web
+

{{ Option::get('agency_name') }}

+
{{ Option::get('agency_tagline') }}
+ @if (Option::get('agency_address'))
- Jln. Pramuka, Gg. Mawar, Rt. 09, No. 60, Kel. Pemurus Luar
- Kec. Banjarmasin Timur, Kota Banjarmasin, - Kalsel - 70249,
- @lang('contact.phone_abb') 0817 532 654 / 0823 5035 5470 + {{ Option::get('agency_address') }}
+ @if (Option::get('agency_phone')) + @lang('contact.phone_abb') {{ Option::get('agency_phone') }} + @endif
+ @endif
@@ -63,7 +63,7 @@     - Banjarmasin, {{ dateId($payment->date) }} + {{ Option::get('agency_city') ? Option::get('agency_city').', ' : '' }} {{ dateId($payment->date) }}
- {{ auth()->user()->name }}, S. Kom.
- JasaWebsiteBanjarmasin.com + {{ auth()->user()->name }}
+ {{ Option::get('agency_name') }}