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

{!! ucwords(trans('hilbit.report.client_invoice.form_title')) !!}

@include('errors.list')
{!! Form::open(['url' => 'reports/client-invoice/output', 'id' => 'fm-invoice-report']) !!} {!! Form::hidden('export', 0, ['id' => 'export']) !!}
{!! Form::label('start_date', 'Start date:', ['class' => 'control-label col-sm-4']) !!}
{!! Form::formattedDate('start_date', ['class' => 'form-control','type'=> 'text']) !!}
{!! Form::label('end_date', 'End date:', ['class' => 'control-label col-sm-4']) !!}
{!! Form::formattedDate('end_date', ['class' => 'form-control','type'=> 'text']) !!}

{!! Form::label('start_agreement_code', 'Start agreement:', ['class' => 'control-label col-sm-4']) !!}
{!! Form::select('start_agreement_code', $agreement_list, null, ['class' => 'form-control']) !!}
{!! Form::label('end_agreement_code', 'End agreement:', ['class' => 'control-label col-sm-4']) !!}
{!! Form::select('end_agreement_code', $agreement_list, null, ['class' => 'form-control']) !!}

{!! Form::label('client_id', 'Client :', ['class' => 'control-label col-sm-4']) !!}
{!! Form::checkbox('all_client', 1, true, ['id' => 'cb_all_client']) !!} All
{!! Form::select('client_id[]', $client_list, null, ['class' => 'form-control', 'multiple', 'id' => 'client_id']) !!}
{!! 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::label('include_history', 'Include history?', ['class' => 'control-label col-sm-4']) !!}
{!! Form::checkbox('include_history',1, true, ['id' => 'cb_include_history']) !!}

{!! Form::close() !!}
{!! Form::open(['id' => 'fm-invoice-download']) !!} {{-- 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 --}}
Invoice No Generate Date Client Code Client Name Agreement Description
{!! Form::close() !!}
@stop @section('scripts') @stop