Files
admin_hura_8/template/customer/customer_add.html
2025-02-19 14:55:19 +07:00

175 lines
11 KiB
HTML

<div class="w-[100%] mb-[50px]">
<div class="text-sm breadcrumbs ml-[10px]">
<ul>
<li><a href="/admin/customer">Danh sách khách hàng</a></li>
<li class="text-[#0041E8]">Form thêm khách hàng</li>
</ul>
</div>
<div class="w-[1140px] my-0 mx-auto p-[0_15px]">
<div class="bg-white p-[10px] rounded-[10px] shadow-[0_1px_1px_0px_#0000001A] mb-[15px]">
<div class="flex items-center justify-between">
<div>
<h1 class="text-[20px] font-[700]">Cập nhật lại khách hàng</h1>
<span class="text-[#6B7280]">Khách hàng: Nguyễn Duy Thành</span>
</div>
<a href="/admin/customer/customer-add"
class="flex items-center border-[1px] border-[#ECECEC] rounded-[4px] p-[5px_10px_5px_10px]">
<span
class="w-[14px] h-[14px] border-[1px] rounded-[50%] border-[#6B7280] text-center leading-[11px] mr-[5px] text-[#6B7280]">+</span>
<span class="text-[#6B7280]">Thêm khách hàng mới</span>
</a>
</div>
</div>
<div class="flex">
<div class="left w-[270px] mr-[10px]">
<div class="list-tab">
<a href="javascript:void(0)"
class="item block w-[100%] h-[36px] text-white bg-[#0041E8] rounded-[10px] text-[13px] leading-[35px] px-[10px]">Nội
dung</a>
</div>
</div>
<div class="right w-[860px]">
<div
class="bg-white p-[10px] rounded-[10px_10px_0_0] shadow-[0_-1px_1px_0px_#0000001A] border-b-[6px] border-[#FAFAFB]">
<b class="text-[20px] mb-[10px] block">Thông tin khách hàng</b>
<div class="flex items-center my-[10px]">
<b class="text-[#383C44] mr-[10px]">Thuộc tính khách hàng</b>
<a href="/admin/customer/customer-group" class="text-[#0041E8]">Quản lý nhóm khách hàng</a>
</div>
<div class="flex items-center">
<label class="flex items-center mb-[10px] w-[20%] cursor-pointer">
<input type="checkbox" name="change_url_on_update" value="1" checked
class="checkbox checkbox-success">
<span class="label-text ml-[10px] text-[#6B7280]">Mua lẻ</span>
</label>
<label class="flex items-center mb-[10px] w-[20%] cursor-pointer">
<input type="checkbox" name="change_url_on_update" value="1"
class="checkbox checkbox-success">
<span class="label-text ml-[10px] text-[#6B7280]">Khách HCM</span>
</label>
<label class="flex items-center mb-[10px] w-[20%] cursor-pointer">
<input type="checkbox" name="change_url_on_update" value="1"
class="checkbox checkbox-success">
<span class="label-text ml-[10px] text-[#6B7280]">Khách VIP</span>
</label>
</div>
<div class="flex items-center justify-between">
<div class="form-control mb-[15px] w-[100%] mr-[7px]">
<label class="font-[600] mb-[5px] text-[14px]">Tên khách hàng</label>
<input type="text" size="60" name="" placeholder="Tên khách hàng"
class="w-[100%] border-[1px] border-[#D8D8D8] py-[6px] px-[10px] rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]">
</div>
<div class="mb-[15px] w-[100%] ml-[7px]">
<label class="block font-[600] mb-[5px] text-[14px]">Sinh nhật</label>
<div class="flex items-center justify-between">
<div class="input-date w-[100%] mr-[7px]">
<input type="day" name="" placeholder="Ngày"
class="w-[100%] border-[1px] border-[#D8D8D8] py-[6px] px-[10px] rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]">
</div>
<div class="input-date w-[100%] mx-[7px]">
<input type="day" name="" placeholder="Tháng"
class="w-[100%] border-[1px] border-[#D8D8D8] py-[6px] px-[10px] rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]">
</div>
<div class="input-date w-[100%] ml-[7px]">
<input type="day" name="" placeholder="Năm"
class="w-[100%] border-[1px] border-[#D8D8D8] py-[6px] px-[10px] rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]">
</div>
</div>
</div>
</div>
<div class="mb-[15px] flex items-center">
<label class="w-[120px] font-[600] text-[14px]">Giới tính</label>
<div class="flex items-center">
<label class="cursor-pointer flex items-center mr-[25px]">
<input type="radio" name="info[sex]" value="0" class="radio checked:bg-blue-500"
checked="checked" />
<span class="label-text ml-[10px] text-[#6B7280]">Nam</span>
</label>
<label class="cursor-pointer flex items-center">
<input type="radio" name="info[sex]" value="1" class="radio checked:bg-blue-500" />
<span class="label-text ml-[10px] text-[#6B7280]">Nữ</span>
</label>
</div>
</div>
<div class="mb-[15px] flex items-center justify-between">
<div class="form-control w-[100%] mr-[7px]">
<label class="font-[600] mb-[5px] text-[14px]">Địa chỉ Email</label>
<input type="text" size="60" name="" placeholder="Địa chỉ Email"
class="w-[100%] border-[1px] border-[#D8D8D8] py-[6px] px-[10px] rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]">
</div>
<div class="form-control w-[100%] mx-[7px]">
<label class="font-[600] mb-[5px] text-[14px]">Điện thoại nhà</label>
<input type="text" size="60" name="" placeholder="Điện thoại nhà"
class="w-[100%] border-[1px] border-[#D8D8D8] py-[6px] px-[10px] rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]">
</div>
<div class="form-control w-[100%] ml-[7px]">
<label class="font-[600] mb-[5px] text-[14px]">Điện thoại di động</label>
<input type="text" size="60" name="" placeholder="Điện thoại di động"
class="w-[100%] border-[1px] border-[#D8D8D8] py-[6px] px-[10px] rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]">
</div>
</div>
<div class="mb-[15px] flex items-center justify-between">
<div class="form-control w-[100%] mr-[7px]">
<label class="font-[600] mb-[5px] text-[14px]">Tỉnh/TP</label>
<select name=""
class="w-[100%] border-[1px] border-[#D8D8D8] py-[6px] px-[10px] rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]">
<option value="">Hà nội</option>
</select>
</div>
<div class="form-control w-[100%] ml-[7px]">
<label class="font-[600] mb-[5px] text-[14px]">Quận huyện</label>
<select name=""
class="w-[100%] border-[1px] border-[#D8D8D8] py-[6px] px-[10px] rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]">
<option value="">Quận Ba Đình</option>
</select>
</div>
</div>
<div class="form-control mb-[15px] w-[100%]">
<label class="font-[600] mb-[5px] text-[14px]">Địa chỉ</label>
<textarea type="text" size="60" name="" placeholder="Địa chỉ"
class="w-[100%] h-[120px] border-[1px] border-[#D8D8D8] py-[6px] px-[10px] rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]"></textarea>
</div>
<div class="form-control mb-[15px] w-[100%]">
<label class="font-[600] mb-[5px] text-[14px]">Tên công ty</label>
<input type="text" size="60" name="" placeholder="Tên công ty"
class="w-[100%] border-[1px] border-[#D8D8D8] py-[6px] px-[10px] rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]" />
</div>
<div class="form-control mb-[15px] w-[100%]">
<label class="font-[600] mb-[5px] text-[14px]">Mã số thuế</label>
<input type="text" size="60" name="" placeholder="Mã số thuế"
class="w-[100%] border-[1px] border-[#D8D8D8] py-[6px] px-[10px] rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]" />
</div>
<div class="form-control mb-[15px] w-[100%]">
<label class="font-[600] mb-[5px] text-[14px]">Địa chỉ công ty</label>
<input type="text" size="60" name="" placeholder="Địa chỉ công ty"
class="w-[100%] border-[1px] border-[#D8D8D8] py-[6px] px-[10px] rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]" />
</div>
<div class="form-control mb-[15px] w-[100%]">
<label class="font-[600] mb-[5px] text-[14px]">Ghi chú về khách hàng này</label>
<textarea type="text" size="60" name="" placeholder="Ghi chú về khách hàng này"
class="w-[100%] h-[120px] border-[1px] border-[#D8D8D8] py-[6px] px-[10px] rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]"></textarea>
</div>
</div>
<div class="bg-white p-[10px] rounded-[0_0_10px_10px] shadow-[0_1px_1px_0px_#0000001A]">
<input class="w-[82px] h-[32px] bg-[#0041E8] rounded-[4px] text-white cursor-pointer"
id="submit-collection-btn" name="commit" type="submit" value="Cập nhật" />
</div>
</div>
</div>
</div>