diff --git a/src/Corporation/ui/PurchaseMaterialModal.tsx b/src/Corporation/ui/PurchaseMaterialModal.tsx index df5fee214..b6bd0b42b 100644 --- a/src/Corporation/ui/PurchaseMaterialModal.tsx +++ b/src/Corporation/ui/PurchaseMaterialModal.tsx @@ -25,15 +25,15 @@ function BulkPurchaseText(props: IBulkPurchaseTextProps): React.ReactElement { const maxAmount = (props.warehouse.size - props.warehouse.sizeUsed) / matSize; if (parsedAmt * matSize > maxAmount) { - return <>Not enough warehouse space to purchase this amount; + return <>Not enough warehouse space to purchase this amount; } else if (isNaN(cost)) { - return <>Invalid put for Bulk Purchase amount; + return <>Invalid put for Bulk Purchase amount; } else { return ( - <> + <> Purchasing {numeralWrapper.format(parsedAmt, "0,0.00")} of {props.mat.name} will cost{" "} - {numeralWrapper.formatMoney(cost)} - + {numeralWrapper.formatMoney(cost)} + ); } }