@if ($sell) @endif
Pembeli : Data Transaksi : Kode Transaksi : {{ $sell->transaction_code }}
{{ ($sell->name) }}
{{ $sell->address }}
{{ $sell->phone }}
Tgl Payment
Pembayaran
Gateway
Status
Diinput Oleh
: {{ \Carbon\Carbon::parse($sell->payment_date)->format('d-m-Y') }}
: {{ $sell->payment_method }}
: {{ $sell->payment_gateway }}
: {{ $sell->status }}
: {{ $sell->created_by }}
Detail Barang
@php $total = 0; @endphp @if ($sell->details->count() > 0) @foreach ($sell->details as $keys => $value) @php $total += $value->subtotal; @endphp @endforeach @endif @if ($total > 0) @endif
# Kode Item Nama Item Jumlah Harga Satuan (Rp.) Diskon Total (Rp.)
{{ $keys+1 }} {{ ($value->sparepart) ? $value->sparepart->part_number : '' }} {{ ($value->sparepart) ? $value->sparepart->name : '' }} {{ $value->quantity }} {{ ($value->sparepart) ? number_format($value->sparepart->selling_price, 2, ',', '.') : 0}} @if ($value->discount != 0 && $value->discount != null) {{ ($value->discount_type == 'nominal') ? 'Rp. '.number_format($value->discount, 2, ',', '.') : number_format($value->discount, 0, ',', '.').' %'}} @endif {{ number_format($value->subtotal, 2, ',', '.') }}
Total (Rp.) {{ number_format($total,2,',','.') }}

Yogyakarta, {{ date('d F Y') }}

Irwan Nugroho


Catatan :

{!! $sell->remark !!}