@extends('admin.layouts.layouts') @section('title', 'Details | Product Inventory') @section('page-css') @endsection @section('content')
Product Inventory Details
Back
Basic Details
ID: {{ $showDetails->id ?? '' }}
Date: {{ $showDetails->date ? date('d-m-Y', strtotime($showDetails->date)) : '' }}
Vendor: {{ $showDetails->vendor->name ?? '' }}
Vehicle Number: {{ $showDetails->vehicle_number ?? '' }}
Invoice Number: {{ $showDetails->invoice_number ?? '' }}
GST Percentage: {{ $showDetails->gst_percentage ?? '' }}
Gross Total Amount: {{ $showDetails->gross_amount ?? '' }}
Extra Benifit: {{ $showDetails->extra_benifit ?? '' }}
Extra Charge: {{ $showDetails->extra_charge ?? '' }}
Grand Total: {{ $showDetails->grand_total ?? '' }}
CGST Amount: {{ $showDetails->cgst_amount ?? '' }}
SGST Amount: {{ $showDetails->sgst_amount ?? '' }}
Net Total Amount: {{ $showDetails->net_total ?? '' }}
Created By: {{ $showDetails->createdBy->name ?? '' }}
Created At: {{ $showDetails->created_at->format('d-m-Y h:i A') ?? '' }}
{{-- Product Inventory Items --}} @if (isset($showDetails->productInventoryItems) && count($showDetails->productInventoryItems) > 0)
@foreach ($showDetails->productInventoryItems as $productInventoryItem) @php @endphp @endforeach
Product Inventory Items
# Product Quantity Amount Buy Price Tax Created Date
{{ $loop->iteration }} {{ $productInventoryItem->product->name ?? '' }} {{ $productInventoryItem->quantity ?? '' }} {{ $productInventoryItem->amount ?? '' }} {{ $productInventoryItem->buy_price ?? '' }} {{ $productInventoryItem->tax ?? '' }} {{ $productInventoryItem->created_at->format('d-m-Y') ?? '' }}
@endif
@endsection @section('page-js') @endsection