@extends('layouts.app_report') @section('title', __('report.stock_report')) @section('content')
@component('components.filters', ['title' => __('report.filters')]) {!! Form::open(['url' => action([\App\Http\Controllers\ReportController::class, 'getStockReport']), 'method' => 'get', 'id' => 'stock_report_filter_form' ]) !!}
{!! Form::select('location_id', $business_locations, null, ['id' => 'location_id','class' => 'form-control select2', 'style' => 'width:100%']); !!} {!! Form::label('location_id', __('purchase.business_location') . ':') !!}
{!! Form::select('category', $categories, null, ['placeholder' => __('messages.all'), 'class' => 'form-control select2', 'style' => 'width:100%', 'id' => 'category_id']); !!} {!! Form::label('category_id', __('category.category') . ':') !!}
{!! Form::select('sub_category', array(), null, ['placeholder' => __('messages.all'), 'class' => 'form-control select2', 'style' => 'width:100%', 'id' => 'sub_category_id']); !!} {!! Form::label('sub_category_id', __('product.sub_category') . ':') !!}
{!! Form::select('brand', $brands, null, ['placeholder' => __('messages.all'), 'class' => 'form-control select2', 'style' => 'width:100%','id'=>'brand']); !!} {!! Form::label('brand', __('product.brand') . ':') !!}
{!! Form::select('unit', $units, null, ['placeholder' => __('messages.all'), 'class' => 'form-control select2', 'style' => 'width:100%','id'=>'unit']); !!} {!! Form::label('unit',__('product.unit') . ':') !!}
@if($show_manufacturing_data)

@endif {!! Form::close() !!} @endcomponent
@can('view_product_stock_value')
@component('components.widget', ['class' => 'box-solid bg-label-primary'])
@lang('report.closing_stock') (@lang('lang_v1.by_purchase_price')) @lang('report.closing_stock') (@lang('lang_v1.by_sale_price')) @lang('lang_v1.potential_profit') @lang('lang_v1.profit_margin')

@endcomponent
@endcan
@component('components.widget', ['class' => 'box-solid']) @include('report.partials.stock_report_table') @endcomponent
@endsection @section('javascript') @endsection