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
@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_balance,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
|
@if($d->status == 'up' && $d->particulars == 'additional materials')
@elseif($d->status == 'p')
@if($d->payment_method == 'atb' && $d->particulars == 'additional materials')
@else
@endif
@else
@endif
|
@endforeach