1import{j as e,g as u,r as i,f as r}from"./vendor-BwK0dhQk.js";import{H as y,N as p,a as l,i as o,b as j,f as d,T as $}from"./app-DV1NBe11.js";import{D as h}from"./divider-BgJyL2IP.js";import{A as b,o as x}from"./ApplicationLayout-PVi2shl7.js";import{T as f,a as K,b as m,c as t,d as I,e as a}from"./table-DhGGBQmh.js";import{b as g}from"./index-DJiuEPwV.js";import{i as c}from"./index-2Gz85wXZ.js";import"./ToastProvider-B_z24CVG.js";/* empty css */import"./avatar-DitlEg_U.js";import"./dropdown-21hLGEo9.js";import"./LocaleSwitcher-D8-TIjj_.js";import"./Logo-B7yDnxie.js";import"./index-Ch2iYH-2.js";import"./index-BTL0sbHu.js";import"./index-DISIrodZ.js";import"./index-egx_VlpU.js";import"./index-DxhlSPrz.js";import"./index-D3kvVKu3.js";import"./index-CdpIF8rx.js";function G({invoices:n}){return e.jsx(u,{title:"Invoices",$attrAs:b,$fileKey:"../resources/js/Pages/Billing/Invoices.tsx",$attributes:{title:"14/declaration/body/0/argument-title"},children:e.jsxs(i.Fragment,{children:[e.jsxs("div",{className:"mx-auto max-w-4xl",children:[e.jsx(r,{$as:y,$fileKey:"../resources/js/Pages/Billing/Invoices.tsx",$entryKey:"14/declaration/body/0/argument/1/1/1"}),e.jsx(h,{className:"my-10 mt-6"})]}),e.jsxs("div",{className:"mx-auto max-w-4xl",children:[e.jsxs(p,{children:[e.jsx(r,{href:g.index().url,current:o(g.index().url),$as:l,$fileKey:"../resources/js/Pages/Billing/Invoices.tsx",$entryKey:"14/declaration/body/0/argument/1/3/1/1"}),e.jsx(r,{href:x.index().url,current:o(x.index().url),$as:l,$fileKey:"../resources/js/Pages/Billing/Invoices.tsx",$entryKey:"14/declaration/body/0/argument/1/3/1/3"}),e.jsx(r,{href:c.index().url,current:o(c.index().url),$as:l,$fileKey:"../resources/js/Pages/Billing/Invoices.tsx",$entryKey:"14/declaration/body/0/argument/1/3/1/5"})]}),e.jsxs("div",{className:"mt-4",children:[n.length>0&&e.jsxs(f,{className:"mt-8 [--gutter:theme(spacing.6)] lg:[--gutter:theme(spacing.10)]",children:[e.jsx(K,{children:e.jsxs(m,{children:[e.jsx(r,{$as:t,$fileKey:"../resources/js/Pages/Billing/Invoices.tsx",$entryKey:"14/declaration/body/0/argument/1/3/3/1/expression/right/1/1/1"}),e.jsx(r,{$as:t,$fileKey:"../resources/js/Pages/Billing/Invoices.tsx",$entryKey:"14/declaration/body/0/argument/1/3/3/1/expression/right/1/1/3"}),e.jsx(r,{$as:t,$fileKey:"../resources/js/Pages/Billing/Invoices.tsx",$entryKey:"14/declaration/body/0/argument/1/3/3/1/expression/right/1/1/5"}),e.jsx(r,{$as:t,$fileKey:"../resources/js/Pages/Billing/Invoices.tsx",$entryKey:"14/declaration/body/0/argument/1/3/3/1/expression/right/1/1/7"}),e.jsx(r,{className:"text-right",$as:t,$fileKey:"../resources/js/Pages/Billing/Invoices.tsx",$entryKey:"14/declaration/body/0/argument/1/3/3/1/expression/right/1/1/9"})]})}),e.jsx(I,{children:n.map(s=>e.jsxs(m,{href:c.show(s.id).url,title:`Invoice #${s.id}`,children:[e.jsx(a,{children:s.id}),e.jsx(a,{className:"text-zinc-500",children:s.created_at_string}),e.jsxs(a,{children:[s.items[0].name," ",s.items.length>1?`(+${s.items.length-1})`:""]}),e.jsx(a,{children:e.jsx(j,{color:s.status==="paid"?"lime":s.status==="cancelled"?"red":"cyan",children:s.status==="paid"?e.jsx(r,{$as:i.Fragment,$fileKey:"../resources/js/Pages/Billing/Invoices.tsx",$entryKey:"14/declaration/body/0/argument/1/3/3/1/expression/right/3/1/expression/0/body/7/1/1/expression/consequent"}):s.status==="cancelled"?e.jsx(r,{$as:i.Fragment,$fileKey:"../resources/js/Pages/Billing/Invoices.tsx",$entryKey:"14/declaration/body/0/argument/1/3/3/1/expression/right/3/1/expression/0/body/7/1/1/expression/alternate/consequent"}):e.jsx(r,{$as:i.Fragment,$fileKey:"../resources/js/Pages/Billing/Invoices.tsx",$entryKey:"14/declaration/body/0/argument/1/3/3/1/expression/right/3/1/expression/0/body/7/1/1/expression/alternate/alternate"})})}),e.jsx(a,{className:"text-right",children:s.value_currency=="usd"?`US${d(s.amount_in_cents/100)}`:`${d(s.value_amount_in_cents/100,s.value_currency.toUpperCase())}`})]},s.id))})]}),n.length==0&&e.jsx("div",{className:"mt-8 flex flex-col items-center p-6 py-20 border border-zinc-950/10 dark:border-white/10 sm:rounded-lg",children:e.jsx(r,{className:"text-center",$as:$,$fileKey:"../resources/js/Pages/Billing/Invoices.tsx",$entryKey:"14/declaration/body/0/argument/1/3/3/3/expression/right/1"})})]})]})]})})}export{G 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.