Skip to content

SudoSOS Back-end API / helpers / collectProductsByCategory

Function: collectProductsByCategory() ​

ts
function collectProductsByCategory(categoryMap, tSubRow): void;

Function that collects transactions by product based on their category id

Parameters ​

ParameterTypeDescription
categoryMapMap<number, SubTransactionRow[]>-
tSubRowSubTransactionRow-

Returns ​

void