@push('title') Price Adjustments @endpush Price Adjustments Filter by Brand Select Brand @php $selectedBrandId = request('brand_id'); $selectedBrand = \App\Models\Brand::find($selectedBrandId); @endphp @if($selectedBrand) {{ $selectedBrand->name }} @endif Apply Filters Reset @if(request('brand_id') && $products->count() > 0) @csrf Product & Variation Warehouse Batch No Cost Price (LKR) Retail Price (LKR) Wholesale Price (LKR) Stock @foreach($products as $product) {{ $product->name }} - {{ $product->code }} @foreach($product->variations as $pv) @foreach($pv->batches as $batch) {{ $pv->variation_id ? ($pv->variationType->name ?? 'N/A') : 'Default' }} {{ $batch->warehouse->name ?? 'N/A' }} {{ $batch->batch_no }} {{ $batch->current_stock }} @endforeach @endforeach @endforeach {{ $products->withQueryString()->links() }} Update Page Prices @elseif(request('brand_id')) No products found for the selected brand. @else Please select a brand to start adjusting prices. @endif
{{ $batch->batch_no }}
Please select a brand to start adjusting prices.