@extends('template.app') @section('title', 'Detail Retur Penjualan') @section('css') @endsection @section('breadcrumb') @endsection @section('content')
Detail Retur Penjualan
No. Nota Retur:
{{ $return->return_no }}
Nama Toko:
{{ $store->store_name }}
Tanggal Retur:
{{ $return->return_date }}
Nama Pembeli:
{{ $customer->name }}
No. Invoice Penjualan:
{{ $salesTransaction->transaction_id }}
Detail Item Retur
@foreach($returnItems as $item) @if($item->quantity_returned > 0) @endif @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 }} {{ $item->quantity_returned }} 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 Rp {{ number_format($return->discount_return, 0, ',', '.') }}
Pajak Rp {{ number_format($return->tax_return, 0, ',', '.') }}
Total Retur: Rp {{ number_format($return->total_return - $return->discount_return + $return->tax_return, 0, ',', '.') }}
@if($return->note)
Catatan
{{ $return->note }}
@endif
@endsection