@extends('backend.layouts.master') @section('page-title', 'Invoice Return') @push('css') @endpush @section('invoice')

Return Product

@csrf
@php $invoiceItem = App\Models\InvoiceItem::where( 'invoice_id', $invoice->id, )->get(); @endphp @forelse ($invoiceItem as $item) @empty @endforelse {{-- Discount --}} {{-- due --}} {{-- total paid --}}
Product Quantity Rate Total Action
{{ $item->product?->name }} - {{ $item->product?->barcode }}
@if ($item->product->unit->related_unit == null) {{-- ONLY MAIN UNIT --}} @else {{-- HAS SUB UNIT --}} @endif
No Invoice Found
Total
Discount
Due
Total Paid
Payment
{{$item->invoice->total_paid }}
{{-- --}}
{{-- @include('backend.pages.invoice.payment-modal') --}}
{{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
@forelse($products as $product) @php $stock_qty = product_stock($product); @endphp
product
{{ $product->name }}
{{ $product->selling_price }} Tk
Stock : {{ $stock_qty }}
@empty
@endforelse
--}} {{-- --}} {{--
--}}
{{-- Add Modal --}} @endsection @push('js') @endpush