update shipping invoice

This commit is contained in:
edmondlang
2022-03-06 21:19:44 +08:00
parent 3b86a50bed
commit 07d3b4b7a3
@@ -37,7 +37,7 @@
<div class="ref">Ref# {{ $invoice_transaction->owner->owner->reference }}</div>
<!-- <div class="d-none">{{ $companyModule->inviters()->withPivot('invitee_reference')->first()->pivot->invitee_reference }}</div> -->
<div class="date">Date: {{ invoice_transaction->created_at }}</div>
<div class="date">Date: {{ $invoice_transaction->created_at }}</div>
<div>&nbsp;</div>
</div>
</td>
@@ -66,7 +66,10 @@
{{ $addresses->country()->first()->name }}
</div>
<div>
Phone: {{ $companyModule->contacts()->first()->phone }}
@php
$contact = $companyModule->contacts()->first();
@endphp
Phone: {{ $contact ? $contact->phone : '' }}
</div>
</td>
</tr>