refactor: Update front-end assets by removing Select2 integration from various forms and adjusting the build configuration.
This commit is contained in:
@@ -36,7 +36,7 @@ $breadcrumbItems = [
|
||||
<div class="tab-pane fade active show" id="detail" role="tabpanel" aria-labelledby="detail">
|
||||
<div class="form-group mb-3">
|
||||
<label for="customer_id">Client User</label>
|
||||
<select class="form-control select2" name="customer_id" id="customer_id" data-placeholder="Select Customer">
|
||||
<select class="form-control" name="customer_id" id="customer_id" data-placeholder="Select Customer">
|
||||
<option value=""></option>
|
||||
@if($customer->count())
|
||||
@foreach($customer->all() as $item)
|
||||
@@ -50,7 +50,7 @@ $breadcrumbItems = [
|
||||
|
||||
<div class="form-group mb-3">
|
||||
<label for="payment_id">Payment Method</label>
|
||||
<select class="form-control select2" name="payment_id" id="payment_id" data-placeholder="Select Payment">
|
||||
<select class="form-control" name="payment_id" id="payment_id" data-placeholder="Select Payment">
|
||||
<option value=""></option>
|
||||
@if($payment->count())
|
||||
@foreach($payment->all() as $item)
|
||||
@@ -62,7 +62,7 @@ $breadcrumbItems = [
|
||||
|
||||
<div class="form-group mb-3">
|
||||
<label for="discount_id">Promotion Code</label>
|
||||
<select class="form-control select2" name="discount_id" id="discount_id" data-placeholder="Select Discount">
|
||||
<select class="form-control" name="discount_id" id="discount_id" data-placeholder="Select Discount">
|
||||
<option value=""></option>
|
||||
@if($discount->count())
|
||||
@foreach($discount->all() as $item)
|
||||
@@ -74,7 +74,7 @@ $breadcrumbItems = [
|
||||
|
||||
<div class="form-group mb-3">
|
||||
<label for="status">Orders Status</label>
|
||||
<select class="form-control select2" name="status" id="status">
|
||||
<select class="form-control" name="status" id="status">
|
||||
<option value="0">Pending</option>
|
||||
<option value="1">Active</option>
|
||||
</select>
|
||||
@@ -97,7 +97,7 @@ $breadcrumbItems = [
|
||||
<div class="row">
|
||||
<div class="col-md-6 mb-3">
|
||||
<label>Product Type (*)</label>
|
||||
<select class="form-control select2 order_product_type"
|
||||
<select class="form-control order_product_type"
|
||||
data-append="product[0][product_id]" name="product[0][type]" id="product_type">
|
||||
<option value="">-----------</option>
|
||||
@foreach(ProductTypeEnums::cases() as $type)
|
||||
@@ -107,7 +107,7 @@ $breadcrumbItems = [
|
||||
</div>
|
||||
<div class="col-md-6 mb-3">
|
||||
<label>Product (*)</label>
|
||||
<select class="form-control select2 product_id" name="product[0][product_id]"
|
||||
<select class="form-control product_id" name="product[0][product_id]"
|
||||
id="product_id">
|
||||
<option value="">-----------</option>
|
||||
</select>
|
||||
@@ -118,7 +118,7 @@ $breadcrumbItems = [
|
||||
</div>
|
||||
<div class="col-md-6 mb-3">
|
||||
<label>Billing Cycle (*)</label>
|
||||
<select class="form-control select2" name="product[0][billing]">
|
||||
<select class="form-control" name="product[0][billing]">
|
||||
<option value="0">Free</option>
|
||||
<option value="1">One Time</option>
|
||||
<option value="2" selected>Monthly</option>
|
||||
|
||||
Reference in New Issue
Block a user