chess/resources/views/content/others/company/form.blade.php
Ramadhon Ikhsan Prasetya 603e31b0f4 init
2024-08-29 10:56:32 +07:00

52 lines
3.4 KiB
PHP

<x-other.modal id="mForm" title="Tambah Data" subTitle="Tambah Data Perusahaan" 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-md-4">
<div >Logo Perusahaan</div>
<div class="form-group image-input mb-3" id="kt_image_2" style="border: 1px solid gainsboro;">
<div id="ava1" class="image-input-wrapper" style="width: 200px;
height: 200px;background-image: url({{asset('assets/media/logos/no_img.png')}});background-size: contain; background-repeat: no-repeat; background-position: center center;"></div>
<label class="btn btn-xs btn-icon btn-circle btn-white btn-hover-text-primary btn-shadow" data-action="change" data-toggle="tooltip" title="" data-original-title="Change avatar">
<i class="fa fa-pen icon-sm text-muted"></i>
<input type="file" name="logo_url" id="logo_url" accept=".png, .jpg, .jpeg"/>
<input type="hidden" name="profile_avatar_remove"/>
</label>
<span id="pic-cancel" class="btn btn-xs btn-icon btn-circle btn-white btn-hover-text-primary btn-shadow" data-action="cancel" data-toggle="tooltip" title="Cancel avatar">
<i class="ki ki-bold-close icon-xs text-muted"></i>
</span>
</div>
<div class="mb-5">
<small >Format Gambar PNG,JPG,JPEG maksimal 250 Kb. rekomendasi solusi 420x420 </small>
</div>
</div>
<div class="col-md-4">
<x-form.input title="Nama Perusahaan" id="company_name" value="" />
<x-form.input title="Kode Perusahaan" id="company_code" value="" />
<x-form.textarea title="Alamat Perusahaan" id="address" value="" />
</div>
<div class="col-md-4">
<x-form.input title="Nomor Telepon" id="phone_no" value="" />
<x-form.input title="Email" id="email" value="" />
<x-form.input title="Nama PIC" id="pic_name" value="" />
</div>
</div>
</div>
</div>
</form>
</x-slot>
</x-other.modal>