Files
tehran_taj/apps/admin-panel/dist/assets/report-BNLBN5x0.js
T
mahmoodandClaude Sonnet 5.5 6514b05d18 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>
2026-10-29 18:09:02 +03:30

2 lines
772 B
JavaScript

import{d,x as i,y as p,a as r,w as m,m as u,r as n,o as a,b as s,F as k,e as y,t as f,_ as h}from"./index-CpVArufm.js";const g={key:1,class:"links"},v=["href"],x=d({__name:"report",setup(b){const t=u([]);return i(async()=>{try{const{data:e}=await p.get("dashboard/link");t.value=Array.isArray(e)?e:[]}catch(e){console.log(e)}}),(e,w)=>{const c=n("a-empty"),l=n("a-card");return a(),r(l,{title:"مدیریت گزارشات",class:"page-card"},{default:m(()=>[t.value.length===0?(a(),r(c,{key:0,description:"هنوز لینکی تعریف نشده است"})):(a(),s("div",g,[(a(!0),s(k,null,y(t.value,(o,_)=>(a(),s("a",{key:_,href:o.url,target:"_blank",class:"link-card"},f(o.title),9,v))),128))]))]),_:1})}}}),C=h(x,[["__scopeId","data-v-e88c54db"]]);export{C as default};