@extends('backend.layouts.master') @section('page-title', 'Invoice Exchange') @push('css') @endpush @section('invoice')
@csrf
Selling Date:

{{-- --}} @php $invoiceItem = App\Models\InvoiceItem::where( 'invoice_id', $invoice->id, )->get(); @endphp @forelse ($invoiceItem as $item) {{-- --}} @empty @endforelse {{-- Discount --}}
Product Quantity RateDiscountTotal 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
@endsection @push('js') @endpush