mirror of
https://github.com/crater-invoice/crater.git
synced 2026-02-09 04:12:40 -05:00
Refactor estimate pdf template
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
@if($estimate->user->billingaddress)
|
||||
<p class="bill-to">Bill To,</p>
|
||||
<p class="billing-address-label">Bill To,</p>
|
||||
@if($estimate->user->billingaddress->name)
|
||||
<p class="bill-user-name">
|
||||
<p class="billing-address-name">
|
||||
{{$estimate->user->billingaddress->name}}
|
||||
</p>
|
||||
@endif
|
||||
<p class="bill-user-address">
|
||||
<p class="billing-address-text">
|
||||
@if($estimate->user->billingaddress->address_street_1)
|
||||
{!! nl2br(htmlspecialchars($estimate->user->billingaddress->address_street_1)) !!}<br>
|
||||
@endif
|
||||
@@ -31,7 +31,7 @@
|
||||
@endif
|
||||
|
||||
@if($estimate->user->billingaddress->phone)
|
||||
<p class="bill-user-phone">
|
||||
<p class="billing-address-text">
|
||||
Phone :{{$estimate->user->billingaddress->phone}}
|
||||
</p>
|
||||
@endif
|
||||
|
||||
Reference in New Issue
Block a user