ad no order title msg
This commit is contained in:
@@ -12,6 +12,7 @@ export function SummaryPanel({
|
||||
status: OrderStatus;
|
||||
customerCount: number;
|
||||
}) {
|
||||
const totalItems = items.reduce((sum, item) => sum + item.quantity, 0);
|
||||
const totalOrderValue = items.reduce((sum, item) => sum + item.finalPrice, 0);
|
||||
const myNetTotal = items.reduce((sum, item) => sum + item.myNetPrice, 0);
|
||||
|
||||
@@ -34,7 +35,7 @@ export function SummaryPanel({
|
||||
</div>
|
||||
<div className="flex justify-between items-center">
|
||||
<span className="text-sm text-muted">Items</span>
|
||||
<span className="font-mono font-medium">{items.length}</span>
|
||||
<span className="font-mono font-medium">{totalItems}</span>
|
||||
</div>
|
||||
<div className="flex justify-between items-center">
|
||||
<span className="text-sm text-muted">Customers</span>
|
||||
|
||||
Reference in New Issue
Block a user