Files
tehran_taj/apps/admin-panel/dist/assets/newsletters-O6c9pnMf.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
949 B
JavaScript

import{a as l,b as t,X as c}from"./model-mwiDYd1J.js";import{d,a as i,w as a,r as m,o as _,c as p,p as f,t as u,h as w,m as b,_ as x}from"./index-CpVArufm.js";import"./filters-CoNJlguG.js";import"./index-DjZc5EYL.js";import"./SettingOutlined-E4OknxY2.js";function h(){const e=new l("admin/misc/newsletter/list","لیست خبرنامه");return e.add(new t("name","نام").filterKey("email").filterText()),e.add(new t("mobile","شماره موبایل").filterNumber()),e.add(new t("op","عملیات").noSort().renderSlot("actions")),e}const N={class:"muted"},X=d({__name:"newsletters",setup(e){const s=h(),o=b(null);return(k,y)=>{const r=m("a-card");return _(),i(r,{title:"لیست خبرنامه",class:"page-card"},{default:a(()=>[p(c,{ref_key:"newsletter",ref:o,model:w(s),"mobile-cards":""},{actions:a(({record:n})=>[f("span",N,u(n.email??"-"),1)]),_:1},8,["model"])]),_:1})}}}),v=x(X,[["__scopeId","data-v-c5c2159a"]]);export{v as default};