Skip to content

Commit

Permalink
remove quantities the dont exist
Browse files Browse the repository at this point in the history
  • Loading branch information
slubwama committed Apr 14, 2024
1 parent b045d26 commit 124d081
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ const StockOperationItemsTable: React.FC<StockOperationItemTableProps> = ({
onToggleClick={(e => handleStockBatchSearch(row, ""))}
shouldFilterItem={(data) => true}
onInputChange={(q) => handleStockBatchSearch(row, q)}
itemToString={item => `${item?.batchNo ? `${item.batchNo} ${item?.expiration ?` - ${formatForDatePicker(item?.expiration)}`: ""} ${item?.quantity ?` - ${item?.quantity}`: ""}` : ""}`}
itemToString={item => `${item?.batchNo ? `${item.batchNo} ${item?.expiration ?` - ${formatForDatePicker(item?.expiration)}`: ""}` : ""}`}
placeholder={'Filter...'}
invalid={(row.uuid in errors) && ("stockBatchUuid" in errors[row.uuid]) && !errors[row.uuid]["stockBatchUuid"]} />
}
Expand Down

0 comments on commit 124d081

Please sign in to comment.