const SummaryPage = () => { const lineItems = [ { name: 'Pizza Quattro Stagioni', qty: 1, price: 12.50, color: '#a16207', emoji: '๐Ÿ„' }, { name: 'Pizza Margherita', qty: 2, price: 10.00, color: '#dc2626', emoji: '๐Ÿ…' }, ]; const total = lineItems.reduce((s, i) => s + i.qty * i.price, 0); const totalQty = lineItems.reduce((s, i) => s + i.qty, 0); return (

Besteloverzicht

Klopt alles? Druk op betalen om je plekje vast te zetten.

{/* Customer card */}
Jouw gegevens
NaamSenne Visser
Telefoon06 16219191
E-mailsennevisser@outlook.com
{/* Items card */}
Bestelling
{lineItems.map((item, i) => (
{item.emoji}
{item.qty}ร— {item.name}
โ‚ฌ{(item.qty * item.price).toFixed(2)}
))}
Totaal โ‚ฌ{total.toFixed(2)}
{/* Pickup time card with confirmed time emphasis */}
๐Ÿ•
Ophaaltijd
Gewenst
18:50
Geschatte tijd
18:55
indicatief
โ“˜ Je ophaaltijd is pas definitief na het afrekenen. Als het gekozen tijdslot ondertussen vol raakt, kan je definitieve ophaaltijd iets later worden.
{/* CTAs */}
); }; window.SummaryPage = SummaryPage;