Phone | : | {{ $setting->first(function($item){ return $item->name == "phone"; })->value }} |
: | {{ $setting->first(function($item){ return $item->name == "email"; })->value }} | |
Website | : | {{ $setting->first(function($item){ return $item->name == 'website'; })->value }} |
INVOICE
|
|
NO | ITEM | DESCRIPTION | QTY | PRICE/UNIT | AMOUNT |
{{ $no++ }} | {{ $item->product ? $item->product->name : "-" }} |
@if($item->product)
{{ $item->product->description ?? "-" }}
@else
-
@endif
Disc {{ $item->discount }}
@if($selling->discount_type == "NOMINAL")
*Rp
@else
%
@endif
|
{{ number_format($item->quantity ?? 0,2,',','.') }} ( {{ $item->product ? $item->product->selling_unit : "-"}} ) | {{ number_format($item->price ?? 0,2,',','.') }} | {{ number_format($item->amount ?? 0,2,',','.') }} |
AMOUNT TOTAL | {{ number_format($selling->total ?? 0,2,',','.') }} | |
DISCOUNTS @if($selling->discount_type == "NOMINAL") *Rp @else % @endif | {{ number_format($selling->discount ?? 0,2,',','.') }} | |
TOTAL AFTER DISCOUNTS | {{ number_format(ceil(floatval($selling->total) - floatval($selling->discount))?? 0,2,',','.') }} | |
TOTAL AFTER DISCOUNTS | {{ number_format(ceil(floatval($selling->total) - (floatval($selling->total)) * (floatval($selling->discount) / 100.00)) ?? 0,2,',','.') }} | |
CHARGE | {{ number_format($selling->tax ?? 0,2,',','.') }} | |
GRAND TOTAL | {{ number_format($selling->grand_total ?? 0,2,',','.') }} | |
FIXED PRICE | {{ number_format($selling->fixed_price ?? 0,2,',','.') }} | |
GRAND TOTAL AFTER FIXED PRICE | {{ number_format(floatval($selling->grand_total) + floatval($selling->fixed_price),2,',','.') }} | |
DP | {{ number_format($selling->dp ?? 0,2,",",".") }} | |
GRAND TOTAL AFTER DP | {{ number_format((floatval($selling->grand_total) + floatval($selling->fixed_price))- floatval($selling->dp) ?? 0,2,',','.') }} | |
CASH | {{ number_format($selling->cash ?? 0,2,',','.') }} | |
GRAND TOTAL AFTER CASH | {{ number_format( ( ( (floatval($selling->grand_total) + floatval($selling->fixed_price)) - floatval($selling->dp) ) - floatval($selling->cash) ) ?? 0,2,',','.') }} | |
ONGKIR | {{ number_format($selling->shipping_charge ?? 0,2,',','.') }} |
{{ $setting->first(function($item){ return $item->name == "bank_name"; })->value }} | |
AAC No | {{ $setting->first(function($item){ return $item->name == "bank_no"; })->value }} |
Holder | {{ $setting->first(function($item){ return $item->name == "bank_account"; })->value }} |