biz9-logic 4.8.52 → 4.8.54

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 +6 -1
  3. package/package.json +1 -1
package/biz9_config CHANGED
@@ -1,4 +1,4 @@
1
- VERSION='5.3.2'
1
+ VERSION='5.3.4'
2
2
  TITLE='BiZ9-Logic';
3
3
  REPO='git@github.com:biz9framework/biz9-logic.git';
4
4
  BRANCH='main';
package/index.js CHANGED
@@ -370,6 +370,8 @@ class Field_Logic {
370
370
  let note = "Note "+String(Number.get_id());
371
371
  option.category_title = !Str.check_is_null(option.category_title) ? option.category_title : 'Category '+String(Number.get_id());
372
372
  if(option.get_blank == true){
373
+ date_create:"";
374
+ date_save:"";
373
375
  title = "";
374
376
  sub_note = "";
375
377
  note = "";
@@ -381,7 +383,10 @@ class Field_Logic {
381
383
  title_url:Str.get_title_url(title),
382
384
  category:option.category_title,
383
385
  sub_note:sub_note,
384
- note:note
386
+ note:note,
387
+ id:Number.get_guid(),
388
+ date_create:new moment().toISOString(),
389
+ date_save:new moment().toISOString()
385
390
  }
386
391
  if(option.get_value){
387
392
  item = Field_Logic.get_value_list(item,option);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "biz9-logic",
3
- "version": "4.8.52",
3
+ "version": "4.8.54",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"