PageSourceSearch

https://edgemxtiming.com/assets/TransactionsPage-C0WmzJb9.js

js edgemxtiming.com collected 2026-09-24 14:42:43 UTC 2,079 bytes, 1 lines download raw bytes

1import{i as N,P as C,r as l,j as s,b as d,I as c}from"./index-BCH4IFx8.js";import{C as m,b as T,c as w,d as b,a as x}from"./card-DaE3Hwfn.js";import{u as y,T as F}from"./useRegistrationTransactions-wyCgzRNM.js";import"./BpSpinner-Bqvfph1h.js";import"./table-BgVITkDQ.js";import"./external-link-C5SQDLFH.js";import"./format-ybceeo2k.js";import"./en-US-CGO0aXMi.js";function p(i){if(!i)return null;const[t,e,n]=i.split("-").map(Number);return!t||!e||!n?null:new Date(t,e-1,n)}function E(){const i=N(),{currentOrganization:t}=C(),[e,n]=l.useState(""),[r,u]=l.useState(""),h=p(e),o=p(r),g=o?new Date(o.getTime()+24*60*60*1e3-1):null,{data:j,isLoading:f}=y({organizationId:t==null?void 0:t.id,from:h,to:g,limit:1e3});function v(a){"registration_id"in a&&a.registration_id&&i(`/admin/registrations/${a.registration_id}/edit`)}return s.jsxs("div",{className:"container mx-auto py-6 space-y-4 max-w-7xl",children:[s.jsxs("div",{children:[s.jsx("h1",{className:"text-2xl font-semibold",children:"Transactions"}),s.jsxs("p",{className:"text-sm text-muted-foreground",children:["All payments, refunds, and wallet activity across ",(t==null?void 0:t.name)??"this organization","."]})]}),s.jsxs(m,{children:[s.jsxs(T,{children:[s.jsx(w,{className:"text-base",children:"Filters"}),s.jsx(b,{children:"Date range is in Mountain Time."})]}),s.jsx(x,{children:s.jsxs("div",{className:"flex flex-wrap gap-3 items-end","data-guide":"transactions-date-range",children:[s.jsxs("div",{children:[s.jsx(d,{htmlFor:"tx-from",className:"text-xs",children:"From"}),s.jsx(c,{id:"tx-from",type:"date",value:e,onChange:a=>n(a.target.value),className:"w-44"})]}),s.jsxs("div",{children:[s.jsx(d,{htmlFor:"tx-to",className:"text-xs",children:"To"}),s.jsx(c,{id:"tx-to",type:"date",value:r,onChange:a=>u(a.target.value),className:"w-44"})]})]})})]}),s.jsx(m,{children:s.jsx(x,{className:"pt-6","data-guide":"transactions-table",children:s.jsx(F,{rows:j,isLoading:f,scope:"org",onRowClick:v,exportFilename:`transactions-${(t==null?void 0:t.slug)??"org"}-${e||"all"}-${r||"all"}.csv`})})})]})}export{E 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.