This commit is contained in:
2025-12-07 15:58:07 +07:00
parent 75a641ab40
commit 942aeafb60
2211 changed files with 178727 additions and 89 deletions

View File

@@ -0,0 +1,50 @@
<div class="w-[100%] mb-[50px]">
<div class="text-sm breadcrumbs ml-[10px]">
<ul>
<li><a href="/admin/shipping2">Quản lý phí ship</a></li>
<li class="text-[#0041E8]">Chọn vùng</li>
</ul>
</div>
<div class="m-[15px] p-[15px] rounded-[15px] bg-white shadow-[0_1px_1px_0_rgba(0,0,0,0.1)] overflow-x-auto">
<b>Chọn danh sách tỉnh thành để quản lý phí tới Quận/Huyện</b>
<table class="mt-[15px] w-[30%]">
<tbody>
<tr class="bg-[#f5f5f5] font-bold">
<td width="50" align="center">STT</td>
<td>Tên</td>
<td width="70">Quản lý</td>
</tr>
<tr>
<td align="center">1</td>
<td>Hà nội</td>
<td><a href="/admin/shipping2/fee/province_id=1" class="link font-bold text-[#0041E8]">Quản lý</a>
</td>
</tr>
<tr>
<td align="center">1</td>
<td>Hà nội</td>
<td><a href="/admin/shipping2/fee/province_id=1" class="link font-bold text-[#0041E8]">Quản lý</a>
</td>
</tr>
<tr>
<td align="center">1</td>
<td>Hà nội</td>
<td><a href="/admin/shipping2/fee/province_id=1" class="link font-bold text-[#0041E8]">Quản lý</a>
</td>
</tr>
<tr>
<td align="center">1</td>
<td>Hà nội</td>
<td>
<a href="" class="link font-bold text-[#0041E8]">Quản lý</a>
</td>
</tr>
</tbody>
</table>
</div>
</div>

View File

@@ -0,0 +1,22 @@
<div class="w-[100%]">
<div class="m-[15px] p-[15px] rounded-[15px] bg-white shadow-[0_1px_1px_0_rgba(0,0,0,0.1)] overflow-x-auto">
<h1 class="text-[24px] font-[700] mb-3">Quản lý shipping</h1>
<div class="mb-[20px]">
<h2 class="font-[16px] font-bold mb-[10px]">Cài đặt hệ thống chung</h2>
<a href="/admin/shipping2/setting"
class="group flex items-center justify-center w-[100px] border-[1px] border-[#0041E8] rounded-[4px] p-[5px_10px_5px_10px] hover:bg-blue-700">
<i class="fa-solid fa-screwdriver-wrench mr-[5px] text-[#0041E8] group-hover:text-white"></i>
<span class="text-[#0041E8] font-bold group-hover:text-white">Cài đặt</span>
</a>
</div>
<div class="mb-[20px]">
<h2 class="font-[16px] font-bold mb-[10px]">Cài đặt phí ship từng vùng</h2>
<a href="/admin/shipping2/fee"
class="group flex items-center justify-center w-[100px] border-[1px] border-[#0041E8] rounded-[4px] p-[5px_10px_5px_10px] hover:bg-blue-700">
<i class="fa-solid fa-screwdriver-wrench mr-[5px] text-[#0041E8] group-hover:text-white"></i>
<span class="text-[#0041E8] font-bold group-hover:text-white">Cài đặt</span>
</a>
</div>
</div>
</div>

View File

