- apps: the fixed «در حال مشاهده بهعنوان» strip (38px) sat over the fixed page headers, which still sat at top: 0 (the old 30px body padding was shorter than the strip too). The strip's height is now one variable, --aab-h, that the fixed headers (PageBar, home, dashboard, toasts) use as their top. - admin: the customer form offers only «مغازه دار اپلیکیشن» to anyone but the super admin; bankers and walk-in shopkeepers are listed by super-admin-only endpoints, so ordinary admins lost the customers they created under them. - admin: the mobile slider rid (custom.config.statics.slider) was only under the «سفارشی» branch, which the permission screen hides outside level 104. Same rid, now listed under «مدیریت ثابت ها». Display only: the slider routes are still gated by config.statics. Rebuilds admin-panel, user-app and user-app-v2 dist. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2 lines
1.4 KiB
JavaScript
2 lines
1.4 KiB
JavaScript
import{a as w,b as t,X as h}from"./model-qEyXFzcU.js";import{d as k,u as y,b as r,a as N,w as o,i as T,r as v,o as s,c as x,p as B,F as i,f as n,t as l,h as c,q as C,m as S}from"./index-D8Sl1lAu.js";import{a as g,b as V}from"./filters-DgXlZ4wf.js";import"./SettingOutlined-BVtVPkyH.js";import"./index-DBCPuYKo.js";function X(){const e=new w("admin/documents/wallet/list","لیست کیف پول های شارژ شده");return e.add(new t("id","شماره")),e.add(new t("customer.name","نام مشتری").filterKey("customer.fullName").filterText()),e.add(new t("order.id","شماره سفارش").filterText()),e.add(new t("value","میزان شارژ").renderSlot("value")),e.add(new t("expire_at","تاریخ انقضا").noSort().renderSlot("time")),e.noFilters(),e}const z=k({__name:"wallet",setup(e){const m=y(),u=d=>!!m.hasPermission(d),p=X(),f=S(null);return(d,F)=>{const _=v("a-card");return s(),r("div",null,[u("wallet.percent")?(s(),N(_,{key:0,title:"لیست کیف پول های شارژ شده",class:"page-card"},{default:o(()=>[x(h,{ref_key:"tbl",ref:f,model:c(p),"mobile-cards":""},{time:o(({text:a})=>[n(l(a?c(V)(a):""),1)]),value:o(({text:a,record:b})=>[B("span",{class:C({"text-danger":a<0,"text-success":a>0})},[b.transaction_type==1?(s(),r(i,{key:0},[n(l(Math.abs(Number(a)))+" گرم ",1)],64)):(s(),r(i,{key:1},[n(l(c(g)(Math.abs(Number(a)))),1)],64))],2)]),_:1},8,["model"])]),_:1})):T("",!0)])}}});export{z as default};
|