pos-gis/resources/views/content/ref/useredc/form.blade.php
2024-10-07 13:13:42 +07:00

54 lines
2.3 KiB
PHP

<x-other.modal id="mForm" title="Tambah Data" subTitle="Tambah Data {{$title}}" info="" separator="false" size="md">
<x-slot name="action">
<button onclick="storeCustom()" type="button" class="btn btn-transparent-white 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="row">
<div class="col-md-6">
<x-form.username title="Username" id="username" value="" />
</div>
<div class="col-md-6">
<x-form.input title="E-Mail" id="email" value="" />
</div>
<div class="col-md-12">
<x-form.input title="Nama User" id="user_nm" value="" />
</div>
<div class="col-md-6">
<x-form.no maxlength="15" title="No HP" id="phone_no" value="" />
</div>
<div class="col-md-6">
<x-form.no maxlength="16" title="KTP" id="ktp" value="" />
</div>
<div class="col-md-12">
<x-form.textarea title="Alamat" id="address" value="" />
</div>
<div class="col-md-12">
<x-form.select title="Merchant" id="mid">
<x-slot name="option">
{{-- @php
$mer = \DB::table('merchant')->get();
@endphp
<option value=""></option>
@foreach($mer as $item)
<option value="{{$item->mid}}">{{$item->merchant_nm}}</option>
@endforeach --}}
</x-slot>
</x-form.select>
</div>
</div>
</form>
</x-slot>
</x-other.modal>