// SYSTEM PANEL //
[ROOT]
/
home
/
csender
/
legus.lawnet.me_backup_20250830-212545
/
assets
[ PARENT ]
EDIT :: ClientDetails-CiPqnIEM.js
import{d as c,r as p,b as v,e as i,f as t,T as b,S as g,n as m,h as u,l as f,G as h,E as y,z as w}from"./index-BhhcJpm2.js";const C={class:"min-h-screen bg-[#F4F4F6]",dir:"rtl"},F={class:"flex pt-16"},k={class:"flex flex-col flex-1 p-6"},A={class:"bg-white rounded-lg shadow-sm border border-gray-200"},L={class:"overflow-x-auto"},M={class:"w-full border-collapse border border-gray-200"},V={class:"hover:bg-gray-50 border-b border-gray-200"},B={class:"px-4 py-3 border-r border-gray-200"},H={class:"flex items-center gap-2"},E={class:"px-4 py-3 border-r border-gray-200"},j={class:"flex items-center gap-2"},D={class:"px-4 py-3 border-r border-gray-200"},T={class:"flex items-center gap-2"},N=c({__name:"ClientDetails",setup(z){const n=y(),d=h(),e=p(!1),o=()=>{e.value=!e.value},x=()=>{const r=d.params.id;n.push(`/clients/${r}/add-case`)},l=async r=>{try{await navigator.clipboard.writeText(r)}catch(s){console.error("Failed to copy: ",s)}};return(r,s)=>(w(),v("div",C,[i(b,{sidebarCollapsed:e.value,onToggleSidebar:o},null,8,["sidebarCollapsed"]),t("div",F,[i(g,{isCollapsed:e.value,onToggle:o},null,8,["isCollapsed"]),t("div",{class:m(["flex flex-col flex-1 min-h-full transition-all duration-300",e.value?"mr-16":"mr-64"])},[t("div",k,[t("div",{class:"flex items-center justify-between mb-6"},[s[4]||(s[4]=t("div",{class:"flex items-center gap-2 text-sm text-gray-600"},[t("span",null,"الرئيسية"),t("span",null,"/"),t("span",null,"إدارة العملاء"),t("span",null,"/"),t("span",{class:"text-[#DA7E13]"},"تفاصيل العميل")],-1)),t("button",{onClick:x,class:"flex items-center gap-2 px-4 py-2 bg-[#DA7E13] text-white rounded hover:bg-[#DA7E13]/90 transition-colors"},s[3]||(s[3]=[t("svg",{class:"w-4 h-4",fill:"currentColor",viewBox:"0 0 24 24"},[t("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"})],-1),f(" إضافة قضية ")]))]),s[17]||(s[17]=u('<div class="bg-white rounded-lg shadow-sm p-8 mb-6 relative" dir="rtl"><button class="absolute top-4 left-4 p-2 text-gray-600 hover:bg-gray-100 rounded-full transition-colors"><svg class="w-5 h-5" fill="currentColor" viewBox="0 0 24 24"><path d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"></path></svg></button><div class="flex items-start justify-between gap-8"><div class="flex-shrink-0"><div class="w-40 h-32 bg-white border-2 border-gray-200 rounded flex flex-col items-center justify-center text-gray-400"><svg class="w-12 h-12 mb-2" fill="currentColor" viewBox="0 0 24 24"><path d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"></path></svg><span class="text-xs font-medium">LOGO</span></div></div><div class="flex-1"><div class="grid grid-cols-5 gap-x-8 gap-y-6"><div class="text-right"><span class="text-sm text-gray-400 block mb-1">الاسم عربي</span><p class="font-normal text-[#273F62] text-base">شركة CFT</p></div><div class="text-right"><span class="text-sm text-gray-400 block mb-1">الاسم انجليزي</span><p class="font-normal text-[#273F62] text-base">CFT COMPANY.</p></div><div class="text-right"><span class="text-sm text-gray-400 block mb-1">الاسم التجاري</span><p class="font-normal text-[#273F62] text-base">CFT COMPANY.</p></div><div class="text-right"><span class="text-sm text-gray-400 block mb-1">البريد الالكتروني</span><p class="font-normal text-[#273F62] text-base">example@cft.com</p></div><div class="text-right"><span class="text-sm text-gray-400 block mb-1">العنوان</span><p class="font-normal text-[#273F62] text-base">الكويت، الكويت، المنطقة الجنوبية، شارع الحمد، مبنى رقم 2542، نت رقم 54</p></div><div class="text-right"><span class="text-sm text-gray-400 block mb-1">نوع الحساب</span><p class="font-normal text-[#273F62] text-base">شركة</p></div><div class="text-right"><span class="text-sm text-gray-400 block mb-1">اسم العميل</span><p class="font-normal text-[#273F62] text-base">5465785</p></div><div class="text-right"><span class="text-sm text-gray-400 block mb-1">تاريخ تسجيل العميل</span><p class="font-normal text-[#273F62] text-base">2020/5/1</p></div><div class="text-right"><span class="text-sm text-gray-400 block mb-1">رقم الهاتف</span><p class="font-normal text-[#273F62] text-base">56848754</p></div><div class="text-right"><span class="text-sm text-gray-400 block mb-1">الرقم المدني</span><p class="font-normal text-[#273F62] text-base">5487986121S</p></div></div><div class="flex justify-start mt-6"><label class="flex items-center gap-1 cursor-pointer"><input type="checkbox" checked class="w-4 h-4 accent-[#DA7E13] border-gray-300 rounded focus:ring-[#DA7E13] focus:ring-1"><span class="text-xs text-[#273F62]">تفعيل حساب العميل</span></label></div></div></div></div><div class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-6" dir="rtl"><div class="bg-white rounded-lg shadow-sm p-6"><div class="flex items-center justify-between" dir="rtl"><div class="flex-shrink-0"><svg class="w-12 h-12 text-[#273F62]" fill="currentColor" viewBox="0 0 24 24"><path d="M7,15H9C9,16.08 10.37,17 12,17C13.63,17 15,16.08 15,15C15,13.9 13.96,13.5 11.76,12.97C9.64,12.44 7,11.78 7,9C7,7.21 8.47,5.69 10.5,5.18V3H13.5V5.18C15.53,5.69 17,7.21 17,9H15C15,7.92 13.63,7 12,7C10.37,7 9,7.92 9,9C9,10.1 10.04,10.5 12.24,11.03C14.36,11.56 17,12.22 17,15C17,16.79 15.53,18.31 13.5,18.82V21H10.5V18.82C8.47,18.31 7,16.79 7,15Z"></path></svg></div><div class="text-right"><div class="text-3xl font-bold text-[#273F62] mb-1">245</div><p class="text-gray-600 text-sm">إجمالي المعاملات</p></div></div></div><div class="bg-white rounded-lg shadow-sm p-6"><div class="flex items-center justify-between" dir="rtl"><div class="flex-shrink-0"><svg class="w-12 h-12 text-[#22C55E]" fill="currentColor" viewBox="0 0 24 24"><path d="M12 16L6 10H18L12 16Z"></path></svg></div><div class="text-right"><div class="text-3xl font-bold text-[#22C55E] mb-1">245</div><p class="text-gray-600 text-sm">المحصل</p></div></div></div><div class="bg-white rounded-lg shadow-sm p-6"><div class="flex items-center justify-between" dir="rtl"><div class="flex-shrink-0"><svg class="w-12 h-12 text-[#FFA500]" fill="none" stroke="currentColor" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10"></circle><polyline points="12,6 12,12 16,14"></polyline></svg></div><div class="text-right"><div class="text-3xl font-bold text-[#FFA500] mb-1">245</div><p class="text-gray-600 text-sm">المنتهي</p></div></div></div></div>',2)),t("div",A,[s[16]||(s[16]=t("div",{class:"flex",dir:"rtl"},[t("button",{class:"px-8 py-4 text-sm font-medium bg-[#DA7E13] text-white rounded-none"}," القضايا "),t("button",{class:"px-8 py-4 text-sm font-medium bg-[#9CA3AF] text-white rounded-none"}," الحسابات الثابتة ")],-1)),t("div",L,[t("table",M,[s[15]||(s[15]=t("thead",{class:"bg-[#F8F9FA]"},[t("tr",{class:"text-right border-b border-gray-200"},[t("th",{class:"px-4 py-3 text-sm font-medium text-[#54524F] border-r border-gray-200"},"#"),t("th",{class:"px-4 py-3 text-sm font-medium text-[#54524F] border-r border-gray-200"},"كود القضية"),t("th",{class:"px-4 py-3 text-sm font-medium text-[#54524F] border-r border-gray-200"},"عنوان القضية"),t("th",{class:"px-4 py-3 text-sm font-medium text-[#54524F] border-r border-gray-200"},[t("div",{class:"flex items-center gap-1"},[t("span",null,"مرحلة القضية"),t("svg",{class:"w-3 h-3 text-gray-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M8 9l4-4 4 4m0 6l-4 4-4-4"})])])]),t("th",{class:"px-4 py-3 text-sm font-medium text-[#54524F] border-r border-gray-200"},"الرقم الآلي"),t("th",{class:"px-4 py-3 text-sm font-medium text-[#54524F] border-r border-gray-200"},"المحكمة"),t("th",{class:"px-4 py-3 text-sm font-medium text-[#54524F] border-r border-gray-200"},"خيارات")])],-1)),t("tbody",null,[t("tr",V,[s[11]||(s[11]=t("td",{class:"px-4 py-3 text-sm text-[#54524F] border-r border-gray-200"},"01",-1)),t("td",B,[t("div",H,[s[6]||(s[6]=t("span",{class:"text-sm text-[#54524F]"},"2026/7",-1)),t("button",{class:"text-gray-400 hover:text-[#DA7E13] focus:outline-none focus:ring-0 active:outline-none",onClick:s[0]||(s[0]=a=>l("2026/7"))},s[5]||(s[5]=[t("svg",{class:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z"})],-1)]))])]),s[12]||(s[12]=t("td",{class:"px-4 py-3 text-sm text-[#54524F] border-r border-gray-200"},"فهد حطا",-1)),s[13]||(s[13]=t("td",{class:"px-4 py-3 border-r border-gray-200"},[t("span",{class:"inline-flex items-center px-2 py-1 rounded-full text-xs bg-yellow-100 text-yellow-800"}," متداولة ")],-1)),t("td",E,[t("div",j,[s[8]||(s[8]=t("span",{class:"text-sm text-[#54524F]"},"1451",-1)),t("button",{class:"text-gray-400 hover:text-[#DA7E13] focus:outline-none focus:ring-0 active:outline-none",onClick:s[1]||(s[1]=a=>l("1451"))},s[7]||(s[7]=[t("svg",{class:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z"})],-1)]))])]),t("td",D,[t("div",T,[s[10]||(s[10]=t("span",{class:"text-sm text-[#54524F]"},"اسم محكمة",-1)),t("button",{class:"text-gray-400 hover:text-[#DA7E13] focus:outline-none focus:ring-0 active:outline-none",onClick:s[2]||(s[2]=a=>l("اسم محكمة"))},s[9]||(s[9]=[t("svg",{class:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z"})],-1)]))])]),s[14]||(s[14]=t("td",{class:"px-4 py-3 border-r border-gray-200"},[t("div",{class:"flex items-center gap-1 justify-end",dir:"rtl"},[t("button",{class:"p-1 text-[#DA7E13] hover:bg-orange-50 rounded",title:"عرض"},[t("svg",{class:"w-4 h-4",fill:"currentColor",viewBox:"0 0 24 24"},[t("path",{d:"M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9M12,17A5,5 0 0,1 7,12A5,5 0 0,1 12,7A5,5 0 0,1 17,12A5,5 0 0,1 12,17M12,4.5C7,4.5 2.73,7.61 1,12C2.73,16.39 7,19.5 12,19.5C17,19.5 21.27,16.39 23,12C21.27,7.61 17,4.5 12,4.5Z"})])]),t("button",{class:"p-1 text-blue-600 hover:bg-blue-50 rounded",title:"تعديل"},[t("svg",{class:"w-4 h-4",fill:"currentColor",viewBox:"0 0 24 24"},[t("path",{d:"M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z"})])]),t("button",{class:"p-1 text-red-600 hover:bg-red-50 rounded",title:"حذف"},[t("svg",{class:"w-4 h-4",fill:"currentColor",viewBox:"0 0 24 24"},[t("path",{d:"M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z"})])])])],-1))])])])])])])],2)])]))}});export{N as default};
SAVE
CANCEL