1import{j as e}from"./app-CixExHVM.js";import o from"./SectionHeader-CCS0tFQr.js";import m from"./SectionTable-BXTqGeZb.js";import c from"./LicenseStatusBadge-CU9H3PMU.js";import{A as n}from"./licenseManager.helpers-DRmXV-4B.js";import"./Tooltip-Be3Rybpg.js";import"./button.styles-7lPNyjJO.js";import"./iconBase-C485EjPC.js";import"./index-Dkf2GVy1.js";import"./dayjs-C2eAEgLB.js";import"./useTranslation-BSo1Hx03.js";import"./helpers-Cll8zBE2.js";import"./Card-C4QeILP8.js";const i="1.6fr 1.4fr 2.4fr 1.1fr 0.9fr 0.7fr",r="px-4 py-2",p="https://renewedvision.com/admin/order_edit.php?order_id=";function S({license:a}){return a.orders.length===0?null:e.jsx(m,{header:e.jsx(o,{icon:"HiReceiptPercent",title:"Order history",sub:`${a.orders.length} orders`}),cols:i,columns:[{label:"Order #"},{label:"Name"},{label:"Product"},{label:"Status",align:"center"},{label:"Total",align:"right"},{label:"Qty",align:"right"}],children:a.orders.map((t,s)=>{const l=s===0||t.orderNumber!==a.orders[s-1].orderNumber;return e.jsxs("div",{className:"grid items-center",style:{gridTemplateColumns:i},children:[e.jsx("div",{className:r,children:l&&e.jsx("a",{href:`${p}${t.orderId}`,target:"_blank",rel:"noreferrer",className:"whitespace-nowrap font-mono text-paragraph-2-bold hover:underline",style:{color:n},children:t.orderNumber})}),e.jsxs("div",{className:r,children:[e.jsx("p",{className:"truncate text-paragraph-2-medium text-type-black-primary",children:t.name}),e.jsx("p",{className:"truncate text-subtitle-sm text-type-black-tertiary",children:t.email})]}),e.jsx("div",{className:`${r} truncate text-paragraph-2 text-type-black-secondary`,children:t.product}),e.jsx("div",{className:`${r} flex justify-center`,children:e.jsx(c,{status:t.status==="Complete"?"active":"inactive",label:t.status})}),e.jsxs("div",{className:`${r} text-right text-paragraph-2-bold text-type-black-primary`,children:["$",t.total]}),e.jsx("div",{className:`${r} text-right text-paragraph-2-medium text-type-black-secondary`,children:t.qty})]},`${t.orderNumber}-${s}`)})})}export{S 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.