@extends('layout.backend.main') @section('page_content') @if (session('error'))
Error! {{ session('error') }}
@endif @if ($errors->any())
@endif
{{-- --}} {{-- --}} @forelse ($product_lots as $product_lot) {{-- --}} {{-- --}} @empty @endforelse
ID Product name Quantity Cost Price Transaction Type Warehouse IDDescriptionCreated Time Actions
{{ $product_lot->id }} {{ $product_lot->product->name ?? 'N/A'}} {{ $product_lot->qty }} {{ $product_lot->cost_price }}{{ $product_lot->sales_price }}{{ $product_lot->transactionType->name ?? "N/A" }} {{ $product_lot->warehouse->name ?? 'N/A' }}{{ $product_lot->description }}{{ $product_lot->created_at }}
@csrf @method('DELETE')
No Product Lots Found
{{ $product_lots->links('vendor.pagination.custom') }}
@endsection