{{ trans('transaction.confirm') }}

@forelse($draft->items() as $key => $item) @empty @endforelse
# Nama Item Harga Satuan Diskon per Item Qty Subtotal
{{ $key + 1 }} {{ $item->name }} {{ formatRp($item->price) }} {{ formatRp($item->item_discount) }} {{ $item->qty }} {{ formatRp($item->subtotal) }}
{{ trans('transaction.subtotal') }} : {{ formatRp($draft->getSubtotal()) }}
{{ trans('transaction.discount_total') }} : {{ formatRp($draft->getDiscountTotal()) }}
{{ trans('transaction.total') }} : {{ formatRp($draft->getTotal()) }}

{{ trans('transaction.detail') }}

{{ trans('transaction.customer_name') }}{{ $draft->customer['name'] }}
{{ trans('transaction.customer_phone') }}{{ $draft->customer['phone'] }}
{{ trans('transaction.payment') }}{{ formatRp($draft->payment) }}
{{ trans('transaction.total') }}{{ formatRp($draft->getTotal()) }}
{{ trans('transaction.exchange') }}{{ formatRp($draft->getExchange()) }}
{{ trans('transaction.notes') }}{{ $draft->notes }}