Started work on Site Model

This commit is contained in:
Deon George
2017-12-08 10:04:02 +11:00
parent 35473014ad
commit 324861b826
12 changed files with 310 additions and 19 deletions

View File

@@ -24,10 +24,12 @@
<h2>Our Contacts</h2>
<address class="margin-bottom-40">
<table>
<tr><th style="vertical-align:top; padding-right: 5px;">Address</th><td>{!! $site_address !!}</td></tr>
<tr><th>Phone</th><td>{!! $site_phone !!}</tr>
<tr><th>Fax</th><td>{!! $site_fax !!}</tr>
<tr><th>Email</th><td> <a href="mailto:{!! $site_email !!}">{!! $site_email !!}</a></tr>
<tr><th style="vertical-align:top; padding-right: 5px;">Address</th><td>{!! join('<br>',[$so->address['address1'],$so->address['address2'],sprintf('%s, %s %s',$so->address['city'],$so->address['state'],$so->address['postcode'])]) !!}</td></tr>
<tr><th>Phone</th><td>{!! $so->phone !!}</tr>
@if($so->fax)
<tr><th>Fax</th><td>{!! $so->fax !!}</tr>
@endif
<tr><th>Email</th><td> <a href="mailto:{!! $so->email !!}">{!! $so->email !!}</a></tr>
</table>
</address>
<!--