update
This commit is contained in:
@@ -1,173 +1,168 @@
|
||||
<div class="w-[100%] mb-[50px]">
|
||||
<div class="w-full mb-[50px]">
|
||||
|
||||
<div class="text-sm breadcrumbs ml-[10px]">
|
||||
<div class="text-sm breadcrumbs">
|
||||
<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>
|
||||
<li class="text-active">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="w-7xl mx-auto">
|
||||
<div class="bg-white p-3 rounded-sm shadow mt-5">
|
||||
<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 href="/admin/customer/customer-add" class="btn btn-outline btn-view btn-sm">
|
||||
<span data-lucide="circle-plus" class="size-4">+</span>
|
||||
<span class="">Thêm khách hàng mới</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="flex">
|
||||
<div class="left w-[270px] mr-[10px]">
|
||||
<div class="grid grid-cols-4 gap-5 mt-5">
|
||||
<div class="left">
|
||||
<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
|
||||
class="item block w-full text-white bg-[#0041E8] rounded-sm text-[13px] p-2 font-bold">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 class="right col-span-3">
|
||||
<div class="bg-white p-3 rounded-sm shadow ">
|
||||
<b class="text-xl block">Thông tin khách hàng</b>
|
||||
<div class="flex items-center my-2">
|
||||
<b class="text-gray-500 mr-2">Thuộc tính khách hàng</b>
|
||||
<a href="/admin/customer/customer-group" class="text-active">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">
|
||||
<div class="flex items-center gap-5 mt-5">
|
||||
<label class="flex items-center 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>
|
||||
class="checkbox checkbox-active checkbox-sm rounded-sm">
|
||||
<span class="label-text ml-2 text-gray-500">Mua lẻ</span>
|
||||
</label>
|
||||
<label class="flex items-center mb-[10px] w-[20%] cursor-pointer">
|
||||
<label class="flex items-center 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>
|
||||
class="checkbox checkbox-active checkbox-sm rounded-sm">
|
||||
<span class="label-text ml-2 text-gray-500">Khách HCM</span>
|
||||
</label>
|
||||
<label class="flex items-center mb-[10px] w-[20%] cursor-pointer">
|
||||
<label class="flex items-center 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>
|
||||
class="checkbox checkbox-active checkbox-sm rounded-sm">
|
||||
<span class="label-text ml-2 text-gray-500">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>
|
||||
<div class="grid grid-cols-2 gap-5 mt-5">
|
||||
<div class="form-control">
|
||||
<label class="font-bold text-base">Tên khách hàng</label>
|
||||
<input type="text" size="60" name="" placeholder="Tên khách hàng"
|
||||
class="w-[100%] h-[35px] input input-bordered input-md rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]">
|
||||
class="w-full input input-bordered input-md rounded-sm shadow mt-3">
|
||||
</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]">
|
||||
<div class="">
|
||||
<label class="block font-bold text-base">Sinh nhật</label>
|
||||
<div class="grid grid-cols-3 gap-5 mt-3">
|
||||
<div class="input-date">
|
||||
<input type="day" name="" placeholder="Ngày"
|
||||
class="w-[100%] h-[35px] input input-bordered input-md rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]">
|
||||
class="w-full input input-md rounded-sm shadow">
|
||||
</div>
|
||||
<div class="input-date w-[100%] mx-[7px]">
|
||||
<div class="input-date">
|
||||
<input type="day" name="" placeholder="Tháng"
|
||||
class="w-[100%] h-[35px] input input-bordered input-md rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]">
|
||||
class="w-full input input-md rounded-sm shadow">
|
||||
</div>
|
||||
<div class="input-date w-[100%] ml-[7px]">
|
||||
<div class="input-date">
|
||||
<input type="day" name="" placeholder="Năm"
|
||||
class="w-[100%] h-[35px] input input-bordered input-md rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]">
|
||||
class="w-full input input-md rounded-sm shadow">
|
||||
</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 mt-5">
|
||||
<label class="w-[120px] font-bold text-base">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"
|
||||
<label class="cursor-pointer flex items-center mr-[25px] gap-2">
|
||||
<input type="radio" name="info[sex]" value="0" class="radio radio-active radio-sm"
|
||||
checked="checked" />
|
||||
<span class="label-text ml-[10px] text-[#6B7280]">Nam</span>
|
||||
<span class="label-text">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 class="cursor-pointer flex items-center gap-2">
|
||||
<input type="radio" name="info[sex]" value="1" class="radio radio-active radio-sm" />
|
||||
<span class="label-text">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>
|
||||
<div class="mt-5 grid grid-cols-3 gap-5">
|
||||
<div class="form-control">
|
||||
<label class="font-bold text-base">Địa chỉ Email</label>
|
||||
<input type="text" size="60" name="" placeholder="Địa chỉ Email"
|
||||
class="w-[100%] h-[35px] input input-bordered input-md rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]">
|
||||
class="w-full input input-bordered input-md rounded-sm shadow mt-3" />
|
||||
</div>
|
||||
<div class="form-control w-[100%] mx-[7px]">
|
||||
<label class="font-[600] mb-[5px] text-[14px]">Điện thoại nhà</label>
|
||||
<div class="form-control">
|
||||
<label class="font-bold text-base">Điện thoại nhà</label>
|
||||
<input type="text" size="60" name="" placeholder="Điện thoại nhà"
|
||||
class="w-[100%] h-[35px] input input-bordered input-md rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]">
|
||||
class="w-full input input-bordered input-md rounded-sm shadow mt-3" />
|
||||
</div>
|
||||
<div class="form-control w-[100%] ml-[7px]">
|
||||
<label class="font-[600] mb-[5px] text-[14px]">Điện thoại di động</label>
|
||||
<div class="form-control">
|
||||
<label class="font-bold text-base">Điện thoại di động</label>
|
||||
<input type="text" size="60" name="" placeholder="Điện thoại di động"
|
||||
class="w-[100%] h-[35px] input input-bordered input-md rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]">
|
||||
class="w-full input input-bordered input-md rounded-sm shadow mt-3" />
|
||||
</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%] select select-bordered h-[35px] min-h-[35px] rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]">
|
||||
<div class="mt-5 grid grid-cols-2 gap-5">
|
||||
<div class="form-control">
|
||||
<label class="font-bold text-base">Tỉnh/TP</label>
|
||||
<select name="" class="w-full select select-bordered rounded-sm shadow mt-3">
|
||||
<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%] select select-bordered h-[35px] min-h-[35px] rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]">
|
||||
<div class="form-control">
|
||||
<label class="font-bold text-base">Quận huyện</label>
|
||||
<select name="" class="w-full select select-bordered rounded-sm shadow mt-3">
|
||||
<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>
|
||||
<div class="form-control mt-5">
|
||||
<label class="font-bold text-base">Địa chỉ</label>
|
||||
<textarea type="text" size="60" name="" placeholder="Địa chỉ"
|
||||
class="w-[100%] h-[120px] textarea textarea-bordered rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]"></textarea>
|
||||
class="w-full h-[120px] textarea textarea-bordered rounded-sm shadow mt-3"></textarea>
|
||||
</div>
|
||||
|
||||
<div class="form-control mb-[15px] w-[100%]">
|
||||
<label class="font-[600] mb-[5px] text-[14px]">Tên công ty</label>
|
||||
<div class="form-control mt-5">
|
||||
<label class="font-bold text-base">Tên công ty</label>
|
||||
<input type="text" size="60" name="" placeholder="Tên công ty"
|
||||
class="w-[100%] h-[35px] input input-bordered input-md rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]" />
|
||||
class="w-full h-[35px] input input-bordered input-md rounded-sm shadow mt-3" />
|
||||
</div>
|
||||
|
||||
<div class="form-control mb-[15px] w-[100%]">
|
||||
<label class="font-[600] mb-[5px] text-[14px]">Mã số thuế</label>
|
||||
<div class="form-control mt-5">
|
||||
<label class="font-bold text-base">Mã số thuế</label>
|
||||
<input type="text" size="60" name="" placeholder="Mã số thuế"
|
||||
class="w-[100%] h-[35px] input input-bordered input-md rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]" />
|
||||
class="w-full h-[35px] input input-bordered input-md rounded-sm shadow mt-3" />
|
||||
</div>
|
||||
|
||||
<div class="form-control mb-[15px] w-[100%]">
|
||||
<label class="font-[600] mb-[5px] text-[14px]">Địa chỉ công ty</label>
|
||||
<div class="form-control mt-5">
|
||||
<label class="font-bold text-base">Địa chỉ công ty</label>
|
||||
<input type="text" size="60" name="" placeholder="Địa chỉ công ty"
|
||||
class="w-[100%] h-[35px] input input-bordered input-md rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]" />
|
||||
class="w-full h-[35px] input input-bordered input-md rounded-sm shadow mt-3" />
|
||||
</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>
|
||||
<div class="form-control mt-5">
|
||||
<label class="font-bold text-base">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] textarea textarea-bordered rounded-[4px] shadow-[0_2px_4px_0_rgba(0,0,0,0.12)]"></textarea>
|
||||
class="w-full h-[120px] textarea textarea-bordered rounded-sm shadow mt-3"></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 class="bg-white p-3 rounded-sm shadow mt-5">
|
||||
<input class="btn btn-active" id="submit-collection-btn" name="commit" type="submit"
|
||||
value="Cập nhật" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user