add tto order

This commit is contained in:
Danel Kungla
2025-09-26 15:58:25 +03:00
parent 6c3ae1eda6
commit bfdd1ec62a
6 changed files with 30 additions and 31 deletions

View File

@@ -4,14 +4,18 @@ import { Trans } from '@kit/ui/trans';
import type { AnalysisOrder } from '~/lib/types/order';
export default function OrderDetails({ order }: { order: AnalysisOrder }) {
export default function OrderDetails({
order,
}: {
order: { id: string; created_at: string | Date };
}) {
return (
<div className="flex flex-col gap-y-2">
<div>
<span className="font-bold">
<Trans i18nKey="cart:orderConfirmed.orderNumber" />:{' '}
</span>
<span>{order.medusa_order_id}</span>
<span>{order.id}</span>
</div>
<div>