@forelse($data as $key => $item) @empty @endforelse
Pelanggan Kode Produk Nama Produk Satuan Jumlah Harga Discount Total
@if($item->selling) {{ $item->selling->customer ? $item->selling->customer->name : "-" }} @else - @endif {{ $item->product ? $item->product->code : "-" }} {{ $item->product ? $item->product->name : "-" }} {{ $item->product ? $item->product->selling_unit : "-" }} {{ number_format($item->quantity ?? 0,2,',','.') }} {{ number_format($item->price ?? 0,2,',','.') }} @if($item->selling) @if($item->selling->discount_type == "NOMINAL") ( RP ) @else ( % ) @endif @endif {{ number_format($item->discount ?? 0,2,',','.') }} {{ number_format($item->amount ?? 0,2,',','.') }}
Data tidak ditemukan