@extends('layouts.layout-horizontal') @section('title', 'Product Price List') @section('content')
Product Price List
Purchase and sale prices are based on latest transactions. Price list shows the lowest vendor rate.
{{ $products->count() }} products
@forelse($products as $product) @empty @endforelse
Product SKU HSN Unit Purchase Price Purchase Source Price List Price List Source Sale Price Sale Source
{{ $product->name }} {{ $product->product_id ?: '-' }} {{ $product->hsn ?: '-' }} {{ $product->unit ?: '-' }} {{ indian_number($product->purchase_price ?? 0, 2) }} {{ $product->purchase_price_source }} @if($product->purchase_date)
{{ \Carbon\Carbon::parse($product->purchase_date)->format('d-M-Y') }}
@endif
@if($product->price_list_rate !== null) {{ indian_number($product->price_list_rate, 2) }} @else - @endif @if($product->price_list_rate !== null) {{ $product->price_list_vendor ?: 'Vendor price list' }} @if($product->price_list_date)
{{ \Carbon\Carbon::parse($product->price_list_date)->format('d-M-Y') }}
@endif @else No price list @endif
{{ indian_number($product->sale_price ?? 0, 2) }} @if($product->sale_price) Latest sale
{{ \Carbon\Carbon::parse($product->sale_date)->format('d-M-Y') }}
@else No sale price @endif
No products found.
@endsection