fix(storefront+TPV): storefront live search proxy, product expiry/weight display, TPV receipt popup timestamp

This commit is contained in:
chattie
2026-08-24 22:11:04 +02:00
parent 2ed2ac8cd1
commit 71165911ab
6 changed files with 79 additions and 11 deletions

View File

@@ -64,6 +64,11 @@ export default function ReceiptModal({
<div ref={articleRef} className="ticket-print-area">
<article className="space-y-4 text-sm text-gray-900">
<header className="border-b border-dashed border-gray-400 pb-4 text-center">
{/* Timestamp */}
<div className="flex justify-between items-center mb-2 text-xs text-gray-500">
<span>Ticket #{receipt.receiptNumber}</span>
<span>{new Date(receipt.createdAt).toLocaleString('es-ES', { dateStyle: 'short', timeStyle: 'short' })}</span>
</div>
{/* Logo */}
<div className="mb-3 flex justify-center">
<img