{{ html()->label('Complaint Against')->class('form-label') }}
{{ html()->select('employee_id')->class('form-select select2')->placeholder('Select Employee')->required() }}
{{ html()->div('Please select employee')->class('invalid-feedback') }}
{{ html()->label('Complaint By')->class('form-label') }}
{{ html()->select('complaint_by')->class('form-select select2')->placeholder('Select Who Complaint')->required() }}
{{ html()->div('Please select complaint by')->class('invalid-feedback') }}
{{ html()->label('Complaint Date')->class('form-label') }}
{{ html()->date('complaint_date')->class('form-control')->placeholder('Select Date')->required() }}
{{ html()->div('Please select complaint date')->class('invalid-feedback') }}
{{ html()->label('Description')->class('form-label') }}
{{ html()->textarea('description')->class('form-control')->attributes(['rows' => 3]) }}
{{ html()->label('Remarks')->class('form-label') }}
{{ html()->textarea('remarks')->class('form-control')->attributes(['rows' => 3]) }}
{{ html()->button($editable ? 'Update' : 'Add Complaint', 'submit')->class('btn btn-success') }}
@push('js')
@endpush