Browse Source

fix(admin-ui): Display up to 3 decimal places in OrderSummary tax rate

Relates to #3051
Michael Bromley 1 year ago
parent
commit
13a1b2198e

+ 1 - 1
packages/admin-ui/src/lib/order/src/components/order-detail/order-detail.component.html

@@ -173,7 +173,7 @@
                 <tbody>
                     <tr *ngFor="let row of order.taxSummary">
                         <td>{{ row.description }}</td>
-                        <td>{{ row.taxRate / 100 | percent : '0.0-2' }}</td>
+                        <td>{{ row.taxRate / 100 | percent : '0.0-3' }}</td>
                         <td>{{ row.taxBase | localeCurrency : order.currencyCode }}</td>
                         <td>{{ row.taxTotal | localeCurrency : order.currencyCode }}</td>
                     </tr>