taxtank-core 0.30.60 → 0.30.61
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/collections/holding/holding-sale.collection.mjs +1 -18
- package/fesm2015/taxtank-core.mjs +0 -17
- package/fesm2015/taxtank-core.mjs.map +1 -1
- package/fesm2020/taxtank-core.mjs +0 -17
- package/fesm2020/taxtank-core.mjs.map +1 -1
- package/lib/collections/holding/holding-sale.collection.d.ts +0 -4
- package/package.json +1 -1
|
@@ -7160,23 +7160,6 @@ class HoldingSaleCollection extends ExportableCollection {
|
|
|
7160
7160
|
}),
|
|
7161
7161
|
]);
|
|
7162
7162
|
}
|
|
7163
|
-
/**
|
|
7164
|
-
* sorting holding-sale table in sgt-report by name field
|
|
7165
|
-
*/
|
|
7166
|
-
sortByTypeName(holdingsById) {
|
|
7167
|
-
this.sort((a, b) => {
|
|
7168
|
-
const typeNameA = holdingsById.get(a.holding.id).type.name;
|
|
7169
|
-
const typeNameB = holdingsById.get(b.holding.id).type.name;
|
|
7170
|
-
switch (true) {
|
|
7171
|
-
case typeNameA < typeNameB:
|
|
7172
|
-
return -1;
|
|
7173
|
-
case typeNameA > typeNameB:
|
|
7174
|
-
return 1;
|
|
7175
|
-
default:
|
|
7176
|
-
return 0;
|
|
7177
|
-
}
|
|
7178
|
-
});
|
|
7179
|
-
}
|
|
7180
7163
|
}
|
|
7181
7164
|
|
|
7182
7165
|
class HoldingTypeCollection extends Collection {
|