42 | {items.map((item) => (
43 |
44 | {item.quantity}
45 |
46 | {item.name}
47 |
48 | {currency.format(item.quantity * item.price)}
49 |
50 |
51 | ))}
52 |
53 |
54 |
55 |
56 | {currency.format(
57 | items.reduce((a, v) => a + v.quantity * v.price, 0)
58 | )}
59 |
60 |