fix(items): quantityonhandCell.

This commit is contained in:
elforjani3
2021-03-12 19:26:58 +02:00
parent 4c6e97a998
commit 03946c1229

View File

@@ -51,7 +51,7 @@ export const ItemCodeAccessor = (row) =>
export const QuantityOnHandCell = ({ cell: { value } }) => {
return isNumber(value) ? (
<span className={'quantity_on_hand'}>{value}</span>
<span className={value < 0 ? 'quantity_on_hand' : null}>{value}</span>
) : null;
};