index.html was already in git pointing at hashed bundles, but the assets folder was missing from the image so nginx 404ed every JS/CSS request. Co-authored-by: Cursor <cursoragent@cursor.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-B7iFcNBm.js";import{d as k,b as y,i as r,f as N,g as o,j as T,e as v,o as s,c as x,h as B,F as i,l as n,t as l,n as c,s as C,r as S}from"./index-uaIxISOz.js";import{p as g,a as V}from"./filters-cD_YPaih.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./index-DW596JTc.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 D=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:"لیست کیف پول های شارژ شده"},{default:o(()=>[x(h,{ref_key:"tbl",ref:f,model:c(p)},{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{D as default};
|