PageSourceSearch

https://sannosuke.jp/assets/AbandonedCheckoutsPage-20261004_155452-DsIdzdhM.js

js sannosuke.jp collected 2026-10-05 03:42:48 UTC 4,169 bytes, 1 lines download raw bytes

1import{j as e,w as s,K as a,bh as t,aX as r}from"./react-vendor-20261004_155452-CMD9Mu4L.js";import{ap as i}from"./vendor-20261004_155452-C99PGm5B.js";import{a as d}from"./tanstack-20261004_155452-DKr4WzMb.js";import{b as n}from"./app-services-20261004_155452-CqhrjBLd.js";import{b as l}from"./formatters-20261004_155452-DlSOunZv.js";import{ak as c,G as m,R as o,O as x,z as h}from"./index-20261004_155452-i5YY-Rmq.js";import{H as j,I as u}from"./date-utils-20261004_155452-BABpr51X.js";import"./socket-manager-20261004_155452-ZWL0JEUH.js";import"./socket-io-20261004_155452-CfF5R5HA.js";import"./auth-20261004_155452-HLcqn2jx.js";import"./firebase-20261004_155452-bkCdcoUk.js";import"./ui-components-20261004_155452-DP5C5l_T.js";function p(){const p=new URLSearchParams(window.location.search).get("user")||void 0,{data:f,isLoading:g,error:N}=d({queryKey:["admin","abandoned-checkouts",p],queryFn:async()=>await n.get("/orders/checkout-intents/abandoned",{params:p?{search:p,limit:200}:{limit:200}})}),v=f?.data||[];return e.jsxs(e.Fragment,{children:[e.jsx(i,{children:e.jsx("title",{children:"未完了の決済 | 管理"})}),e.jsx(c,{title:"未完了の決済(離脱検出)",header:{title:"未完了の決済(離脱検出)",breadcrumbs:[{label:"管理画面",path:"/s"},{label:"未完了の決済"}]},loading:g,error:N?"一覧の取得に失敗しました":null,useCard:!1,children:e.jsxs("div",{className:"space-y-4",children:[e.jsx(m,{children:e.jsx(o,{className:"py-4 text-sm text-muted-foreground",children:"決済画面まで進んだのに一定時間(既定60分)注文が成立しなかった方の一覧です。 発券の取りこぼし(最後のボタンの押し忘れ等)がないか、必要に応じて個別にご連絡ください。"})}),0===v.length?e.jsx(m,{children:e.jsx(o,{className:"py-8 text-center text-muted-foreground",children:"未完了の決済はありません"})}):e.jsx("div",{className:"space-y-4",children:v.map(i=>{return e.jsxs(m,{children:[e.jsx(x,{className:"pb-2",children:e.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-center sm:justify-between gap-2",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(s,{className:"h-4 w-4 text-amber-500"}),e.jsx("span",{className:"font-medium",children:i.userFullName||i.userNickname||i.userSku}),e.jsx(h,{variant:"secondary",children:"未完了"})]}),e.jsxs("div",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[e.jsx(a,{className:"h-4 w-4"}),j(new Date(i.updatedAt),"yyyy/MM/dd HH:mm",{locale:u})]})]})}),e.jsxs(o,{children:[e.jsx("div",{className:"space-y-2 mb-4",children:i.itemsSnapshot.map((s,a)=>e.jsxs("div",{className:"flex items-center gap-2 text-sm py-1 border-b last:border-b-0",children:[e.jsx(h,{variant:"outline",className:"text-xs",children:"ticket"===s.type?"チケット":"商品"}),e.jsx("span",{className:"font-mono text-xs",children:s.sku}),s.quantity>1&&e.jsxs("span",{className:"text-muted-foreground",children:["x",s.quantity]})]},a))}),e.jsxs("div",{className:"grid grid-cols-2 md:grid-cols-3 gap-4 text-sm pt-3 border-t",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(t,{className:"h-4 w-4 text-muted-foreground"}),e.jsxs("div",{children:[e.jsx("div",{className:"text-muted-foreground",children:"決済方法"}),e.jsx("div",{children:(d=i.paymentMethod,{square:"クレジットカード",paypay_store:"PayPay",bank_transfer:"銀行振込",venue_payment:"会場払い"}[d]||d)})]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(r,{className:"h-4 w-4 text-muted-foreground"}),e.jsxs("div",{children:[e.jsx("div",{className:"text-muted-foreground",children:"連絡先"}),e.jsx("div",{children:i.userPhone||"-"})]})]}),e.jsxs("div",{className:"text-right",children:[e.jsx("div",{className:"text-muted-foreground",children:"支払予定額"}),e.jsx("div",{className:"text-lg font-bold",children:l(i.totalAmount)}),i.pointsUsed>0&&e.jsxs("div",{className:"text-xs text-muted-foreground",children:["ほかにポイント利用予定 ",i.pointsUsed.toLocaleStr
1ing(),"pt"]})]})]})]})]},i.id);var d})})]})})]})}export{p 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.