<form class="row g-3 auto-width" action="{{ route('price-settings.store') }}" method="post" enctype='multipart/form-data'
    id="source_form">
    @csrf

    <div class="col-md-12">
        <div>
            <label for="master_voucher_id" class="form-label">Voucher Master <span class="text-danger"><b>*</b></span></label>
        </div>
        <div class="input-group">
            <select class="form-control" name="master_voucher_id">
                @foreach($voucher_master as $list)
                <option value="{{ $list->id }}">{{ $list->voucher_name }}</option>
                @endforeach
            </select>
            {{-- <div class="input-group-append" style="margin: auto 10px;">
                <button class="btn btn-success add_btn" id="create_tax_category" type="button"> + </button>
            </div> --}}
        </div> 
        <span class="text-danger error_master_voucher_id" style="display: none;">This field is required.</span>
    </div>

    <div class="col-md-12">
        <label for="price_setting" class="form-label" >Price Setting <span class="text-danger"><b>*</b></span></label>
        <select class="form-select" aria-label="price_setting" name="price_setting">
            <option selected value="">Select Calculation Type</option>
            <option value="whole_sale_price">Whole Sale Price</option>
            <option value="sale_price">Sale Price</option>
            <option value="maximum_retail_price">Maximum Retail Price</option>
            <option value="purchase_price">Purchase Price</option>
            <option value="min_sale_price">Min Sale Price</option>
          </select>
        <span class="text-danger error_price_setting" style="display:none;">This field is required.</span>
    </div>
</form>
