push 11/4
This commit is contained in:
@@ -53,7 +53,7 @@
|
||||
<td class="align-text-top">10</td>
|
||||
<td class="align-text-top">
|
||||
<div class="flex items-center justify-center">
|
||||
<a href=""
|
||||
<a href="/admin/system/pay-method-add?id=1"
|
||||
class='w-[30px] h-[30px] border-[1px] border-[#0041E8] rounded-[4px] text-center leading-[30px] flex items-center justify-center mr-[5px]'><i
|
||||
class='icons icon-edit'></i></a>
|
||||
<a href=""
|
||||
|
||||
@@ -24,34 +24,34 @@
|
||||
<div class="flex mb-[15px]">
|
||||
<b class="block w-[150px] text-[#383C44] ">Phân loại (*)</b>
|
||||
<div class="right">
|
||||
<div class="flex items-center mb-[7px]">
|
||||
<input type="radio" name="info[type]" value="0" checked="">
|
||||
<label for="" class="ml-[25px]">Tiền mặt khi nhận hàng (COD)</label>
|
||||
</div>
|
||||
<div class="flex items-center mb-[7px]">
|
||||
<input type="radio" name="info[type]" value="0">
|
||||
<label for="" class="ml-[25px]">Thẻ ATM/ Chuyển khoản (Internet Banking)</label>
|
||||
</div>
|
||||
<div class="flex items-center mb-[7px]">
|
||||
<input type="radio" name="info[type]" value="0">
|
||||
<label for="" class="ml-[25px]">Thẻ tín dụng Visa/Master</label>
|
||||
</div>
|
||||
<div class="flex items-center mb-[7px]">
|
||||
<input type="radio" name="info[type]" value="0">
|
||||
<label for="" class="ml-[25px]">Cổng thanh toán (VNPay, Payoo, ViettelPay ..)</label>
|
||||
</div>
|
||||
<div class="flex items-center mb-[7px]">
|
||||
<input type="radio" name="info[type]" value="0">
|
||||
<label for="" class="ml-[25px]">Ví điện tử (Moca, Momo ..)</label>
|
||||
</div>
|
||||
<div class="flex items-center mb-[7px]">
|
||||
<input type="radio" name="info[type]" value="0">
|
||||
<label for="" class="ml-[25px]">Điểm thành viên (trừ điểm tích luỹ của thành viên)</label>
|
||||
</div>
|
||||
<div class="flex items-center mb-[7px]">
|
||||
<input type="radio" name="info[type]" value="0">
|
||||
<label for="" class="ml-[25px]">Hình thức khác</label>
|
||||
</div>
|
||||
<label class="cursor-pointer flex items-center mb-[10px]">
|
||||
<input type="radio" name="info[pay-method]" value="0" class="radio checked:bg-blue-500" checked>
|
||||
<span class="label-text ml-[10px]">Tiền mặt khi nhận hàng (COD)</span>
|
||||
</label>
|
||||
<label class="cursor-pointer flex items-center mb-[10px]">
|
||||
<input type="radio" name="info[pay-method]" value="1" class="radio checked:bg-blue-500">
|
||||
<span class="label-text ml-[10px]">Thẻ ATM/ Chuyển khoản (Internet Banking)</span>
|
||||
</label>
|
||||
<label class="cursor-pointer flex items-center mb-[10px]">
|
||||
<input type="radio" name="info[pay-method]" value="2" class="radio checked:bg-blue-500">
|
||||
<span class="label-text ml-[10px]">Thẻ tín dụng Visa/Master</span>
|
||||
</label>
|
||||
<label class="cursor-pointer flex items-center mb-[10px]">
|
||||
<input type="radio" name="info[pay-method]" value="3" class="radio checked:bg-blue-500">
|
||||
<span class="label-text ml-[10px]">Cổng thanh toán (VNPay, Payoo, ViettelPay ..)</span>
|
||||
</label>
|
||||
<label class="cursor-pointer flex items-center mb-[10px]">
|
||||
<input type="radio" name="info[pay-method]" value="4" class="radio checked:bg-blue-500">
|
||||
<span class="label-text ml-[10px]">Ví điện tử (Moca, Momo ..)</span>
|
||||
</label>
|
||||
<label class="cursor-pointer flex items-center mb-[10px]">
|
||||
<input type="radio" name="info[pay-method]" value="4" class="radio checked:bg-blue-500">
|
||||
<span class="label-text ml-[10px]">Điểm thành viên (trừ điểm tích luỹ của thành viên)</span>
|
||||
</label>
|
||||
<label class="cursor-pointer flex items-center mb-[10px]">
|
||||
<input type="radio" name="info[pay-method]" value="4" class="radio checked:bg-blue-500">
|
||||
<span class="label-text ml-[10px]">Hình thức khác</span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-control mb-[15px] w-[100%]">
|
||||
@@ -75,14 +75,15 @@
|
||||
<div class="flex items-center">
|
||||
<b class="block w-[150px] text-[#383C44] ">Phân loại (*)</b>
|
||||
<div class="right flex items-center">
|
||||
<div class="flex items-center mr-[30px]">
|
||||
<input type="radio" name="info[status]" value="0" checked="">
|
||||
<label for="" class="ml-[25px]">Hiển thị</label>
|
||||
</div>
|
||||
<div class="flex items-center">
|
||||
<input type="radio" name="info[status]" value="0" checked="">
|
||||
<label for="" class="ml-[25px]">Ẩn</label>
|
||||
</div>
|
||||
<label class="cursor-pointer flex items-center mb-[10px] mr-[20px]">
|
||||
<input type="radio" name="info[status]" value="1" class="radio checked:bg-blue-500"
|
||||
checked="checked">
|
||||
<span class="label-text ml-[10px]">Hiển thị</span>
|
||||
</label>
|
||||
<label class="cursor-pointer flex items-center mb-[10px]">
|
||||
<input type="radio" name="info[status]" value="0" class="radio checked:bg-blue-500">
|
||||
<span class="label-text ml-[10px]">Ẩn hiển thị</span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,44 +1,74 @@
|
||||
<div class="global-breadcrumb-container">
|
||||
<a href="/admin/system"> Cài đặt chung </a>
|
||||
<a href="">Cài đặt phí vận chuyển </a>
|
||||
</div>
|
||||
|
||||
<div class="max-w-[1141px] flex flex-wrap items-start m-[0_auto_16px_auto]">
|
||||
<div
|
||||
class="w-[100%] p-[11px_16px] bg-white m-[0_0_16px] rounded-[10px] shadow-[0px_1px_1px_0px_rgba(0,0,0,0.10)] leading-[18px]">
|
||||
<p class="font-bold text-[20px] leading-[26px] block"> Quản lý shipping </p>
|
||||
<div class="w-[100%]">
|
||||
<div class="global-breadcrumb-container">
|
||||
<a href="/admin/system"> Cài đặt chung </a>
|
||||
<a href="">Cài đặt phí vận chuyển </a>
|
||||
</div>
|
||||
|
||||
<div
|
||||
class="w-[270px] m-[0_16px_0_0] bg-white rounded-[10px] shadow-[0px_1px_1px_0px_rgba(0,0,0,0.10)] font-[500] leading-[24px] overflow-hidden">
|
||||
<a href="javascript:void(0)" style="color: #Fff;background: #0041E8;"
|
||||
class="block p-[6px_16px] text-[#919699] hover:text-[#fff] hover:bg-[#0041E8] transition">
|
||||
Thông tin
|
||||
</a>
|
||||
</div>
|
||||
class="m-[15px] p-[11px_16px] bg-white m-[0_0_16px] rounded-[10px] shadow-[0px_1px_1px_0px_rgba(0,0,0,0.10)] leading-[18px]">
|
||||
|
||||
<div class="w-[852px]">
|
||||
<div class="p-[15px] bg-white rounded-[15px] shadow-[0px_1px_1px_0px_#0000001A]">
|
||||
<table class="style-table">
|
||||
<tr>
|
||||
<td>
|
||||
<div class="flex items-center">
|
||||
Cài đặt hệ thống chung <a href="/admin/system/shipping/setting"
|
||||
class="w-[80px] h-[32px] leading-[32px] text-center text-[#0041E8] border-[1px] border-[#0041E8] block ml-[10px] rounded-[4px]">Cài
|
||||
đặt</a>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="flex items-center">
|
||||
Cài đặt phí ship từng vùng <a href="/admin/system/shipping/fee"
|
||||
class="w-[80px] h-[32px] leading-[32px] text-center text-[#0041E8] border-[1px] border-[#0041E8] block ml-[10px] rounded-[4px]">Cài
|
||||
đặt</a>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="flex items-center justify-between mb-[10px]">
|
||||
<p class="font-bold text-[20px] leading-[26px] block"> Quản lý shipping </p>
|
||||
<a href="/admin/tag/add"
|
||||
class="inline-flex items-center whitespace-nowrap border border-[#0041E8] rounded-[4px] bg-[#F5F7FF] text-[#0041E8] p-[0_12px] font-[500] leading-[35px] group hover:bg-[#0041E8] hover:text-[#fff]">
|
||||
<span
|
||||
class="border-[1px] border-[#0041E8] h-[13px] w-[13px] leading-[10.2px] text-center rounded-[50%] mr-1 group-hover:border-[#fff]">+</span>
|
||||
<span>Thêm phương thức vận chuyển</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="p-[15px] m-[15px] bg-white rounded-[15px] shadow-[0px_1px_1px_0px_#0000001A]">
|
||||
|
||||
<table class="mt-[15px] w-[100%]">
|
||||
<thead class="bg-[#f5f5f5] text-[#000] text-[14px] font-bold">
|
||||
<tr>
|
||||
<td>STT</td>
|
||||
<td>Phân loại</td>
|
||||
<td>Phương thức</td>
|
||||
<td>Cập nhật</td>
|
||||
<td>Chỉnh sửa</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="text-center">1</td>
|
||||
<td>Nhận hàng tại cửa hàng</td>
|
||||
<td>Giao hàng nhanh trong 2 giờ (Nội thành Hà Nội +HCM)</td>
|
||||
<td>
|
||||
<p>Admin</p>
|
||||
<p>09-09-2022, 11:53 am</p>
|
||||
</td>
|
||||
<td>
|
||||
<div class="flex items-center">
|
||||
<a href="/admin/system/ship-method-add?id=1"
|
||||
class="p-[5px] border-[1px] border-[#79B0E2] text-[#79B0E2] rounded-[4px]"><i
|
||||
class="icons icon-edit"></i></a>
|
||||
<a href="/admin/tag/delete/1" class="p-[5px] border-[1px] rounded-[4px] ml-[10px]"><i
|
||||
class='icons icon-remove'></i></a>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="text-center">1</td>
|
||||
<td>Nhận hàng tại cửa hàng</td>
|
||||
<td>Giao hàng nhanh trong 2 giờ (Nội thành Hà Nội +HCM)</td>
|
||||
<td>
|
||||
<p>Admin</p>
|
||||
<p>09-09-2022, 11:53 am</p>
|
||||
</td>
|
||||
<td>
|
||||
<div class="flex items-center">
|
||||
<a href="/admin/system/ship-method-add?id=1"
|
||||
class="p-[5px] border-[1px] border-[#79B0E2] text-[#79B0E2] rounded-[4px]"><i
|
||||
class="icons icon-edit"></i></a>
|
||||
<a href="" class="p-[5px] border-[1px] rounded-[4px] ml-[10px]"><i
|
||||
class='icons icon-remove'></i></a>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
104
template/system/ship_method_add.html
Normal file
104
template/system/ship_method_add.html
Normal file
@@ -0,0 +1,104 @@
|
||||
<div class="w-[100%] mb-[100px]">
|
||||
<div class="global-breadcrumb-container">
|
||||
<a href="/admin/system"> Cài đặt chung </a>
|
||||
<a href="">Form thêm/sửa phương thức vận chuyển </a>
|
||||
</div>
|
||||
|
||||
<div class="w-[1140px] my-0 mx-auto">
|
||||
|
||||
<div class="flex items-center justify-end my-[25px]">
|
||||
<a href="/admin/ship-method-add"
|
||||
class="inline-flex items-center whitespace-nowrap border border-[#0041E8] rounded-[4px] bg-[#F5F7FF] text-[#0041E8] p-[0_12px] font-[500] leading-[35px] group hover:bg-[#0041E8] hover:text-[#fff]">
|
||||
<span
|
||||
class="border-[1px] border-[#0041E8] h-[13px] w-[13px] leading-[10.2px] text-center rounded-[50%] mr-1 group-hover:border-[#fff]">+</span>
|
||||
<span>Thêm vận chuyển mới</span>
|
||||
</a>
|
||||
<a href="/admin/ship-method"
|
||||
class="inline-flex ml-[10px] items-center whitespace-nowrap border border-[#0041E8] rounded-[4px] bg-[#0041E8] text-white p-[0_12px] font-[500] leading-[35px] group hover:bg-[#0041E8] hover:text-[#fff]">
|
||||
<span>Danh sách vận chuyển</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="flex">
|
||||
<div>
|
||||
<div
|
||||
class="w-[270px] m-[0_16px_0_0] bg-white rounded-[10px] shadow-[0px_1px_1px_0px_rgba(0,0,0,0.10)] font-[500] leading-[24px] overflow-hidden">
|
||||
<a href="javascript:void(0)" style="color: #Fff;background: #0041E8;"
|
||||
class="block p-[6px_16px] text-[#919699] hover:text-[#fff] hover:bg-[#0041E8] transition">
|
||||
Thông tin
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="w-[852px]">
|
||||
<div class="p-[15px] bg-white rounded-[15px_15px_0_0] shadow-[0px_1px_1px_0px_#0000001A]">
|
||||
<b class="block mb-[10px]">Phân loại (*)</b>
|
||||
|
||||
<div class="mb-[15px]">
|
||||
<label class="cursor-pointer flex items-center mb-[10px]">
|
||||
<input type="radio" name="info[type]" value="pick_up_at_store"
|
||||
class="radio checked:bg-blue-500" checked="checked">
|
||||
<span class="label-text ml-[10px]">Nhận hàng tại cửa hàng</span>
|
||||
</label>
|
||||
<label class="cursor-pointer flex items-center mb-[10px]">
|
||||
<input type="radio" name="info[type]" value="store_delivery"
|
||||
class="radio checked:bg-blue-500">
|
||||
<span class="label-text ml-[10px]">Giao hàng bởi cửa hàng</span>
|
||||
</label>
|
||||
<label class="cursor-pointer flex items-center mb-[10px]">
|
||||
<input type="radio" name="info[type]" value="shipping_provider"
|
||||
class="radio checked:bg-blue-500">
|
||||
<span class="label-text ml-[10px]">Giao bởi bên vận chuyển</span>
|
||||
</label>
|
||||
<label class="cursor-pointer flex items-center mb-[10px]">
|
||||
<input type="radio" name="info[type]" value="other" class="radio checked:bg-blue-500">
|
||||
<span class="label-text ml-[10px]">Hình thức khác</span>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="mb-[15px]">
|
||||
<label for="" class="block mb-[10px] font-[700] text-[14px] text-[#383C44]">Tên phương thức vận
|
||||
chuyển</label>
|
||||
<input type="text" name="" value="" placeholder="Tên phương thức vận chuyển"
|
||||
class="w-full input input-md input-bordered h-[35px] rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)] mr-[10px]">
|
||||
</div>
|
||||
|
||||
<div class="mb-[15px]">
|
||||
<label for="" class="block mb-[10px] font-[700] text-[14px] text-[#383C44]">Nội dung chi
|
||||
tiết</label>
|
||||
<textarea type="text" name="" value="" placeholder="Tên phương thức vận chuyển"
|
||||
class="w-full textarea input-bordered h-[100px] rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)] mr-[10px]"></textarea>
|
||||
</div>
|
||||
|
||||
<div class="mb-[15px]">
|
||||
<label for="" class="block mb-[10px] font-[700] text-[14px] text-[#383C44]">Thứ tự xuất hiện
|
||||
<span class="text-[14px] font-[400] text-gray-500">(cao xếp trước)</span></label>
|
||||
<input type="text" name="" value="" placeholder="Tên phương thức vận chuyển"
|
||||
class="w-[30%] input input-md input-bordered h-[35px] rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)] mr-[10px]">
|
||||
</div>
|
||||
|
||||
<div class="flex items-center">
|
||||
<label for="" class="block mb-[10px] font-[700] text-[14px] text-[#383C44] mr-[20px]">Hiển
|
||||
thị</label>
|
||||
<label class="cursor-pointer flex items-center mb-[10px] mr-[20px]">
|
||||
<input type="radio" name="info[status]" value="1" class="radio checked:bg-blue-500"
|
||||
checked="checked">
|
||||
<span class="label-text ml-[10px]">Hiển thị</span>
|
||||
</label>
|
||||
<label class="cursor-pointer flex items-center mb-[10px]">
|
||||
<input type="radio" name="info[status]" value="0" class="radio checked:bg-blue-500">
|
||||
<span class="label-text ml-[10px]">Ẩn hiển thị</span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
class="p-[10px_15px] bg-white rounded-[0_0_15px_15px] shadow-[0px_1px_1px_0px_#0000001A] mt-[10px] border-t-[6px] border-[#F6F6F6]">
|
||||
<input
|
||||
class="btn w-[95px] h-[35px] min-h-[35px] bg-[#0041E8] rounded-[4px] mt-[10px] text-white cursor-pointer"
|
||||
name="submit" type="submit" value="Cập nhật">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
Reference in New Issue
Block a user