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 }} |
Quote # | {{ $quotation->code }} |
Date | {{ now()->parse($quotation->date)->format("d/m/Y") }} |
Sales Rep. | @if($quotation->customer) {{ $quotation->customer->seller ? $quotation->customer->seller->name ?? "-" : "-" }} @else - @endif |
No | Qty | Item | {{--Kode Item | --}}Deskripsi | price IDR | Total |
{{ $no++ }} | {{ number_format($item->quantity ?? 0,2,',','.') }} {{-- ( {{ $item->product ? $item->product->selling_unit ?? "-" : "-"}} ) --}} | {{ $item->product ? $item->product->name ?? "-" : "-" }} | {{--{{ $item->product ? $item->product->code ?? "-" : "-" }} | --}}
@if($item->product)
{{ $item->product->description ?? "-" }}
Disc {{ number_format($item->discount ?? 0,2,',','.') }}
@if($quotation->discount_type == "NOMINAL")
*Rp
@else
%
@endif
@else
-
@endif
|
{{ number_format($item->price ?? 0,2,',','.') }} | {{ number_format($item->amount ?? 0,2,',','.') }} |
Total | {{ number_format($quotation->total ?? 0,2,',','.') }} | |
Discount @if($quotation->discount_type == "NOMINAL") *Rp @else % @endif | {{ number_format($quotation->discount ?? 0,2,',','.') }} | |
Total Stl Discount | {{ number_format(ceil(floatval($quotation->total) - floatval($quotation->discount))?? 0,2,',','.') }} | |
Total Stl Discount | {{ number_format(ceil(floatval($quotation->total) - (floatval($quotation->total)) * (floatval($quotation->discount) / 100.00)) ?? 0,2,',','.') }} | |
PPn | {{ number_format($quotation->tax ?? 0,2,',','.') }} | |
Harga Stl PPn | {{ number_format($quotation->grand_total ?? 0,2,',','.') }} |