@extends('template.app') @section('title', 'Edit Retur Penjualan') @section('css') @endsection @section('breadcrumb') @endsection @section('content')
Edit Retur Penjualan
@csrf @method('PUT')
No. Nota Retur:
{{ $return->return_no }}
Nama Toko:
{{ $store->store_name }}
Tanggal Retur:
Nama Pembeli:
{{ $customer->name }}
No. Invoice Penjualan:
{{ $salesTransaction->transaction_id }}
Detail Item Retur
@foreach($returnItems as $item) @endforeach
Nama Item Jumlah Terjual Jumlah Retur Harga Diskon Total Harga
{{ $item->product_name }}
{{ $item->variasi_1 }} {{ $item->variasi_2 ? ', ' . $item->variasi_2 : '' }} {{ $item->variasi_3 ? ', ' . $item->variasi_3 : '' }}
{{ $item->quantity_sold }} Rp {{ number_format($item->price, 0, ',', '.') }} Rp {{ number_format($item->discount_item, 0, ',', '.') }} Rp {{ number_format($item->price * $item->quantity_returned - $item->discount_item, 0, ',', '.') }}
Subtotal Retur Rp {{ number_format($return->total_return, 0, ',', '.') }}
Diskon
Pajak
Total Retur: Rp {{ number_format($return->total_return - $return->discount_return + $return->tax_return, 0, ',', '.') }}
Batal
@endsection @push('scripts') @endpush