@extends('layouts/pos_layout') @section('title', '| Stock Report') @section('content')

PRODUCT WISE STOCK REPORT

@php $options = ['' => 'Select any']; $status_options = ['*' => 'All', '1' => 'Approve', '0' => 'Pending']; $viewOptions = ['' => 'Select any']; $viewStatus_options = ['1' => 'Without Zero', '0' => 'With Zero']; $viewBrand_options = ['0' => 'Without Brand', '1' => 'With Brand']; if($data['isSalesPriceStatus'] == 'true' && Auth::user()->branchId == 1){ $viewWithCostSalePrice_options = ['1' => 'With Cost Price', '2' => 'With Sale Price']; } $purchaseNo = $options + DB::table('pos_purchases') ->pluck('purchase_no', 'purchase_no') ->all(); $chalanNo = $options + DB::table('pos_purchases') ->pluck('invoice_no', 'invoice_no') ->all(); $brands = $options + DB::table('pos_product_brands') ->pluck('name', 'id') ->all(); $products = $options + DB::table('pos_products') ->pluck('name', 'id') ->all(); $searchElements = [ ['element' => 'report_level', 'showAll' => 'no'], ['element' => 'branchId'], ['element' => 'supplierId'], ['element' => 'category_id'], ['element' => 'custom', 'name' => 'viewBrand', 'type' => 'select', 'label' => 'Brand:', 'options' => $viewBrand_options], ]; if($data['isSalesPriceStatus'] == 'true' && Auth::user()->branchId == 1){ $searchElements[] = [ 'element' => 'custom', 'name' => 'costSalePriceFilter', 'type' => 'select', 'label' => 'Cost/Sale Price:', 'options' => $viewWithCostSalePrice_options, ]; } $searchElements[] = ['element' => 'dateRange']; @endphp @include('partials.searchPanel.main', ['searchElements' => $searchElements])

{{ $data['company']->name }}
{{ $data['company']->address }}
Product Wise Stock Report
Branch Name:
Reporting Date:

Printed Date: {{ date('d-m-Y') }}

Prepared By Verified By Reviewed By Approved By
@endsection