@extends('templates/report') @section('reportTitle') Billing Statement @endsection @section('reportHeader')

BILLING STATEMENT

No: {{$billing_no}}

Client : {{ $customer->name }} Date: {{$billingDateDetails}}
TIN : {{ $customer->billingDetails['tin'] }}
Address : {{ $customer->billingDetails['address'] }} Terms: {{$termsDetails}}
Business Style : {{ $customer->billingDetails['businessStyle'] }}
@endsection @section('content') @foreach($itemHeaders as $headers) @endforeach @foreach($items as $item) @foreach($itemColums as $itemColum) @foreach($item as $key => $value) @if($itemColum['code'] === $key) @endif @endforeach @endforeach @endforeach @while($rowCount > 0) @while($columns > 0) @endwhile @endwhile
{{ $headers['name'] }}
{{$itemColum['type'] === 'currency' ? number_format($value, 2,'.',',') : $value}}
Total : {{$amountDetails}}
12% Value Added Tax : {{$vatDetails}}
Less: EW 2% {{$ewtDetails > 0 ? '('.$ewtDetails.')' : $ewtDetails}}
TOTAL AMOUNT DUE: {{$amountDue}}
By: TAKAAKI OZEKI / NAOYA OHE
Authorized Signature
@endsection