up
This commit is contained in:
@@ -69,7 +69,7 @@
|
||||
<td>
|
||||
<div style="display: flex;align-items: center;flex-wrap: wrap;">
|
||||
<select name='info[type]' onchange="show_content(this.value)"
|
||||
class="w-[135px_!important] mr-[15px]">
|
||||
class="w-[170px] mr-[15px] select select-bordered h-[38px] min-h-[38px] rounded-[4px]">
|
||||
<option value='pro' selected>Tặng sản phẩm</option>
|
||||
<option value='cash'>Tặng tiền mặt</option>
|
||||
<option value='priceoff'>Giảm giá %</option>
|
||||
@@ -115,7 +115,8 @@
|
||||
|
||||
<p class="mr-[10px]"> Giờ </p>
|
||||
|
||||
<select name='info[from_time_minute]' id='from_time_minute' style="width: 85px;">
|
||||
<select name='info[from_time_minute]' id='from_time_minute'
|
||||
class="select select-bordered w-[100px] h-[38px] min-h-[38px] rounded-[4px]">
|
||||
<option value="00:00">00:00</option>
|
||||
<option value="00:30">00:30</option>
|
||||
<option value="01:00">01:00</option>
|
||||
@@ -178,7 +179,8 @@
|
||||
|
||||
<p class="mr-[10px]"> Giờ </p>
|
||||
|
||||
<select name='info[to_time_minute]' id='from_time_minute' style="width: 85px;">
|
||||
<select name='info[to_time_minute]' id='from_time_minute'
|
||||
class="select select-bordered w-[100px] h-[38px] min-h-[38px] rounded-[4px]">
|
||||
<option value="00:00">00:00</option>
|
||||
<option value="00:30">00:30</option>
|
||||
<option value="01:00">01:00</option>
|
||||
@@ -277,12 +279,14 @@
|
||||
<td>
|
||||
<label class="items-center cursor-pointer relative pl-[30px] mb-[8px]"
|
||||
style="display: inline-flex;">
|
||||
<input type="radio" name="info[product_condition]" value="all" class="left-0">
|
||||
<input type="radio" name="info[product_condition]" value="all"
|
||||
class="left-0 radio checked:bg-blue-500 ">
|
||||
<span> Tất cả các sản phầm </span>
|
||||
</label>
|
||||
<br>
|
||||
<label class="items-center cursor-pointer relative pl-[30px]" style="display: inline-flex;">
|
||||
<input type="radio" name="info[product_condition]" value="select" checked class="left-0">
|
||||
<input type="radio" name="info[product_condition]" value="select" checked
|
||||
class="left-0 radio checked:bg-blue-500">
|
||||
<span> Chỉ một số sản phẩm (* bạn sẽ cần chọn danh sách các sản phẩm)</span>
|
||||
</label>
|
||||
</td>
|
||||
@@ -300,15 +304,15 @@
|
||||
<tr>
|
||||
<td> Hiển thị </td>
|
||||
<td>
|
||||
<label class="items-center cursor-pointer relative pl-[30px] mr-[15px]"
|
||||
style="display: inline-flex;">
|
||||
<input type="radio" name="info[status]" value="1" class="left-0">
|
||||
<span>Cho hiển thị</span>
|
||||
<label class="flex items-center cursor-pointer relative pl-[30px] mr-[15px]">
|
||||
<input type="radio" name="info[status]" value="1" class="left-0 radio checked:bg-blue-500">
|
||||
<span class="label-text ml-[5px]">Cho hiển thị</span>
|
||||
</label>
|
||||
|
||||
<label class="items-center cursor-pointer relative pl-[30px]" style="display: inline-flex;">
|
||||
<input type="radio" name="info[status]" value="0" checked class="left-0">
|
||||
<span>Ẩn hiển thị</span>
|
||||
<label class="flex items-center cursor-pointer relative pl-[30px]">
|
||||
<input type="radio" name="info[status]" value="0" checked
|
||||
class="left-0 radio checked:bg-blue-500">
|
||||
<span class="label-text ml-[5px]">Ẩn hiển thị</span>
|
||||
</label>
|
||||
|
||||
</td>
|
||||
@@ -337,18 +341,16 @@
|
||||
<td>
|
||||
<input type="hidden" name="info[code_auto]" value="">
|
||||
|
||||
<label class="items-center cursor-pointer relative pl-[26px] mb-[8px] w-[fit-content]"
|
||||
style="display: flex;">
|
||||
<label class="flex items-center cursor-pointer relative pl-[26px] mb-[8px] w-[fit-content]">
|
||||
<input type="radio" onchange="$('#info_code_manual_input').css('display','none')"
|
||||
name="info[code_type]" value="auto" checked class="left-0">
|
||||
<span> Hệ thống tự tạo </span>
|
||||
name="info[code_type]" value="auto" checked class="left-0 radio checked:bg-blue-500">
|
||||
<span class="label-text ml-[5px]">Hệ thống tự tạo </span>
|
||||
</label>
|
||||
|
||||
<label class="items-center cursor-pointer relative pl-[26px] w-[fit-content]"
|
||||
style="display: flex;">
|
||||
<label class="flex items-center cursor-pointer relative pl-[26px] w-[fit-content]">
|
||||
<input type="radio" onchange="$('#info_code_manual_input').css('display','inline-block')"
|
||||
name="info[code_type]" value="manual" class="left-0">
|
||||
<span> Tự nhập tay </span>
|
||||
name="info[code_type]" value="manual" class="left-0 radio checked:bg-blue-500">
|
||||
<span class="label-text ml-[5px]"> Tự nhập tay </span>
|
||||
</label>
|
||||
|
||||
<div id="info_code_manual_input" class="w-[100%] mt-[12px]" style="display: none;">
|
||||
@@ -389,7 +391,7 @@
|
||||
<td>
|
||||
<div style="display: flex;align-items: center;flex-wrap: wrap;">
|
||||
<select name='info[type]' onchange="show_content(this.value)"
|
||||
class="w-[135px_!important] mr-[15px]">
|
||||
class="w-[170px] mr-[15px] select select-bordered h-[38px] min-h-[38px] rounded-[4px]">
|
||||
<option value='pro' selected>Tặng sản phẩm</option>
|
||||
<option value='cash'>Tặng tiền mặt</option>
|
||||
<option value='priceoff'>Giảm giá %</option>
|
||||
@@ -435,7 +437,8 @@
|
||||
|
||||
<p class="mr-[10px]"> Giờ </p>
|
||||
|
||||
<select name='info[from_time_minute]' id='from_time_minute' style="width: 85px;">
|
||||
<select name='info[from_time_minute]' id='from_time_minute'
|
||||
class="select select-bordered w-[100px] h-[38px] min-h-[38px] rounded-[4px]">
|
||||
<option value="00:00">00:00</option>
|
||||
<option value="00:30">00:30</option>
|
||||
<option value="01:00">01:00</option>
|
||||
@@ -498,7 +501,8 @@
|
||||
|
||||
<p class="mr-[10px]"> Giờ </p>
|
||||
|
||||
<select name='info[to_time_minute]' id='from_time_minute' style="width: 85px;">
|
||||
<select name='info[to_time_minute]' id='from_time_minute'
|
||||
class="select select-bordered w-[100px] h-[38px] min-h-[38px] rounded-[4px]">
|
||||
<option value="00:00">00:00</option>
|
||||
<option value="00:30">00:30</option>
|
||||
<option value="01:00">01:00</option>
|
||||
@@ -576,8 +580,8 @@
|
||||
<td>
|
||||
<label class="items-center cursor-pointer" style="display: inline-flex;">
|
||||
<input type="checkbox" name="info[can_use_with_other]" value="1"
|
||||
class="scale-[1.2] mr-[7px]">
|
||||
<span> Có cho phép (1 đơn hàng có thể có nhiều voucher) </span>
|
||||
class="checkbox checkbox-success mr-[7px]">
|
||||
<span class="label-text"> Có cho phép (1 đơn hàng có thể có nhiều voucher) </span>
|
||||
</label>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -586,8 +590,9 @@
|
||||
<td> Hiển thị công khai </td>
|
||||
<td>
|
||||
<label class="items-center cursor-pointer" style="display: inline-flex;">
|
||||
<input type="checkbox" name="info[show_to_public]" class="scale-[1.2] mr-[7px]">
|
||||
<span> Cho hiển thị công khai (nếu giao diện web có) </span>
|
||||
<input type="checkbox" name="info[show_to_public]"
|
||||
class="checkbox checkbox-success mr-[7px]">
|
||||
<span class="label-text"> Cho hiển thị công khai (nếu giao diện web có) </span>
|
||||
</label>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -597,14 +602,17 @@
|
||||
<td>
|
||||
<label class="items-center cursor-pointer relative pl-[30px] mb-[8px]"
|
||||
style="display: inline-flex;">
|
||||
<input type="radio" name="info[product_condition]" value="all" class="left-0" checked>
|
||||
<span> Tất cả các sản phầm </span>
|
||||
<input type="radio" name="info[product_condition]" value="all"
|
||||
class="left-0 radio checked:bg-blue-500" checked>
|
||||
<span class="label-text ml-[5px]"> Tất cả các sản phầm </span>
|
||||
</label>
|
||||
<br>
|
||||
|
||||
<label class="items-center cursor-pointer relative pl-[30px]" style="display: inline-flex;">
|
||||
<input type="radio" name="info[product_condition]" value="select" class="left-0">
|
||||
<span> Chỉ một số sản phẩm (* bạn sẽ cần chọn danh sách các sản phẩm)</span>
|
||||
<input type="radio" name="info[product_condition]" value="select"
|
||||
class="left-0 radio checked:bg-blue-500">
|
||||
<span class="label-text ml-[5px]"> Chỉ một số sản phẩm (* bạn sẽ cần chọn danh sách các sản
|
||||
phẩm)</span>
|
||||
</label>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -623,13 +631,14 @@
|
||||
<td>
|
||||
<label class="items-center cursor-pointer relative pl-[30px] mr-[15px]"
|
||||
style="display: inline-flex;">
|
||||
<input type="radio" name="info[status]" value="1" class="left-0" checked>
|
||||
<span>Cho hiển thị</span>
|
||||
<input type="radio" name="info[status]" value="1" class="left-0 radio checked:bg-blue-500"
|
||||
checked>
|
||||
<span class="label-text ml-[5px]">Cho hiển thị</span>
|
||||
</label>
|
||||
|
||||
<label class="items-center cursor-pointer relative pl-[30px]" style="display: inline-flex;">
|
||||
<input type="radio" name="info[status]" value="0" class="left-0">
|
||||
<span>Ẩn hiển thị</span>
|
||||
<input type="radio" name="info[status]" value="0" class="left-0 radio checked:bg-blue-500">
|
||||
<span class="label-text ml-[5px]">Ẩn hiển thị</span>
|
||||
</label>
|
||||
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user