pos-gis/resources/views/content/ref/product/form.blade.php

44 lines
1.9 KiB
PHP
Raw Permalink Normal View History

2024-10-07 06:13:42 +00:00
<x-other.modal id="mForm" title="Tambah Data" subTitle="Tambah Data {{$title}}" info="" separator="false" size="md">
<x-slot name="action">
<button onclick="store()" 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-12">
<x-form.select title="Product Group" id="product_group_id">
<x-slot name="option">
<option value=""></option>
@php
$group = \DB::table('product_group')->get();
@endphp
@foreach($group as $item)
<option value="{{$item->product_group_id}}">{{$item->product_group_name}}</option>
@endforeach
</x-slot>
</x-form.select>
</div>
<div class="col-md-12">
<x-form.input title="Product Name" id="product_name" value="" />
</div>
<div class="col-md-6">
<x-form.currency maxlength="10" title="Nominal" id="product_nominal" value="" />
</div>
<div class="col-md-6">
<x-form.no maxlength="2" title="Rank" id="rank" value="" />
</div>
</div>
</form>
</x-slot>
</x-other.modal>