fix(money,orders): wage/gram-debt parity, atomic document confirm, expert edit, made-to-order, QA fixes
- Rial wage and gram-debt arithmetic matched to the reference; order corrections keep debt in sync - Document confirm/un-confirm is a compare-and-swap (no double-applied cache under concurrency) - Settlement document and expert inputs validated (400 instead of 500) - Expert: edit / activate-deactivate own customers, adjust raw weights only - Made-to-order flow in the app, PreOrder.quantity migration - Order grids: customer column, sort keys; panel select search; pre-order quantity save - Rebuilt release artifacts Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
959a272227
commit
6514b05d18
@@ -0,0 +1 @@
|
||||
import{u as x}from"./auth-taL2eAff.js";import{d as v,x as y,y as h,a as b,w as t,m as g,r as u,o as w,c as s,f as n,t as c,s as m}from"./index-CpVArufm.js";const B=v({__name:"myData",setup(C){const d=x(),_=g(null),o=m(()=>_.value??d.user),i=m(()=>{var a,r;return(r=(a=o.value)==null?void 0:a.user_type)==null?void 0:r.title});return y(async()=>{try{const{data:a}=await h.get("admin/users/me");_.value=a}catch(a){console.log(a)}}),(a,r)=>{const l=u("a-descriptions-item"),p=u("a-descriptions"),f=u("a-card");return w(),b(f,{title:"اطلاعات کاربری",class:"page-card"},{default:t(()=>[s(p,{column:{xxl:3,xl:3,lg:3,md:2,sm:2,xs:1}},{default:t(()=>[s(l,{label:"نام"},{default:t(()=>{var e;return[n(c(((e=o.value)==null?void 0:e.fname)||"-"),1)]}),_:1}),s(l,{label:"نام خانوادگی"},{default:t(()=>{var e;return[n(c(((e=o.value)==null?void 0:e.lname)||"-"),1)]}),_:1}),s(l,{label:"شماره تلفن"},{default:t(()=>{var e;return[n(c(((e=o.value)==null?void 0:e.mobile)||"-"),1)]}),_:1}),s(l,{label:"نوع کاربری"},{default:t(()=>[n(c(i.value||"آنلاین"),1)]),_:1})]),_:1})]),_:1})}}});export{B as default};
|
||||
Reference in New Issue
Block a user