@@ -0,0 +1,91 @@
<div class="w-[100%] mb-[50px]">
<div class="text-sm breadcrumbs ml-[10px]">
<ul>
<li><a href="/admin/shipping2">Quản lý phí ship</a></li>
<li class="text-[#0041E8]">Cài đặt chung</li>
</ul>
</div>
<div class="w-[1140px] my-0 mx-auto">
<div class="bg-white p-[10px] rounded-[10px] shadow-[0_1px_1px_0px_#0000001A] my-[15px]">
<b class="mb-[10px] text-[16px]">Cài đặt giá trị đơn hàng:</b>
<div class="flex items-center">
<p>Giá trị đơn hàng không tính giá :
</p>
<input type="text" class="input input-bordered input-sm h-[35px] rounded-[4px] ml-[10px]">
</div>
<div class="italic text-gray-500 my-[10px]">(* Đơn hàng có giá trị nhỏ hơn giá trị này sẽ được áp dụng biểu
phí theo
vùng)</div>
<b class="mb-[10px] text-[16px]">Cài đặt phí thu hộ:</b>
<table class="mt-[15px] w-[50%]" id="tb_province">
<tbody>
<tr class="bg-[#f5f5f5] font-bold">
<td class="whitespace-nowrap">STT</td>
<td class="whitespace-nowrap">Giá trị đơn hàng dưới mức</td>
<td class="whitespace-nowrap">Phú thu hộ (VNĐ)</td>
<td class="whitespace-nowrap">Quản lý</td>
</tr>
<tr>
<td>1</td>
<td>
<input type="text" value="0" class="input input-bordered iput-sm h-[35px] rounded-[4px]" />
</td>
<td>
<input type="text" value="30.000"
class="input input-bordered iput-sm h-[35px] rounded-[4px]" />
</td>
<td class="whitespace-nowrap">
<a href="/admin/tag/delete/1"
class="block w-[30px] h-[30px] leading-[30px] p-[5px] border-[1px] rounded-[4px]"><i
class='icons icon-remove'></i></a>
</td>
</tr>
<tr>
<td>1</td>
<td>
<input type="text" value="0" class="input input-bordered iput-sm h-[35px] rounded-[4px]" />
</td>
<td>
<input type="text" value="30.000"
class="input input-bordered iput-sm h-[35px] rounded-[4px]" />
</td>
<td class="whitespace-nowrap">
<a href="/admin/tag/delete/1"
class="block w-[30px] h-[30px] leading-[30px] p-[5px] border-[1px] rounded-[4px]"><i
class='icons icon-remove'></i></a>
</td>
</tr>
</tbody>
</table>
<a href="javascript:addRow()" class="my-[10px] block text-[#0041E8] font-bold">[+] Thêm hàng</a>
<input
class="btn w-[95px] h-[35px] min-h-[35px] bg-[#0041E8] rounded-[4px] mb-[10px] text-white cursor-pointer"
name="submit" type="submit" value="Cập nhật">
<div>
<b class="mb-[5px] text-red-500 block">Hướng dẫn cài phí thu hộ</b>
<p>Phí thu hộ được tính theo giá trị cần thu hộ, ví dụ:</p>
<ul>
<li>- Từ 0 đến <=1 triệu=30.000đ=> Cần nhập là 1.000.000</li>
<li>- Từ >1 triệu đến <= 2 triệu=50.000đ=> Cần nhập là 2.000.000</li>
<li>- Từ >2 triệu đến <= 3 triệu=70.000đ=> Cần nhập là 3.000.000</li>
<li>- Từ >3 triệu đến <= 4 triệu=90.000đ=> Cần nhập là 4.000.000</li>
<li>- Từ >4 triệu đến <= 5 triệu=110.000đ=> Cần nhập là 5.000.000</li>
<li>- Từ >5 triệu đến <= 6 triệu=130.000đ=> Cần nhập là 6.000.000</li>
<li>- Từ >6 triệu đến <= 7 triệu=150.000đ=> Cần nhập là 7.000.000</li>
<li>- Từ >7 triệu đến <= 8 triệu=170.000đ=> Cần nhập là 8.000.000</li>
<li>- Từ >8 triệu đến <= 9 triệu=190.000đ=> Cần nhập là 9.000.000</li>
<li>- Trên 9 triệu = 0đ => Cần nhập là 10.000.000.000 (nhập số lớn nhất có thể)</li>
</ul>
<p class="mt-[10px]">Để xóa phí nào nó, click "Xóa bỏ" và nhấn "Cập nhật" để lưu lại</p>
</div>
</div>
</div>
</div>