Addresses now a collection
This commit is contained in:
@@ -34,22 +34,20 @@
|
||||
<!-- info row -->
|
||||
<div class="row invoice-info">
|
||||
<div class="col-4 invoice-col">
|
||||
FROM:
|
||||
<address>
|
||||
<strong>{{ $site->site_name }}</strong><br>
|
||||
{!! join('<br>',$site->address) !!}
|
||||
<br>
|
||||
FROM: <strong>{{ $site->site_name }}</strong><br>
|
||||
{!! $site->address->join('<br>') !!}
|
||||
<br><br>
|
||||
<strong>Email:</strong> {{ $site->site_email }}<br>
|
||||
<strong>Phone:</strong> {{ $site->site_phone }}
|
||||
</address>
|
||||
</div>
|
||||
|
||||
<div class="col-4 invoice-col">
|
||||
TO:
|
||||
<address>
|
||||
<strong>{{ $o->account->company }}</strong><br>
|
||||
{!! join('<br>',$o->account->address) !!}
|
||||
<br>
|
||||
TO: <strong>{{ $o->account->company }}</strong><br>
|
||||
{!! $o->account->address->join('<br>') !!}
|
||||
<br><br>
|
||||
<strong>Email:</strong> {{ $o->account->user->email }}<br>
|
||||
@if ($o->account->phone)
|
||||
<strong>Phone:</strong> {{ $o->account->phone }}<br>
|
||||
|
@@ -23,7 +23,7 @@
|
||||
@component('mail::footer')
|
||||
<div class="fixedw" style="text-align: right; font-size: 0.8em;">
|
||||
{{ config('mail.from.name') }}<br>
|
||||
{!! join('<br>',$site->address) !!}<br>
|
||||
{!! $site->address->join('<br>') !!}<br>
|
||||
{{ $site->site_email }}
|
||||
</div>
|
||||
@endcomponent
|
||||
|
@@ -26,7 +26,7 @@
|
||||
<h2 style="text-align: right;">Our Contact Details</h2>
|
||||
<address class="margin-bottom-40" style="float: right;">
|
||||
<table>
|
||||
<tr><th style="vertical-align:top; padding-right: 5px;">Address</th><td>{!! join('<br>',$site->address) !!}</td></tr>
|
||||
<tr><th style="vertical-align:top; padding-right: 5px;">Address</th><td>{!! $site->address->join('<br>') !!}</td></tr>
|
||||
@isset($site->site_fax)
|
||||
<tr><th>Fax</th><td>{{ $site->site_fax }}</tr>
|
||||
@endif
|
||||
|
Reference in New Issue
Block a user