biz9-logic 4.9.42 → 4.9.43
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/biz9_config +1 -1
- package/index.js +3 -0
- package/package.json +1 -1
package/biz9_config
CHANGED
package/index.js
CHANGED
|
@@ -424,6 +424,9 @@ class Stat_Logic {
|
|
|
424
424
|
if(item.parent_id){
|
|
425
425
|
stat.parent_id=item.parent_id;
|
|
426
426
|
stat.parent_data_type=item.parent_data_type;
|
|
427
|
+
}else{
|
|
428
|
+
stat.parent_id=item.id;
|
|
429
|
+
stat.parent_data_type=item.data_type;
|
|
427
430
|
}
|
|
428
431
|
if(item.cost){
|
|
429
432
|
stat.parent_cost = item.cost;
|