PageSourceSearch

https://lidomatrip.com/_next/static/chunks/pages/admin/wallet-03bf6ce81a86e914.js

js lidomatrip.com collected 2026-09-25 07:11:33 UTC 19,119 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3101],{64542:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/wallet",function(){return s(63822)}])},63822:function(e,t,s){"use strict";s.r(t),s.d(t,{default:function(){return b}});var a=s(47568),n=s(10253),l=s(70655),r=s(85893),i=s(67294),c=s(44389),d=s(49759),x=s(84858),o=s(26042),u=s(32474),h=[{key:"unpaid",label:"واریز نشده"},{key:"partial",label:"واریز ناقص"},{key:"settled",label:"تسویه شده"},{key:"all",label:"همه"}];function m(){var e,t,s,a,l=(0,n.Z)((0,i.useState)("unpaid"),2),d=l[0],m=l[1],j=(0,n.Z)((0,i.useState)(1),2),g=j[0],N=j[1],b=(0,n.Z)((0,i.useState)(""),2),v=b[0],y=b[1],w=(0,n.Z)((0,i.useState)(null),2),C=w[0],S=w[1],E=new URLSearchParams((0,o.Z)({page:String(g),pageSize:String(20),filter:d},v?{q:v}:{})),k=(0,c.u)("/api/admin/wallet/deposits/payables?".concat(E.toString()),function(e){return(0,x.Px)(e)}),A=k.data,D=k.isLoading,_=k.mutate,Z=(0,c.u)("/api/admin/wallet/deposits?take=10",function(e){return(0,x.SC)(e)}),F=Z.data,P=Z.mutate,I=null!==(e=null==A?void 0:A.items)&&void 0!==e?e:[],R=I.reduce(function(e,t){return e+Math.max(t.remainder,0)},0);return(0,r.jsxs)("div",{className:"flex flex-col gap-y-16",children:[(0,r.jsx)(f,{}),(0,r.jsxs)(u.Zb,{className:"px-16 py-12 flex items-center justify-between gap-x-16 gap-y-12 flex-wrap",children:[(0,r.jsxs)("div",{className:"flex items-center gap-x-12 flex-wrap gap-y-8",children:[(0,r.jsx)(u.Qm,{tabs:h,value:d,onChange:function(e){m(e),N(1)}}),(0,r.jsx)(u.Hf,{value:v,onChange:function(e){y(e),N(1)},placeholder:"کد رزرو، نام یا موبایل میزبان"})]}),A&&(0,r.jsx)(u.p0,{page:g,pageSize:20,total:A.meta.total,pageCount:A.meta.pageCount,onPage:N})]}),I.length>0&&(0,r.jsxs)("p",{className:"text-13 leading-20 text-gray-6C6A7D",children:["مانده‌ی این صفحه: ",(0,r.jsx)("b",{className:"text-black",children:(0,u.ND)(R)})]}),D?(0,r.jsx)(u.Od,{className:"h-[320px]"}):0===I.length?(0,r.jsx)(u.Zb,{children:(0,r.jsx)(u.ub,{text:"رزروی در این وضعیت نیست"})}):(0,r.jsx)(u.Zb,{className:"overflow-x-auto",children:(0,r.jsxs)("table",{className:"w-full min-w-[1100px] text-right border-collapse",children:[(0,r.jsx)("thead",{children:(0,r.jsxs)("tr",{className:"bg-gray-F5F5F7 text-12 leading-18 text-gray-6C6A7D",children:[(0,r.jsx)("th",{className:"px-12 py-12 font-m w-40",children:"ردیف"}),(0,r.jsx)("th",{className:"px-12 py-12 font-m whitespace-nowrap",children:"کد رزرو"}),(0,r.jsx)("th",{className:"px-12 py-12 font-m whitespace-nowrap",children:"میزبان"}),(0,r.jsx)("th",{className:"px-12 py-12 font-m whitespace-nowrap",children:"شروع اقامت"}),(0,r.jsx)("th",{className:"px-12 py-12 font-m whitespace-nowrap",children:"مبلغ کل اجاره"}),(0,r.jsx)("th",{className:"px-12 py-12 font-m whitespace-nowrap",children:"کارمزد سایت"}),(0,r.jsx)("th",{className:"px-12 py-12 font-m whitespace-nowrap",children:"ارزش افزوده"}),(0,r.jsx)("th",{className:"px-12 py-12 font-m whitespace-nowrap",children:"سهم میزبان"}),(0,r.jsx)("th",{className:"px-12 py-12 font-m whitespace-nowrap",children:"واریز شده"}),(0,r.jsx)("th",{className:"px-12 py-12 font-m whitespace-nowrap",children:"مانده واریز"}),(0,r.jsx)("th",{className:"px-12 py-12 font-m"})]})}),(0,r.jsx)("tbody",{className:"divide-y divide-gray-F0F0F0",children:I.map(function(e,n){var l,i,c;return(0,r.jsxs)("tr",{className:"hover:bg-gray-F5F5F7 transition",children:[(0,r.jsx)("td",{className:"px-12 py-12 text-13 text-gray-6C6A7D",children:(0,u.N)((g-1)*20+n+1)}),(0,r.jsx)("td",{className:"px-12 py-12 whitespace-nowrap",children:(0,r.jsx)("a",{href:"/admin/reservations/".concat(e.id),className:"text-14 font-m text-primary-dark",title:null===(l=e.residence)||void 0===l?void 0:l.name,children:e.reference})}),(0,r.jsxs)("td",{className:"px-12 py-12",children:[(0,r.jsx)("div",{className:"text-14 leading-20 text-black",children:(null===(i=e.host)||void 0===i?void 0:i.name)||"بدون نام"}),(0,r.jsx)("div",{className:"text-12 leading-18 text-gray-6C6A7D",dir:"ltr",children:null===(c=e.host)||void 0===c?void 0:c.phone})]}),(0,r.jsx)("td",{className:"px-12 py-12 text-13 whitespace-nowrap",children:(0,u.IY)(e.startDate)}),(0,r.jsx)("td",{className:"px-12 py-12 text-14 whitespace-nowrap",children:(0,u.N)(e.totalAmount)}),(0,r.jsxs)("td",{className:"px-12 py-12 text-13 whitespace-nowrap text-gray-6C6A7D",children:[(0,u.N)(null!==(t=e.websiteShare)&&void 0!==t?t:0),null!=e.commissionPercent&&(0,r.jsxs)("span",{className:"text-11 text-gray-9B9BAA",children:[" (",(0,u.N)(e.commissionPercent),"٪)"]})]}),(0,r.jsx)("td",{className:"px-12 py-12 text-13 whitespace-nowrap text-gray-6C6A7D",children:(0,u.N)(null!==(s=e.vatAmount)&&void 0!==s?s:0)}),(0,r.jsx)("td",{className:"px-12 py-12 text-14 font-m whitespace-nowrap",children:(0,u.N)(null!==(a=e.hostShare)&&void 0!==a?a:0)}),(0,r.jsx)("td",{className:"px-12 py-12 text-13 whitespace-nowrap text-gray-6C6A7D",children:(0,u.N)(e.settledAmount)}),(0,r.jsx)("td",{className:"px-12 py-12 whitespace-nowrap",children:e.remainder>0?(0,r.jsx)("span",{className:"text-14 font-m text-[#C62828]",children:(0,u.N)(e.remainder)}):(0,r.jsx)(u.Ct,{tone:"green",children:"تسویه شده"})}),(0,r.jsx)("td",{className:"px-12 py-12 whitespace-nowrap",children:e.remainder>0&&(0,r.jsx)(u.zx,{onClick:function(){return S(e)},children:"ثبت واریز"})})]},e.id)})})]})}),!!(null==F?void 0:F.length)&&(0,r.jsxs)(u.Zb,{className:"p-20",children:[(0,r.jsx)("h3",{className:"text-15 leading-24 font-m text-black mb-10",children:"آخرین واریزها"}),(0,r.jsx)("div",{className:"flex flex-col gap-y-8",children:F.map(function(e){var t,s;return(0,r.jsxs)("div",{className:"flex items-baseline justify-between gap-x-12 flex-wrap text-13 leading-20 py-6 border-b border-gray-F0F0F0 last:border-0",children:[(0,r.jsxs)("span",{className:"text-black",children:[(0,u.ND)(e.amount),(0,r.jsxs)("span",{className:"text-gray-6C6A7D",children:[" به ",(null===(t=e.host)||void 0===t?void 0:t.name)||(null===(s=e.host)||void 0===s?void 0:s.phone)]}),e.reservation&&(0,r.jsxs)("span",{className:"text-gray-9B9BAA",children:[" \xb7 ",e.reservation.reference]})]}),(0,r.jsxs)("span",{className:"text-12 text-gray-6C6A7D",children:[(0,u.IY)(e.depositedAt),e.txnId&&(0,r.jsxs)(r.Fragment,{children:[" \xb7 پیگیری ",e.txnId]}),e.sender&&(0,r.jsxs)(r.Fragment,{children:[" \xb7 از ",e.sender]})]})]},e.id)})})]}),(0,r.jsx)(p,{payable:C,onClose:function(){return S(null)},onDone:function(){S(null),_(),P()}})]})}function p(e){var t,s,c,d,o=e.payable,h=e.onClose,m=e.onDone,p=(0,n.Z)((0,i.useState)(""),2),j=p[0],f=p[1],g=(0,n.Z)((0,i.useState)(""),2),N=g[0],b=g[1],v=(0,n.Z)((0,i.useState)(""),2),y=v[0],w=v[1],C=(0,n.Z)((0,i.useState)(!1),2),S=C[0],E=C[1],k=(0,n.Z)((0,i.useState)(null),2),A=k[0],D=k[1],_=null!==(t=null==o?void 0:o.id)&&void 0!==t?t:0,Z=(0,n.Z)((0,i.useState)(0),2),F=Z[0],P=Z[1];o&&F!==_&&(P(_),f(String(o.remainder)),b(""),w(""),D(null));var I=(0,u.EU)(j),R=!!o&&I>o.remainder;function O(){return(O=(0,a.Z)(function(){var e;return(0,l.__generator)(this,function(t){switch(t.label){case 0:if(!(null==o?void 0:o.host))return[2];E(!0),D(null),t.label=1;case 1:return t.trys.push([1,3,4,5]),[4,(0,x.SC)("/api/admin/wallet/deposits",{method:"POST",body:JSON.stringify({hostId:o.host.id,reservationId:o.id,amount:I,txnId:N.trim()||null,sender:y.trim()||null})})];case 2:return t.sent(),m(),[3,5];case 3:return D((e=t.sent())instanceof Error?e.message:"ثبت واریز انجام نشد"),[3,5];case 4:return E(!1),[7];case 5:return[2]}})})).apply(this,arguments)}return(0,r.jsx)(u.u_,{open:!!o,onClose:h,title:o?"ثبت واریز — ".concat(o.reference):"",children:o&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"mb-14 p-12 rounded-10 bg-gray-F5F5F7 text-12 leading-22 text-gray-6C6A7D",children:[(0,r.jsxs)("div",{className:"flex justify-between",children:[(0,r.jsx)("span",{children:"مبلغ کل اجاره"}),(0,r.jsx)("span",{className:"text-black",children:(0,u.N)(o.totalAmount)})]}),(0,r.jsxs)("div",{className:"flex justify-between",children:[(0,r.jsx)("span",{children:"سهم لیدوما"}),(0,r.jsxs)("span",{children:["− ",(0,u.N)(null!==(s=o.websiteShare)&&void 0!==s?s:0)]})]}),(0,r.jsxs)("div",{className:"flex justify-between",children:[(0,r.jsx)("span",{children:"ارزش افزوده"}),(0,r.jsxs)("span",{children:["− ",(0,u.N)(null!==(c=o.vatAmou
1nt)&&void 0!==c?c:0)]})]}),(0,r.jsxs)("div",{className:"flex justify-between pt-6 mt-6 border-t border-dashed border-gray-E5E5E6",children:[(0,r.jsx)("span",{children:"مقدار اصلی سهم میزبان"}),(0,r.jsx)("span",{className:"text-black font-m",children:(0,u.N)(null!==(d=o.hostShare)&&void 0!==d?d:0)})]}),(0,r.jsxs)("div",{className:"flex justify-between",children:[(0,r.jsx)("span",{children:"واریز شده تا کنون"}),(0,r.jsx)("span",{children:(0,u.N)(o.settledAmount)})]}),(0,r.jsxs)("div",{className:"flex justify-between",children:[(0,r.jsx)("span",{children:"مانده واریز"}),(0,r.jsx)("span",{className:"text-black font-m",children:(0,u.N)(o.remainder)})]})]}),(0,r.jsx)(u.gN,{label:"مبلغ واریز (تومان)",children:(0,r.jsx)(u.II,{inputMode:"numeric",value:I?I.toLocaleString("fa-IR"):"",onChange:function(e){return f(e.target.value)}})}),(0,r.jsxs)("div",{className:"grid md:grid-cols-2 gap-12 mt-12",children:[(0,r.jsx)(u.gN,{label:"شماره پیگیری تراکنش",children:(0,r.jsx)(u.II,{value:N,onChange:function(e){return b(e.target.value)},placeholder:"مثلاً ۱۴۰۵۰۶۰۸۱۲۳۴"})}),(0,r.jsx)(u.gN,{label:"حساب فرستنده",children:(0,r.jsx)(u.II,{value:y,onChange:function(e){return w(e.target.value)},placeholder:"نام بانک یا شماره حساب"})})]}),(0,r.jsxs)("p",{className:"mt-12 text-12 leading-20 text-gray-9B9BAA",children:["این مبلغ از موجودی ",(0,r.jsx)("b",{children:"قابل برداشت"})," میزبان کم می‌شود. اگر اقامت هنوز شروع نشده، پول مسدود است و واریز رد می‌شود."]}),R&&(0,r.jsx)("p",{className:"mt-8 text-13 text-[#C62828]",children:"مبلغ از مانده‌ی این رزرو بیشتر است."}),!!A&&(0,r.jsx)("p",{className:"mt-8 text-13 text-[#C62828]",children:A}),(0,r.jsxs)("div",{className:"flex justify-end gap-x-10 mt-16",children:[(0,r.jsx)(u.zx,{variant:"secondary",onClick:h,children:"انصراف"}),(0,r.jsx)(u.zx,{disabled:S||I<=0||R,onClick:function(){return O.apply(this,arguments)},children:S?"در حال ثبت...":"ثبت واریز"})]})]})})}var j={"release-matured":"آزادسازی سهم میزبان"};function f(){var e,t,s=(0,c.u)("/api/admin/wallet/scheduler",function(e){return(0,x.SC)(e)},{refreshInterval:6e4}),d=s.data,o=s.mutate,h=(0,n.Z)((0,i.useState)(!1),2),m=h[0],p=h[1],f=(0,n.Z)((0,i.useState)(null),2),g=f[0],N=f[1];if(!d)return null;var b=d.jobs.find(function(e){return"release-matured"===e.name}),v=!d.enabled||!d.started;function y(){return(y=(0,a.Z)(function(){var e,t;return(0,l.__generator)(this,function(s){switch(s.label){case 0:p(!0),N(null),s.label=1;case 1:return s.trys.push([1,3,4,5]),[4,(0,x.SC)("/api/admin/wallet/release-matured",{method:"POST"})];case 2:return N((null==(e=s.sent())?void 0:e.released)?"".concat((0,u.N)(e.released)," رزرو آزاد شد"):"رزروی برای آزادسازی نبود"),o(),[3,5];case 3:return N((t=s.sent())instanceof Error?t.message:"اجرا نشد"),[3,5];case 4:return p(!1),[7];case 5:return[2]}})})).apply(this,arguments)}return(0,r.jsxs)(u.Zb,{className:"px-16 py-12 flex items-center justify-between gap-x-16 gap-y-10 flex-wrap",children:[(0,r.jsxs)("div",{className:"flex items-center gap-x-12 flex-wrap gap-y-6",children:[(0,r.jsx)(u.Ct,{tone:v?"red":"green",children:v?"زمان‌بند خاموش":"زمان‌بند فعال"}),(0,r.jsxs)("span",{className:"text-13 leading-20 text-gray-6C6A7D",children:[null!==(t=j[null!==(e=null==b?void 0:b.name)&&void 0!==e?e:""])&&void 0!==t?t:null==b?void 0:b.name,b&&(0,r.jsxs)(r.Fragment,{children:[" \xb7 هر ",(0,u.N)(b.everyMinutes)," دقیقه"]}),(null==b?void 0:b.lastOkAt)?(0,r.jsxs)(r.Fragment,{children:[" \xb7 آخرین اجرای موفق ",(0,u.IY)(b.lastOkAt)]}):(0,r.jsx)(r.Fragment,{children:" \xb7 هنوز اجرا نشده"})]}),(null==b?void 0:b.running)&&(0,r.jsx)(u.Ct,{tone:"blue",children:"در حال اجرا"}),!!(null==b?void 0:b.failures)&&(0,r.jsxs)(u.Ct,{tone:"red",children:[(0,u.N)(b.failures)," خطا"]})]}),(0,r.jsxs)("div",{className:"flex items-center gap-x-10",children:[g&&(0,r.jsx)("span",{className:"text-12 text-gray-6C6A7D",children:g}),(0,r.jsx)(u.zx,{variant:"secondary",disabled:m,onClick:function(){return y.apply(this,arguments)},children:m?"در حال اجرا...":"اجرای دستی"})]})]})}var g={REQUESTED:"yellow",APPROVED:"blue",PAID:"green",REJECTED:"red"},N={REQUESTED:"در انتظار بررسی",APPROVED:"تأیید شده",PAID:"پرداخت شده",REJECTED:"رد شده"};function b(){var e,t=(0,n.Z)((0,i.useState)("settlements"),2),s=t[0],o=t[1],h=(0,n.Z)((0,i.useState)("REQUESTED"),2),p=h[0],j=h[1],f=(0,n.Z)((0,i.useState)(null),2),g=f[0],N=f[1],b=(0,n.Z)((0,i.useState)(""),2),y=b[0],w=b[1],C=(0,n.Z)((0,i.useState)(null),2),S=C[0],E=C[1],k=(0,c.u)("/api/admin/wallet/settlements?status=".concat(p,"&take=50"),x.SC),A=k.data,D=k.error,_=k.isLoading,Z=k.mutate,F=null!==(e=null==A?void 0:A.items)&&void 0!==e?e:[],P=F.reduce(function(e,t){return e+t.amount},0);function I(){return(I=(0,a.Z)(function(e,t,s){var a;return(0,l.__generator)(this,function(n){switch(n.label){case 0:E(e),n.label=1;case 1:return n.trys.push([1,4,5,6]),[4,(0,x.SC)("/api/admin/wallet/settlements/".concat(e,"/").concat(t),{method:"POST",body:JSON.stringify(null!=s?s:{})})];case 2:return n.sent(),[4,Z()];case 3:return n.sent(),N(null),w(""),[3,6];case 4:return a=n.sent(),alert((null==a?void 0:a.message)||"انجام نشد"),[3,6];case 5:return E(null),[7];case 6:return[2]}})})).apply(this,arguments)}
1return(0,r.jsxs)(d.Z,{title:"کیف پول و تسویه",children:[(0,r.jsx)("div",{className:"mb-16",children:(0,r.jsx)(u.Qm,{tabs:[{key:"settlements",label:"درخواست‌های تسویه"},{key:"deposits",label:"واریز به میزبان"}],value:s,onChange:function(e){return o(e)}})}),"deposits"===s?(0,r.jsx)(m,{}):(0,r.jsx)(v,{tab:p,setTab:j,rows:F,pendingTotal:P,isLoading:_,error:D,busy:S,act:function(e,t,s){return I.apply(this,arguments)},rejecting:g,setRejecting:N,reason:y,setReason:w})]})}function v(e){var t=e.tab,s=e.setTab,a=e.rows,n=e.pendingTotal,l=e.isLoading,i=e.error,c=e.busy,d=e.act,x=e.rejecting,o=e.setRejecting,h=e.reason,m=e.setReason;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"mb-16 grid grid-cols-1 gap-12 md:grid-cols-2",children:[(0,r.jsx)(u.bB,{label:"تعداد در \xab".concat(N[t],"\xbb"),value:(0,u.N)(a.length)}),(0,r.jsx)(u.bB,{label:"مجموع مبلغ نمایش‌داده‌شده",value:(0,u.ND)(n)})]}),(0,r.jsx)(u.Qm,{tabs:Object.keys(N).map(function(e){return{key:e,label:N[e]}}),value:t,onChange:function(e){return s(e)}}),l?(0,r.jsx)(u.Od,{className:"mt-16 h-[320px]"}):i?(0,r.jsx)(u.ub,{text:"دریافت فهرست ممکن نشد"}):0===a.length?(0,r.jsx)(u.ub,{text:"درخواستی در وضعیت \xab".concat(N[t],"\xbb نیست")}):(0,r.jsx)("div",{className:"mt-16 overflow-x-auto rounded-12 border-1 border-solid border-gray-200 bg-white",children:(0,r.jsxs)("table",{className:"w-full min-w-[860px] text-right",children:[(0,r.jsx)("thead",{className:"bg-gray-50 text-12 text-gray-500",children:(0,r.jsxs)("tr",{children:[(0,r.jsx)("th",{className:"p-12 font-r w-40",children:"ردیف"}),(0,r.jsx)("th",{className:"p-12 font-r",children:"کاربر"}),(0,r.jsx)("th",{className:"p-12 font-r",children:"مبلغ"}),(0,r.jsx)("th",{className:"p-12 font-r",children:"مقصد"}),(0,r.jsx)("th",{className:"p-12 font-r",children:"تاریخ درخواست"}),(0,r.jsx)("th",{className:"p-12 font-r",children:"وضعیت"}),(0,r.jsx)("th",{className:"p-12 font-r",children:"اقدام"})]})}),(0,r.jsx)("tbody",{children:a.map(function(e,t){var s,a;return(0,r.jsxs)("tr",{className:"border-t-1 border-solid border-gray-100 text-14",children:[(0,r.jsx)("td",{className:"p-12 text-gray-500",children:(0,u.N)(t+1)}),(0,r.jsxs)("td",{className:"p-12",children:[(0,r.jsx)("div",{className:"font-m text-black",children:(null===(s=e.user)||void 0===s?void 0:s.name)||"—"}),(0,r.jsx)("div",{className:"text-12 text-gray-500",children:null===(a=e.user)||void 0===a?void 0:a.phone})]}),(0,r.jsx)("td",{className:"p-12 font-m",children:(0,u.ND)(e.amount)}),(0,r.jsxs)("td",{className:"p-12 text-12 text-gray-600",children:[e.shaba_number?(0,r.jsxs)("div",{children:["شبا: ",e.shaba_number]}):e.card_last4?(0,r.jsxs)("div",{children:["کارت: •••• ",e.card_last4]}):"—",e.owner_name&&(0,r.jsx)("div",{className:"text-gray-500",children:e.owner_name})]}),(0,r.jsx)("td",{className:"p-12 text-12 text-gray-600",children:(0,u.IY)(e.created_at)}),(0,r.jsxs)("td",{className:"p-12",children:[(0,r.jsx)(u.Ct,{tone:g[e.status],children:N[e.status]}),e.admin_note&&(0,r.jsx)("div",{className:"mt-4 max-w-[220px] text-11 text-gray-500",children:e.admin_note})]}),(0,r.jsx)("td",{className:"p-12",children:(0,r.jsxs)("div",{className:"flex flex-wrap gap-8",children:["REQUESTED"===e.status&&(0,r.jsx)(u.zx,{disabled:c===e.id,onClick:function(){return d(e.id,"approve")},children:"تأیید"}),"APPROVED"===e.status&&(0,r.jsx)(u.zx,{disabled:c===e.id,onClick:function(){return d(e.id,"paid")},children:"پرداخت شد"}),("REQUESTED"===e.status||"APPROVED"===e.status)&&(0,r.jsx)(u.zx,{variant:"ghost",disabled:c===e.id,onClick:function(){o(e),m("")},children:"رد"}),e.processed_by&&(0,r.jsxs)("span",{className:"self-center text-11 text-gray-500",children:["توسط ",e.processed_by]})]})})]},e.id)})})]})}),(0,r.jsxs)(u.u_,{open:!!x,onClose:function(){return o(null)},title:"رد درخواست تسویه".concat(x?" — ".concat((0,u.ND)(x.amount)):""),children:[(0,r.jsx)("p",{className:"mb-12 text-13 leading-22 text-gray-600",children:"مبلغ به موجودی قابل برداشت کاربر برمی‌گردد و دلیل زیر به او نمایش داده می‌شود."}),(0,r.jsx)("textarea",{value:h,onChange:function(e){return m(e.target.value)},rows:3,placeholder:"دلیل رد درخواست",className:"mb-12 w-full rounded-8 border-1 border-solid border-gray-200 p-12 text-14 outline-none focus:border-primary-main"}),(0,r.jsxs)("div",{className:"flex justify-end gap-8",children:[(0,r.jsx)(u.zx,{variant:"ghost",onClick:function(){return o(null)},children:"انصراف"}),(0,r.jsx)(u.zx,{disabled:h.trim().length<3||c===(null==x?void 0:x.id),onClick:function(){return x&&d(x.id,"reject",{reason:h.trim()})},children:"رد و بازگشت مبلغ"})]})]})]})}}},function(e){e.O(0,[9791,9759,9774,2888,179],function(){return e(e.s=64542)}),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.