45 | 46 | {sum === 1 47 | ? `Subtotal: (${sum} item) $` 48 | : `Subtotal: (${sum} items) $`} 49 | 50 | {price} 51 |
52 |75 | {authors.map((author) => author.author.name).join(`, `)} 76 |
77 |60 | Type: 61 | {data.type.replaceAll(`_nbsp_`, ` `).replaceAll(`_amp_`, `&`)} 62 |
63 |64 | 65 | Publication date: 66 | 67 | {new Date(data.publishedAt).toLocaleDateString()} 68 |
69 |70 | Price: 71 | {`$ ${currencyFormat(data.price)}`} 72 |
73 |74 | In stock: 75 | {bookDetailsState?.stock || data.stock} 76 |
77 | 85 |106 | Title: 107 | {title} 108 |
109 |110 | Type: 111 | {type.replaceAll(`_nbsp_`, ` `).replaceAll(`_amp_`, `&`)} 112 |
113 |114 | Publication date: 115 | {new Date(publishedAt).toLocaleDateString()} 116 |
117 |118 | Price: 119 | {`$ ${currencyFormat(price)}`} 120 |
121 |122 | In stock: 123 | {stock} 124 |
125 |
28 |
| Name | 158 |Rating | 159 |Date | 160 |161 | |
|---|---|---|---|
|
170 |
171 |
185 |
172 |
178 |
173 |
174 | {item.user.nickname.substring(0, 1)}
175 |
176 |
177 |
179 |
184 | {item.user.nickname}
180 |
181 | User ID: {item.user.id}
182 |
183 | |
186 |
187 | |
189 | {`${new Date(item.ratedAt).toLocaleDateString()}`} | 190 |191 | 197 | | 198 |