@extends('layouts.app') @section('title', __('app.sell_return')) @section('content') @include('layouts.partials.breadcrumb',['page_title'=> __( 'app.sell_return') , 'bread_crumbs'=>array( array('title'=>__('app.manage_sell_returns'),'url'=>''),array('title'=> __('app.all_sell_return'),'url'=>''))])
@php $can_access_sell_return = true; if(!userHasPermission('access_sell_return')) $can_access_sell_return = false; @endphp @component('components.filters', ['title' => __('report.filters')])
{!! Form::label('sell_list_filter_location_id', __('purchase.business_location') . ':') !!} {!! Form::select('sell_list_filter_location_id', $business_locations, null, ['class' => 'form-control select2', 'style' => 'width:100%', 'placeholder' => __('app.all') ]); !!}
{!! Form::label('sell_list_filter_customer_id', __('contact.customer') . ':') !!} {!! Form::select('sell_list_filter_customer_id', $customers, null, ['class' => 'form-control select2', 'style' => 'width:100%', 'placeholder' => __('app.all')]); !!}
{!! Form::label('sell_list_filter_date_range', __('report.date_range') . ':') !!} {!! Form::text('sell_list_filter_date_range', null, ['placeholder' => __('app.select_a_date_range'), 'class' => 'form-control', 'readonly']); !!}
@if($can_access_sell_return)
{!! Form::label('created_by', __('report.user') . ':') !!} {!! Form::select('created_by', $sales_representative, null, ['class' => 'form-control select2', 'style' => 'width:100%']); !!}
@endcan
@endcomponent @component('components.widget', ['class' => 'box', 'title' => __('app.sell_return')]) @include('sell_return.partials.sell_return_list') @endcomponent
@stop @section('javascript') @endsection