@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 Size-Color Quantity Rate Total Action
{{ $item->product?->name }} - {{ $item->product?->barcode }} @php $variations = App\Models\ProductVariation::where( 'product_id', $item->product?->id, )->get(); @endphp @if($variations->count() > 0) @endif
@if ($item->product->unit->related_unit == null) {{-- ONLY MAIN UNIT --}} @else {{-- HAS SUB UNIT --}} @endif
No Invoice Found
Total
Discount
@endsection @push('js') @endpush