Changed SITE_SETUP to SITE, using ->address instead of ->address(), added email_log, is now in views

This commit is contained in:
Deon George
2021-07-02 09:12:34 +10:00
parent c34da6bfb8
commit 34139bcbc2
19 changed files with 124 additions and 144 deletions

View File

@@ -20,7 +20,7 @@
<div class="row">
<div class="col-8">
<h2>
<img src="{{ $so->site_logo }}">
<img src="{{ $site->site_logo }}">
</h2>
</div>
@@ -35,11 +35,11 @@
<div class="col-4 invoice-col">
FROM:
<address>
<strong>{{ $so->site_name }}</strong><br>
{!! $so->address('html') !!}<br>
<strong>{{ $site->site_name }}</strong><br>
{!! join('<br>',$site->address) !!}
<br>
<strong>Email:</strong> {{ $so->site_email }}<br>
<strong>Phone:</strong> {{ $so->site_phone }}
<strong>Email:</strong> {{ $site->site_email }}<br>
<strong>Phone:</strong> {{ $site->site_phone }}
</address>
</div>
@@ -47,7 +47,7 @@
TO:
<address>
<strong>{{ $o->account->company }}</strong><br>
{!! $o->account->address('html') !!}<br>
{!! join('<br>',$o->account->address) !!}
<br>
<strong>Email:</strong> {{ $o->account->email }}<br>
@if ($o->account->phone)