{!! Form::label('filter_projects', 'Projects') !!}
{!! Form::select('filter_projects', [], [], [
'class' => 'form-select',
'data-kt-select2' => 'true',
'data-placeholder' => __('All'),
'data-allow-clear' => 'true',
'data-remote' => route('resource-select', ['Project', 'hasContractPhase'])
]) !!}
{!! Form::label('filter_programs', 'Programs') !!}
{!! Form::select('filter_programs', [], [], [
'class' => 'form-select',
'data-kt-select2' => 'true',
'data-placeholder' => __('All'),
'data-allow-clear' => 'true',
'data-remote' => route('resource-select', ['Program', 'hasContractPhase'])
]) !!}
{!! Form::label('filter_contract', 'Contract') !!}
{!! Form::select('filter_contract', [], [], [
'class' => 'form-select',
'data-kt-select2' => 'true',
'data-placeholder' => 'All',
'data-allow-clear' => 'true',
'data-remote' => route('resource-select', ['Contract', 'hasPhases'])
]) !!}
{!! Form::label('filter_companies', 'Client') !!}
{!! Form::select('filter_companies', [], null, [
'class' => 'form-select',
'data-kt-select2' => 'true',
'data-placeholder' => 'All Clients',
'data-allow-clear' => 'true',
'data-remote' => route('resource-select', ['groupedCompany', 'hasContractPhase']),
]) !!}
{!! Form::label('filter_contract_status', 'Contract Status') !!}
{!! Form::select('filter_contract_status', $contract_statuses, null, ['class' => 'form-select', 'data-kt-select2' => 'true', 'data-placeholder' => 'All', 'data-allow-clear' => 'true']) !!}
{!! Form::label('filter_due_date', 'Miscellaneous') !!}
{!! Form::select('filter_due_date', [
'' => 'All',
'Due Date' => [
'over_due' => 'Overdue',
'with_due_date' => 'With Due Date',
'without_due_date' => 'Without Due Date'
],
'Type' => ['allowable_cost' => 'Allowable Cost', 'not_allowable_cost' => 'Not Allowable Cost'],
'Invoice' => ['invoiced' => 'Invoiced', 'not_invoiced' => 'Not Invoiced'],
'Payment' => ['fully_paid' => 'Fully Paid', 'partially_paid' => 'Partially Paid', 'not_paid' => 'Not Paid'],
'Month' => [
'this_month' => 'This Month',
'prev_month' => 'Previous Month',
'next_month' => 'Next Month',
],
'Quarter' => [
'this_quarter' => 'This Quarter',
'prev_quarter' => 'Previous Quarter',
'next_quarter' => 'Next Quarter',
],
'Expired' => [
'expired_30_days' => 'Expired 30 Days Ago',
'expired_60_days' => 'Expired 30-60 Days Ago',
'expired_90_days' => 'Expired 60-90 Days Ago',
],
'About To Expire' => [
'upcomming_30_day' => 'In 30 Days',
'upcomming_60_day' => 'In 30-60 Days',
'upcomming_90_day' => 'In 60-90 Days',
],
], '',
[
'class' => 'form-select', 'data-kt-select2' => 'true',
'data-placeholder' => 'All',
'data-allow-clear' => 'true'
]
) !!}
{{-- due date range --}}
{!! Form::label('filter_due_date_range', 'Due Date Range') !!}
{!! Form::text('filter_due_date_range', null, ['class' => 'form-control flatpickr', 'data-flatpickr' => '{"mode":"range"}', 'placeholder' => __('Due Date')]) !!}
{{-- payment date range --}}
{!! Form::label('filter_payment_date_range', 'Payment Date Range') !!}
{!! Form::text('filter_payment_date_range', null, ['class' => 'form-control flatpickr', 'data-flatpickr' => '{"mode":"range"}', 'placeholder' => __('Payment Date')]) !!}