<form class="row g-3 auto-width voucher_master" action="{{ route('vouchers-master.store')}}" method="post" enctype='multipart/form-data' id="type_form">
    @csrf
    <div class="col-md-12">
        <label for="voucher_name" class="form-label">Voucher Name <span class="text-danger"><b>*</b></span></label>
        <input type="text" class="form-control" id="voucher_name" name="voucher_name" aria-describedby="inputGroupPrepend" required placeholder="Name">
        <span class="text-danger error_voucher_name" style="display:none;">This field is required.</span>
    </div>
    <div class="col-md-12">
        <label for="voucher_code" class="form-label">Voucher Code <span class="text-danger"><b>*</b></span></label>
        <input type="text" class="form-control" id="voucher_code" name="voucher_code" aria-describedby="inputGroupPrepend" required placeholder="Code">
        <span class="text-danger error_voucher_code" style="display:none;">This field is required.</span>
    </div>
    <div class="col-md-12">
        <label for="serial_no_format" class="form-label">Serial No Format <span class="text-danger"><b>*</b></span></label>
        <input type="text" class="form-control" id="serial_no_format" name="serial_no_format" aria-describedby="inputGroupPrepend" required placeholder="Serial No Format">
        <span class="text-danger error_serial_no_format" style="display:none;">This field is required.</span>
    </div>
    <div class="col-md-12">
        <label for="decimal_length" class="form-label">Decimal Length <span class="text-danger"><b>*</b></span></label>
        <input type="integer" class="form-control" id="decimal_length" name="decimal_length" aria-describedby="inputGroupPrepend" required placeholder="Serial No Format"  max="9" min="0">
        <span class="text-danger error_decimal_length" style="display:none;">This field is required.</span>
    </div>
</form>