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 ​
| Parameter | Type | Description |
|---|---|---|
categoryMap | Map<number, SubTransactionRow[]> | - |
tSubRow | SubTransactionRow | - |
Returns ​
void