@extends('app') @section('content') @include('flash::message') @include('partials.alert')

{!! ucwords('Month End Client Statement') !!}

@include('errors.list')
{!! Form::open(['url' => 'reports/statement/output', 'id' => 'fm-invoice-report', 'action' => 'post', 'target' => '_blank']) !!} {!! Form::hidden('export', 0, ['id' => 'export']) !!}
{!! Form::label('month_end_date', 'Date:', ['class' => 'control-label col-sm-4']) !!}
{!! Form::formattedDate('month_end_date', ['class' => 'form-control','type'=> 'text', 'required']) !!}

{!! Form::label('start_client_code', 'Start client:', ['class' => 'control-label col-sm-4']) !!}
{!! Form::select('start_client_code', $client_list, null, ['class' => 'form-control']) !!}
{!! Form::label('end_client_code', 'End client:', ['class' => 'control-label col-sm-4']) !!}
{!! Form::select('end_client_code', $client_list, null, ['class' => 'form-control']) !!}

{!! Form::label('agreement_type_id', 'Agreement type:', ['class' => 'control-label col-sm-4']) !!}
{!! Form::checkbox('all_agreement_types', 1, true, ['id' => 'cb_all_agreement_types']) !!} All {!! Form::select('agreement_type_id', $agreement_type_list, null, ['class' => 'form-control', 'id' => 'agreement_type_id']) !!}
{!! Form::label('agreement_status_id', 'Agreement status:', ['class' => 'control-label col-sm-4']) !!}
{!! Form::checkbox('all_agreement_status',1, true, ['id' => 'cb_all_agreement_status']) !!} All
{!! Form::select('agreement_status_id[]', $agreement_status_list, null, ['class' => 'form-control', 'multiple', 'id' => 'agreement_status_id']) !!}

{!! Form::close() !!}
{!! Form::open(['url' => 'month-end-client-statement/generate','id' => 'fm-invoice-download', 'target' => '_blank']) !!} {{-- data-select-item-name specifies name of form field of selected items (invoice[]) data-id-field is the field to be added to the invoice[] array invoice[] will be included with form fields --}}
Client Code Agreement Description
{!! Form::close() !!}
@stop @section('scripts') @stop