1import{_ as v}from"./Dy9eVqBY.js";import{d as h,N as D,a8 as S,b as $,x as k,y as i,g as a,B as d,o as l,j as n,w as o,h as C,c as T,i as c,p as I,t as w,u as B,v as N}from"#entry";const A={key:1,class:"text-center"},E=h({__name:"index",setup(V){const{selectedAccount:s}=D(S()),{t:e}=$(),{codeTypeToI18nCode:r}=k(),u=[{name:"billingDate",label:e("table.column.billing-date"),field:"billingDate",align:"center",format:t=>i(t).format(e("common.date-format.default.date"))},{name:"amount",label:e("table.column.billing-amount"),field:"amount",align:"center",format:t=>`${t.toLocaleString()}${e("common.unit.currency")}${e("content.manage.payment.list.include-vat")}`},{name:"paymentDate",label:e("table.column.payment-date"),field:"paymentDate",align:"center",format:t=>i(t).format(e("common.date-format.default.date-time"))},{name:"paymentStatus",label:e("table.column.payment-status"),field:"paymentStatus",align:"center",format:(t,m)=>e(`common.code.payment-status.detail.${r(m.paymentStatus)}`)},{name:"detail",label:e("table.column.detail"),field:"detail",align:"center",customSlot:!0}];function p(t){B(`/manage/payment/list/${t}`)}return(t,m)=>{const _=a("q-icon"),f=a("q-btn"),g=v,y=a("q-spinner"),b=a("q-card-section"),x=a("q-card");return l(),d("div",null,[n(x,{class:"q-py-xs q-px-lg"},{default:o(()=>[n(b,null,{default:o(()=>[C("div",null,[c(s)?(l(),T(g,{key:0,columns:u,url:`/api/tenants/${c(s)?.tenantId}/payments?paymentStatus=PAID,REFUNDED`,"no-data-text":c(e)("table.no-data-label.payment-list"),"exclude-searching":"","exclude-ordering":""},{detail:o(({data:q})=>[n(f,{color:"dighty",class:"w100 text-weight-bold",onClick:j=>p(q.row.paymentId),rounded:"",outline:"",dense:"",unelevated:""},{default:o(()=>[I(w(t.$t("common.button.goto-detail"))+" ",1),n(_,{name:"chevron_right",class:"right"})]),_:2},1032,["onClick"])]),_:1},8,["url","no-data-text"])):(l(),d("div",A,[n(y,{color:"dighty",size:"lg"})]))])]),_:1})]),_:1})])}}}),F=N(E,[["__scopeId","data-v-f19501eb"]]);export{F as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.