@section('title', 'Contracts Payments Plan Tracking Review') @php addVendor('formrepeater'); @endphp @push('styles') @laravelCommentsLivewireStyles @endpush @section('page-style') @endsection
{{-- Stats Start --}}
{{__('Contracts Payments Plan Tracking Review')}}
{!! Form::label('contracts', 'Contracts') !!} {!! Form::select('contracts', [], [], [ 'class' => 'form-select select2Remote', 'id' => 'contracts-select', // Add the 'id' attribute here 'data-placeholder' => __('All'), 'data-allow-clear' => 'true', 'data-remote' => route('resource-select', ['Contract', 'hasContract']) ]) !!}
{!! Form::label('programs', 'Programs') !!} {!! Form::select('programs', [], [], [ 'class' => 'form-select select2Remote', 'data-placeholder' => __('All'), 'data-allow-clear' => 'true', 'data-remote' => route('resource-select', ['Program', 'hasContract']) ]) !!}
{!! Form::label('project Status', 'Contract Status') !!} {!! Form::select('filter_status', $contract_statuses, null, ['class' => 'form-select', 'data-kt-select2' => 'true', 'data-placeholder' => 'All', 'data-allow-clear' => 'true']) !!}
{!! Form::label('contract_type', 'Contract Type') !!} {!! Form::select('contract_type', $contractTypes, null, ['class' => 'form-select', 'data-kt-select2' => 'true', 'data-placeholder' => 'All', 'data-allow-clear' => 'true']) !!}
{!! Form::label('phase_reviewer', 'Reviewer') !!} {!! Form::select('phase_reviewer', [], 'all', [ 'class' => 'form-select', 'data-kt-select2' => 'true', 'data-kt-template-result' => "admins", 'data-remote' => route('resource-select-user', ['Admin', 'canReviewMutualContractsPhase']), 'data-placeholder' => 'Select Reviewer', 'data-allow-clear' => 'true' ]) !!}
{!! Form::label('phase_review_status', 'Review Status') !!} {!! Form::select('phase_review_status', $review_status, 'all', [ 'class' => 'form-select', 'data-kt-select2' => 'true', 'data-placeholder' => 'Select Status', // Keep only one placeholder 'data-allow-clear' => 'true', ]) !!}
{!! Form::label('companies', 'Client') !!} {!! Form::select('companies', [], null, [ 'class' => 'form-select select2Remote', 'data-placeholder' => 'All Clients', 'data-allow-clear' => 'true', 'data-remote' => route('resource-select', ['groupedCompany', 'hasContract']), ]) !!}
{{$dataTable->table()}}
@push('scripts') {{$dataTable->scripts(null, ['nonce' => csp_nonce()])}} {{-- Real Time Editing Scripts --}} {{-- End Real Time Editing Scripts --}} @laravelCommentsLivewireScripts @endpush