biz9-logic 4.8.55 → 4.8.58

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.
Files changed (3) hide show
  1. package/biz9_config +1 -1
  2. package/index.js +3 -3
  3. package/package.json +1 -1
package/biz9_config CHANGED
@@ -1,4 +1,4 @@
1
- VERSION='5.3.5'
1
+ VERSION='5.3.8'
2
2
  TITLE='BiZ9-Logic';
3
3
  REPO='git@github.com:biz9framework/biz9-logic.git';
4
4
  BRANCH='main';
package/index.js CHANGED
@@ -104,7 +104,7 @@ class Team_Logic {
104
104
  option = Field_Logic.get_option(DataType.TEAM,option?option:{});
105
105
  let item_list = [];
106
106
  for(let a=0;a<option.member_count+1;a++){
107
- item_list.push(Team_Logic.get_test_member("Full Name " +parseInt(a+1),team,option));
107
+ item_list.push(Team_Logic.get_test_member(team,"Full Name " +parseInt(a+1),option));
108
108
  }
109
109
  return item_list;
110
110
  }
@@ -384,7 +384,7 @@ class Field_Logic {
384
384
  category:option.category_title,
385
385
  sub_note:sub_note,
386
386
  note:note,
387
- id:Number.get_guid(),
387
+ id:0,
388
388
  date_create:new moment().toISOString(),
389
389
  date_save:new moment().toISOString()
390
390
  }
@@ -779,7 +779,7 @@ class Review_Logic {
779
779
  review.last_name="Last Name "+ Number.get_id();
780
780
  review.hometown="Hometown "+ Number.get_id();
781
781
  review.position="Position "+ Number.get_id();
782
- review.rating=Number.get_id(6);
782
+ review.rating=parseInt(Number.get_id(6)+1);
783
783
  review.comment="My comment "+ Number.get_id() + "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.";
784
784
  return review;
785
785
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "biz9-logic",
3
- "version": "4.8.55",
3
+ "version": "4.8.58",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"