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

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

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

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

{!! Form::label('client_type_id', 'Client type:', ['class' => 'control-label col-sm-3']) !!}
{!! Form::checkbox('all_client_types', 1, true, ['id' => 'cb_all_client_types']) !!} All
{!! Form::select('client_type_id', $client_type_list, null, ['class' => 'form-control', 'id' => 'client_type_id']) !!}
{!! Form::label('client_id', 'Client :', ['class' => 'control-label col-sm-3']) !!}
{!! 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-3']) !!}
{!! 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-3']) !!}
{!! 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('asset_type_id', 'Asset type:', ['class' => 'control-label col-sm-3']) !!}
{!! Form::fancySelect('asset_type_id', $asset_type_list, ['class' => 'form-control', 'id' => 'asset_type_id'], ['provider_type_id'], null, false) !!}
{!! Form::label('provider_id', 'Supplier/Debtor/Associate:', ['class' => 'control-label col-sm-3']) !!}
{!! Form::checkbox('all_providers', 1, true, ['id' => 'cb_all_providers']) !!} All
{!! Form::fancySelect('provider_id[]', $provider_list, ['class' => 'form-control', 'multiple', 'id' => 'provider_id'], ['type_id'], null, false) !!}
@include('reports.buttons', ['preview_only' => false])
{!! Form::close() !!}
@stop @section('scripts') @stop