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

@endif
{!! Form::label('item_not_moved',__('app.item_not_moved') . ':') !!} {!! Form::select('item_not_moved', $item_not_moved_in, null, ['placeholder' => __('messages.all_without_filter'), 'class' => 'form-control select2', 'style' => 'width:100%']); !!}
{!! Form::close() !!} @endcomponent
@component('components.widget', ['title' => __('report.stock_report_stats')]) @if(userHasPermission('view_product_stock_value'))
@lang('report.closing_stock') (@lang('app.by_purchase_price')) @lang('report.closing_stock') (@lang('app.by_sale_price')) @lang('app.potential_profit') @lang('app.profit_margin')

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