@include('landlord_layouts.header')
@include('landlord_layouts.navbar')
@include('landlord_layouts.topbar')
{{Auth::user()->unique_id}}
#{{$invoice->number}}
Charged on {{ date('l, F d, Y',$invoice->created)}}
Issued TO
{{ucwords($invoice->customer_name)}}
{{$invoice['customer_address']['line1']}}, {{$invoice['customer_address']['city']}},
{{$invoice['customer_address']['state']}} @if($invoice['customer_address']['state'] == '') {{$invoice['customer_address']['state']}} @else {{Auth::user()->zipcode}}, @endif {{$invoice['customer_address']['country']}}
Card Number
**** **** **** {{$data['card']['last4']}}
Issued by
Tech Hope LLC
USA
Charges
All prices in US Dollar.
Subscription: @foreach($packageList as $list) @if($list->price_id == $plan->id) @if($list->package_id == 1) Single Unit @elseif($list->package_id == 2) Multi Unit @else Commercial @endif @endif @endforeach @foreach($packageList as $list) @if($list->price_id == $plan->id) ({{$list->schedule_type}}) @endif @endforeach - @if(count($invoice['lines']['data']) > 1) {{$invoice['lines']['data'][1]['quantity']}} @else {{$invoice['lines']['data'][0]['quantity']}} @endif Unit
@if($invoice->subtotal < 0 || $history)
${{number_format($history->subtotal,2)}}
@else
${{number_format($invoice->subtotal/100 ,2)}}
@endif
Subtotal
@if($invoice->subtotal < 0 || $history) ${{number_format($history->subtotal,2)}} @else ${{number_format($invoice->subtotal/100 ,2)}} @endif
Discount
@if($invoice->subtotal < 0 || $history) ${{number_format($history->subtotal - $history->amount,2)}} @else @if(count($invoice->total_discount_amounts)> 0) ${{ number_format($invoice['total_discount_amounts']['0']['amount']/100,2)}} @else $0.00 @endif @endif
Sales Tax (0.00%)
$0.00
{{--
Account Credit
@if($invoice->subtotal < 0) ${{ str_replace("-", "", number_format($invoice->subtotal/100 ,2)) }} @else $0.00 @endif
--}}
Account Credit
{{$balance}}
Paid
${{number_format($invoice->amount_paid/100 ,2)}}
@include('landlord_layouts.footer')
@include('landlord_layouts.script')