status == 'p') class="success" @else class="danger" @endif>
@if(!is_null($d->details) && ($d->particulars == 'materials' || $d->particulars =='additional materials'))
{{ strtoupper($d->particulars) }}
@foreach(unserialize($d->details) AS $p )
@if(array_key_exists('material_description', $p))
- {{ strtoupper($p['material_description']) }} - x{{ number_format($p['uom_value'],0) }} @ PHP {{ number_format($p['total_price'],2,".",",") }}
@elseif(array_key_exists('material_desc', $p))
- {{ strtoupper($p['material_desc']) }} - x{{ number_format($p['quantity'],0) }} @ PHP {{ number_format($p['total_price'],2,".",",") }}
@endif
@endforeach
@elseif(!is_null($d->details) && ($d->particulars == 'service fee' || $d->particulars =='additional service fee'))
{{ strtoupper($d->particulars) }}
@foreach(unserialize($d->details) AS $p )
@if(array_key_exists('category', $p))
- {{ strtoupper($p['category']) }} - PHP {{ number_format($p['service_fee'],2,".",",") }}
@elseif(array_key_exists('service_desc', $p))
- {{ strtoupper($p['service_desc']) }} - PHP {{ number_format($p['amount'],2,".",",") }}
@endif
@endforeach
@else
{{ strtoupper($d->particulars) }}
@endif
|
{{ number_format($d->amt_basic,2,".",",") }} |
({{ number_format($d->discount_amt,2,".",",") }}) |
{{ number_format($d->interest_amt,2,".",",") }} |
{{ number_format($d->amt_net,2,".",",") }} |
@if($d->payment_method == 'ins')
{{ 'Installment' }}
@endif
@if($d->payment_method == 'atb')
{{ 'Add to Bill' }}
@endif
@if($d->payment_method == 'full')
{{ 'Full' }}
@endif
|
({{ number_format($d->amt_initial,2,".",",") }}) |
{{ number_format($d->amt_remaining,2,".",",") }} |
@if($d->payment_method != 'full')
{{ $d->terms }} Mo(s)
@else
{{ '-' }}
@endif
|
@if($d->payment_method != 'full')
{{ number_format($d->amortization,2,".",",") }}
@else
{{ '-' }}
@endif
|
@if($d->payment_method == 'full')
@if($d->status == 'p')
@else
@endif
@elseif($d->payment_method == 'atb')
@endif
|
@endforeach