@extends($layout) @section('header_scripts') @stop @section('content')

{{$title}}

{!! Form::open(array('url' => URL_OVERALL_REPORTS, 'method' => 'POST', 'name'=>'htmlform ', 'id'=>'htmlform', 'novalidate'=>'')) !!} @if(checkRole('owner'))
{{ Form::label('branch_id', getphrase('branch')) }} {{Form::select('branch_id', $branches, $selected, ['class'=>'form-control', 'id'=>'branch_id', 'ng-model'=>'branch_id' ])}}
@else {{ Form::hidden('branch_id', getUserRecord()->branch_id, array('id'=>'branch_id')) }} @endif
{{ Form::label('date_from', getphrase('date_from')) }} {{ Form::text('date_from', $value = $date_from , [ 'class'=>'input-sm form-control', 'placeholder' => '2015/7/17', 'ng-model'=>'date_from' ])}}
{{ Form::label('date_to', getphrase('date_to')) }} {{ Form::text('date_to', $value = $date_to , [ 'class'=>'input-sm form-control', 'placeholder' => '2015/7/17', 'ng-model'=>'date_to' ]) }}
{!! Form::close() !!}