51 lines
3.0 KiB
PHP
51 lines
3.0 KiB
PHP
<x-other.modal id="mForm" title="Tambah Data" subTitle="Tambah Data Project" info="" separator="false" size="xl">
|
|
<x-slot name="action">
|
|
<button onclick="store()" type="button" class="btn btn-success font-weight-bold mr-2" id="znBtnLoader">Simpan</button>
|
|
</x-slot>
|
|
<x-slot name="content">
|
|
<form id="formData">
|
|
<input id="get_id" type="hidden" name="get_id" value="">
|
|
{{-- <input id="is_active" type="hidden" name="is_active" value=""> --}}
|
|
|
|
<div class="separator separator-dashed separator-border-1 mt-5 mb-5"></div>
|
|
<div class="card">
|
|
<div class="card-body">
|
|
<div class="row">
|
|
<div class="col-lg-4">
|
|
<x-form.select title="Client" id="client_project">
|
|
<x-slot name="option">
|
|
<option value="">Pilih Client</option>
|
|
@if (!empty($client))
|
|
@foreach ($client as $c)
|
|
<option value="{{ $c->id }}">{{ $c->client_name }}</option>
|
|
@endforeach
|
|
@endif
|
|
</x-slot>
|
|
</x-form.select>
|
|
<input type="hidden" name="client_name" id="client_name">
|
|
</div>
|
|
<div class="col-lg-4">
|
|
<x-form.select title="Project" id="project_id">
|
|
<x-slot name="option">
|
|
<option value="">Pilih Project</option>
|
|
@if (!empty($project_pm))
|
|
@foreach ($project_pm as $p)
|
|
<option value="{{ $p->id }}" data-projectdet="{{ $p->project_detail }}">{{ $p->project_name }}</option>
|
|
@endforeach
|
|
@endif
|
|
</x-slot>
|
|
</x-form.select>
|
|
<input type="hidden" name="project_name" id="project_name">
|
|
</div>
|
|
<div class="col-lg-12">
|
|
<x-form.textarea title="Info Detail Project" id="info_detail_project" value="" />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</x-slot>
|
|
</x-other.modal>
|
|
|
|
|