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

56 lines
3.3 KiB
PHP
Raw Normal View History

2024-08-29 03:56:32 +00:00
<x-other.modal id="mEditProject" size="lg" title="Form Project" subTitle="Form Project" info="Edit Project" :separator="true">
<x-slot name="action">
<button onclick="storeEditProject()" class="btn btn-success font-weight-bold mr-2">Simpan</button>
</x-slot>
<x-slot name="content">
<div class="row">
<div class="col-12">
<div class="card card-custom card-border card-stretch gutter-b">
<div class="card-body">
<form id="form_edit_project">
<input type="hidden" id="id_project_edit" name="get_id" value="">
<div class="row">
<div class="col-lg-4">
<x-form.input title="Nama Project" id="nama_project" value=""/>
</div>
{{-- <div class="col-lg-4">
<x-form.input title="Kode Project" id="kode_project" value=""/>
</div> --}}
<div class="col-lg-4">
<x-form.select title="Project Owner" id="project_owner">
<x-slot name="option">
@if($projectOwner)
<option value="">Pilih Project Owner</option>
@foreach ($projectOwner as $pj)
<option value="{{ $pj->id }}">{{ $pj->unit_name }}</option>
@endforeach
@endif
</x-slot>
</x-form.select>
</div>
<div class="col-lg-4">
<x-form.date title="Tanggal Mulai" id="tgl_mulai" value="" />
</div>
<div class="col-lg-4">
<x-form.date title="Tanggal Selesai" id="tgl_selesai" value="" />
</div>
<div class="col-lg-8">
<div class="form-group mb-1">
<label>Logo Project</label>
<div class="custom-file">
<input type="file" class="custom-file-input" name="logo_project" id="logo_project">
<label class="custom-file-label selected" for="customFile"></label>
</div>
</div>
</div>
<div class="col-lg-12">
<x-form.textarea title="Info Detail Project" id="info_detail_project" value="" />
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</x-slot>
</x-other.modal>