@extends('layouts.app_report') @section('title', __('lang_v1.product_purchase_report')) @section('content')
@component('components.filters', ['title' => __('report.filters')]) {!! Form::open(['url' => action([\App\Http\Controllers\ReportController::class, 'getStockReport']), 'method' => 'get', 'id' => 'product_purchase_report_form' ]) !!}
{!! Form::text('search_product', null, ['id'=>'search_product','class' => 'form-control', 'id' => 'search_product', 'placeholder' => __('lang_v1.search_product_placeholder'), 'autofocus']); !!} {!! Form::label('search_product', __('lang_v1.search_product') . ':') !!}
{!! Form::select('supplier_id', $suppliers, null, ['id'=>'supplier_id','class' => 'form-control select2', 'style' => 'width:100%;', 'placeholder' => __('messages.please_select'), 'required']); !!} {!! Form::label('supplier_id', __('purchase.supplier') . ':') !!}
{!! Form::select('location_id', $business_locations, null, ['id'=>'location_id','class' => 'form-control select2', 'style' => 'width:100%;', 'placeholder' => __('messages.please_select'), 'required']); !!} {!! Form::label('location_id', __('purchase.business_location').':') !!}
{!! Form::text('date_range', null, ['placeholder' => __('lang_v1.select_a_date_range'), 'class' => 'form-control', 'id' => 'product_pr_date_filter', 'readonly']); !!} {!! Form::label('product_pr_date_filter', __('report.date_range') . ':') !!}
{!! Form::select('ppr_brand_id', $brands, null, ['id'=>'ppr_brand_id','class' => 'form-control select2', 'style' => 'width:100%;', 'placeholder' => __('lang_v1.all')]); !!} {!! Form::label('ppr_brand_id', __('product.brand').':') !!}
{!! Form::close() !!} @endcomponent
@component('components.widget', ['class' => 'card'])
@lang('sale.product') @lang('product.sku') @lang('purchase.supplier') @lang('purchase.ref_no') @lang('messages.date') @lang('sale.qty') @lang('lang_v1.total_unit_adjusted') @lang('lang_v1.unit_perchase_price') @lang('sale.subtotal')
@endcomponent
@endsection @section('javascript') @endsection