chess/resources/views/content/projects/personil.blade.php

32 lines
1.6 KiB
PHP
Raw Permalink Normal View History

2024-08-29 03:56:32 +00:00
<x-other.modal id="mForm" size="md" title="Pilih Personil" subTitle="Pilih Personil" info="Menambahkan member team project" :separator="true">
<x-slot name="action">
<button onclick="pickPersonil()" id="btn_personil_act" class="btn btn-success font-weight-bold mr-2">Next</button>
</x-slot>
<x-slot name="content">
<div class="col-12">
<form id="form_personil">
<input type="hidden" id="row_exist" value="">
<x-form.select title="Pilih Personil" id="pilih_personil">
<x-slot name="option">
@if($personil)
<option value="">Pilih Personil</option>
@foreach ($personil as $pers)
<option value="{{ $pers->id }}" data-nama="{{ $pers->full_name }}" >{{ $pers->full_name }}</option>
@endforeach
@endif
</x-slot>
</x-form.select>
<x-form.select title="Pilih Role" id="pilih_team_role">
<x-slot name="option">
@if($role_team)
<option value="">Pilih Role</option>
@foreach ($role_team as $rt)
<option value="{{ $rt->id }}" data-definition="{{ $rt->definition }}">{{ $rt->definition }}</option>
@endforeach
@endif
</x-slot>
</x-form.select>
</form>
</div>
</x-slot>
</x-other.modal>