@extends('layouts.app') @section('title', __('lang_v1.product_purchase_report')) @section('content')

{{ __('lang_v1.product_purchase_report')}}

@component('components.filters', ['title' => __('report.filters')]) {!! Form::open(['url' => action('ReportController@getStockReport'), 'method' => 'get', 'id' => 'product_purchase_report_form' ]) !!}
{!! Form::label('search_product', __('lang_v1.search_product') . ':') !!}
{!! Form::text('search_product', null, ['class' => 'form-control', 'id' => 'search_product', 'placeholder' => __('lang_v1.search_product_placeholder'), 'autofocus']); !!}
{!! Form::label('supplier_id', __('purchase.supplier') . ':') !!}
{!! Form::select('supplier_id', $suppliers, null, ['class' => 'form-control select2', 'placeholder' => __('messages.please_select'), 'required']); !!}
{!! Form::label('location_id', __('purchase.business_location').':') !!}
{!! Form::select('location_id', $business_locations, null, ['class' => 'form-control select2', 'placeholder' => __('messages.please_select'), 'required']); !!}
{!! Form::label('product_pr_date_filter', __('report.date_range') . ':') !!} {!! Form::text('date_range', null, ['placeholder' => __('lang_v1.select_a_date_range'), 'class' => 'form-control', 'id' => 'product_pr_date_filter', 'readonly']); !!}
{!! Form::close() !!} @endcomponent
@component('components.widget', ['class' => 'box-primary'])
@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