@extends('layouts.app') @section('content')

Products     

@include('validate')

Products List

@csrf
@forelse ($itemsList as $product) @empty @endforelse
Purchase Date Supplier Product Name Unit Purchase Cost Sale Cost Received Qty Action
{{ $product->purchase_date->format(app_date_format()) }} {{ $product->supplier->supplier_name ?? '' }} {{ $product->product_name }} {{ $product->unit->unit_code ?? '' }} {{ number_format($product->total_purchase_cost, 2) }} {{ number_format($product->sales_price, 2) }} {{ round($product->qty_from_supplier, 2) }}
@lang('general.no_details_found')
{{ $itemsList->links() }}
@endsection @push('scripts') @endpush