@extends('layouts.layout-horizontal') @section('title', 'Product Price List') @section('content')
Product Price List
Latest purchase and sale details across all stock companies.
{{ $products->count() }} products
@forelse($products as $product) @empty @endforelse
Sr. No. Product ID HSN Name of Product Unit Purchase Rate GST, if Applicable Cost with GST Last Sold Rate Last Sold Date
{{ $loop->iteration }} {{ $product->product_id ?: '-' }} {{ $product->hsn ?: '-' }} {{ $product->unit ?: '-' }} @if($product->purchase_rate !== null) {{ indian_number($product->purchase_rate, 2) }} @else - @endif @if((float) ($product->gst_percent ?? 0) > 0) {{ indian_number($product->gst_percent, 2) }}% @else - @endif @if($product->cost_with_gst !== null) {{ indian_number($product->cost_with_gst, 2) }} @else - @endif @if($product->last_sold_rate !== null) {{ indian_number($product->last_sold_rate, 2) }} @else - @endif {{ $product->last_sold_date ? \Carbon\Carbon::parse($product->last_sold_date)->format('d-M-Y') : '-' }}
No products found.
@endsection @section('scripts') @endsection