update template

This commit is contained in:
edmondlang
2023-11-04 23:58:40 +08:00
parent 4d23e0cb9c
commit 95b4c879ee
@@ -23,13 +23,25 @@
Tel: 03-8082 1252
</td>
<td class="header-details">
<div class="title right"><strong>Account Statement Transactions</strong></div>
<div class="title right"><strong>Account<br>Statement<br>Transactions</strong></div>
<div>&nbsp;</div>
</td>
</tr>
<tr>
<td colspan="3" class="address">
<div class="label">{{ $company->name }}</div>
@php
$billingAddress = $company->addresses()->where('billing', '=', true)->first();
@endphp
<div class="address">
{{ $billingAddress->street_one }}
{{ $billingAddress->street_two }},
{{ $billingAddress->district()->first()->name }},
{{ $billingAddress->postcode }}
{{ $billingAddress->state()->first()->name }},
{{ $billingAddress->country()->first()->name }}
</div>
<div>Phone: {{ $company->contacts()->first()->phone }}</div>
</td>
</tr>
</table>
@@ -44,7 +56,7 @@
<th width="5%">No</th>
<th class="stock-code" width="10%">Date</th>
<th class="description">Description</th>
<th width="10%">Marking</th>
<!-- <th width="10%">Marking</th> -->
<th width="15%">Incoming</th>
<th width="15%">Outgoing</th>
<th width="10%">Balance<br>(RM)</th>
@@ -99,9 +111,8 @@
@endphp
<tr>
<td width="5%" class="center top">{{ $key + 1 }}</td>
<td class="stock-code top" width="10%" style="text-align: center;">{{ $transaction->created_at }}</td>
<td class="description">{{ $description }}</td>
<td width="10%" class="center top" style="text-align: center;">{{ $marking }}</td>
<td class="stock-code top" width="10%" style="text-align: center;">{{ \Carbon\Carbon::parse($transaction->created_at)->format('Y-m-d') }}</td>
<td class="description">{{ $description }} - {{$marking}}</td>
<td width="15%" class="center top" style="text-align: center;">
{{ $incoming }}
</td>