PageSourceSearch

https://app.onvione.ru/assets/SubscriptionInvoices-CMZ24dET.js

js onvione.ru collected 2026-10-02 01:11:52 UTC 1,456 bytes, 1 lines download raw bytes

1import{f as p,k as b,r,j as a,bb as f,a5 as m,j6 as x}from"./index-DUoAJW6O.js";const{Text:y}=f,k=()=>{const{t}=p(),i=b(e=>e.activeSubscription),[c,s]=r.useState([]),[u,o]=r.useState(!1);if(r.useEffect(()=>{const e=i==null?void 0:i.id;if(!e){s([]);return}let n=!1;return(async()=>{o(!0);try{const l=await x(e);n||s(l)}catch{n||s([])}finally{n||o(!1)}})(),()=>{n=!0}},[i==null?void 0:i.id]),!i)return a.jsx(y,{type:"secondary",children:t("subscriptions.noActiveSubscription")||"No active subscription to show invoices."});const d=[{title:t("subscriptions.invoiceNumber"),dataIndex:"invoiceNumber",key:"invoiceNumber"},{title:t("subscriptions.amount"),dataIndex:"amount",key:"amount",render:e=>`${e.toLocaleString("ru-RU",{minimumFractionDigits:2,maximumFractionDigits:2})} ₽`},{title:t("subscriptions.dueDate"),dataIndex:"dueDate",key:"dueDate",render:e=>e?new Date(e).toLocaleDateString():""},{title:t("subscriptions.createdAt"),dataIndex:"createdAt",key:"createdAt",render:e=>e?new Date(e).toLocaleDateString():""},{title:t("subscriptions.status"),dataIndex:"status",key:"status",render:e=>t(`subscriptions.${e}`)},{title:t("subscriptions.invoiceLink"),dataIndex:"invoiceLink",key:"invoiceLink",render:e=>e?a.jsx("a",{href:e,target:"_blank",rel:"noopener noreferrer",className:"text-primary01 underline",children:t("subscriptions.openInvoice")}):null}];return a.jsx(m,{rowKey:"id",loading:u,dataSource:c,columns:d,pagination:!1})};export{k 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.