Create Transaction

@php $buyer = $marketplace_transaction->buyer_name; $invoice_no = $marketplace_transaction->invoice_no; $due_date = $marketplace_transaction->due_date; $due_date_custom = $marketplace_transaction->due_date; $npwp = $marketplace_transaction->npwp; $nik = $marketplace_transaction->nik; $nama_tanda_tangan = $marketplace_transaction->sign_name; @endphp
{{ $buyer }}
{{ $invoice_no }}
{{ $due_date }} days
{{ $npwp ? : '-'}}
{{ $nik ? : '-' }}
@if (count($errors) > 0)
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif @if (Session::has('success'))
{{ Session::get('success') }}
@endif

Summary

Download List Item   Show Invoice      Back
@php $total_buying_price = $total_selling_price = 0; @endphp @forelse($marketplace_transaction->item()->whereNull('parent_id')->get() as $no => $item) @php $data_information = json_decode($item->total_data_information, true); $total_buying_price += $data_information['total_buying_price']; $total_selling_price += $item->total_selling_price; @endphp @empty @endforelse @if($marketplace_transaction->item()->whereNull('parent_id')->count() > 0) {{-- --}} @php $total_additional_fee = 0; @endphp @if($marketplace_transaction->additional_fee) @foreach(json_decode($marketplace_transaction->additional_fee, true) as $label => $fee) @php $total_additional_fee += $fee; @endphp @endforeach {{-- --}} @endif @endif
Brand Certificate Quantity Weight (Gram) Seller Total Buying Price (Rp) Total Selling Price (Rp) Detail
{{ $item->resell_item->item_brand->brand_name == 'Jewelry Other' ? 'LM Other' : $item->resell_item->item_brand->brand_name }}
{{ $item->resell_item->weight }} Gram
  • {{ $item->resell_item->plu }}
  • @foreach($item->item_group as $item_group)
  • {{ $item_group->resell_item->plu }}
  • @endforeach
{{ $data_information['total_qty'] }} {{ $data_information['total_weight'] }} {{ $item->resell_item->invoice->standby_user->name }} {{ number_format($data_information['total_buying_price']) }}
{{ number_format($item->total_selling_price) }}
Detail
Data not found
TOTAL{{ number_format($total_buying_price) }}{{ number_format($total_selling_price) }}
{{ ucwords($label) }} {{ number_format($fee) }}
GRAND TOTAL{{ number_format($total_selling_price + $total_additional_fee) }}