@extends('template.app') @section('title', 'Detail Retur Pembelian') @section('css') @endsection @section('breadcrumb') @endsection @section('content')
Detail Retur Pembelian
No. Nota Retur:
{{ $return->return_no }}
Nama Supplier:
{{ $supplier->store_name }}
Tanggal Retur:
{{ $return->return_date }}
Nama Toko:
{{ $store->store_name }}
No. Invoice Pembelian:
{{ $purchaseTransaction->transaction_id }}
Detail Item Retur
@foreach($returnItems as $item) @if($item->quantity_returned > 0) @endif @endforeach
Nama Item Jumlah Dibeli 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_purchased }} {{ $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_amount, 0, ',', '.') }}
Diskon Rp {{ number_format($return->discount, 0, ',', '.') }}
Pajak Rp {{ number_format($return->tax, 0, ',', '.') }}
Total Retur: Rp {{ number_format($return->total_amount - $return->discount + $return->tax, 0, ',', '.') }}
@if($return->note)
Catatan
{{ $return->note }}
@endif
@endsection