import{a as n,q as l,j as s}from"./BulkImageUpload-DGPbX05r.js";import{U as i}from"./User-DMCQU0ZG.js";import{U as d}from"./UserMenu-BCHgG7Y0.js";import m from"./Path-BGQq4Hlj.js";import"./bootstrap.esm-e_F80uXB.js";const f=t=>{const[a,h]=n.useState(t.purchase),{currency:c}=l().props;return s.jsxs(i,{children:[s.jsx(m,{title:"Payment History"}),s.jsx("div",{className:"container-fluid user-container",children:s.jsx("div",{className:"container",children:s.jsxs("div",{className:"row",children:[s.jsx("div",{className:"col-md-3",children:s.jsx(d,{user:t.auth.user})}),s.jsx("div",{className:"col-md-9",children:s.jsx("div",{className:"row",children:s.jsx("div",{className:"col-md-10 bg-white shadow p-3 mx-auto",children:s.jsx("table",{className:"table mb-0",children:s.jsxs("tbody",{children:[s.jsxs("tr",{children:[s.jsx("th",{className:"slno fs-6 text-center",children:"#"}),s.jsx("th",{className:"fs-6",children:"Package Name"}),s.jsx("th",{className:"fs-6 center",children:"Amount"}),s.jsx("th",{className:"text-center fs-6",children:"Transaction ID"}),s.jsx("th",{className:"center fs-6",children:"Purchase Date"})]}),a&&a.map((e,r)=>s.jsxs("tr",{children:[s.jsx("td",{className:"text-center",children:r+1}),s.jsx("td",{children:e.pack}),s.jsxs("td",{className:"center",children:[c,e.amount]}),s.jsx("td",{className:"text-center",children:e.transaction_id}),s.jsx("td",{className:"text-center",children:e.dat})]},r))]})})})})})]})})})]})};export{f as default};
