diff --git a/resources/views/pages/pdfs/company_account_statement_transaction.blade.php b/resources/views/pages/pdfs/company_account_statement_transaction.blade.php
index 34057044..aa9484c8 100644
--- a/resources/views/pages/pdfs/company_account_statement_transaction.blade.php
+++ b/resources/views/pages/pdfs/company_account_statement_transaction.blade.php
@@ -23,13 +23,25 @@
Tel: 03-8082 1252
|
{{ $company->name }}
+ @php
+ $billingAddress = $company->addresses()->where('billing', '=', true)->first();
+ @endphp
+
+ {{ $billingAddress->street_one }}
+ {{ $billingAddress->street_two }},
+ {{ $billingAddress->district()->first()->name }},
+ {{ $billingAddress->postcode }}
+ {{ $billingAddress->state()->first()->name }},
+ {{ $billingAddress->country()->first()->name }}
+
+ Phone: {{ $company->contacts()->first()->phone }}
|
@@ -44,7 +56,7 @@
No |
Date |
Description |
- Marking |
+
Incoming |
Outgoing |
Balance (RM) |
@@ -99,9 +111,8 @@
@endphp
| {{ $key + 1 }} |
- {{ $transaction->created_at }} |
- {{ $description }} |
- {{ $marking }} |
+ {{ \Carbon\Carbon::parse($transaction->created_at)->format('Y-m-d') }} |
+ {{ $description }} - {{$marking}} |
{{ $incoming }}
|