@extends('layouts.app') @section('title', __('restaurant.incentive_report')) @section('content')

{{ __('restaurant.incentive_report')}}

@component('components.filters', ['title' => __('report.filters')])
{!! Form::label('ir_location_id', __('purchase.business_location') . ':') !!} {!! Form::select('ir_location_id', $business_locations, null, ['class' => 'form-control select2', 'style' => 'width:100%']); !!}
@if($can_view_all)
{!! Form::label('ir_service_staff_id', __('restaurant.service_staff') . ':') !!} {!! Form::select('ir_service_staff_id', $waiters, null, ['class' => 'form-control select2', 'style' => 'width:100%', 'placeholder' => __('lang_v1.all')]); !!}
@endif
{!! Form::label('ir_date_range', __('report.date_range') . ':') !!} {!! Form::text('date_range', @format_date('first day of this month') . ' ~ ' . @format_date('last day of this month'), ['placeholder' => __('lang_v1.select_a_date_range'), 'class' => 'form-control', 'id' => 'ir_date_range', 'readonly']); !!}
@endcomponent
@include('report.partials.incentive_line_orders_table')
@endsection @section('javascript') @endsection