biz9-logic 4.8.268 → 4.8.270

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 +2 -2
  3. package/package.json +1 -1
package/biz9_config CHANGED
@@ -1,4 +1,4 @@
1
- VERSION='7.4.8'
1
+ VERSION='7.5.0'
2
2
  TITLE='BiZ9-Logic';
3
3
  REPO='git@github.com:biz9framework/biz9-logic.git';
4
4
  BRANCH='main';
package/index.js CHANGED
@@ -266,7 +266,7 @@ class Cart_Logic {
266
266
  return DataItem.get_new(DataType.CART_ITEM,0,{parent_data_type:parent_data_type,parent_id:parent_id,cart_number:cart_number,quanity:quanity,cart_sub_item_list:[]});
267
267
  };
268
268
  static get_new_cart_sub_item = (parent_data_type,parent_id,cart_number,quanity) =>{
269
- return DataItem.get_new(DataType.CART_ITEM,0,{parent_data_type:parent_data_type,parent_id:parent_id,cart_number:cart_number,quanity:quanity});
269
+ return DataItem.get_new(DataType.CART_SUB_ITEM,0,{parent_data_type:parent_data_type,parent_id:parent_id,cart_number:cart_number,quanity:quanity});
270
270
  };
271
271
  static get_new_cart_number = () => {
272
272
  return FieldType.CART_NUMBER + Num.get_id(99999);
@@ -1267,7 +1267,7 @@ class Item_Url {
1267
1267
  let action_url="item/delete_order/"+id;
1268
1268
  return get_cloud_url_main(app_id,url,action_url,params);
1269
1269
  };
1270
- static templaste = (app_id,url,key,params) => {
1270
+ static template = (app_id,url,key,params) => {
1271
1271
  let action_url="item/template/"+key;
1272
1272
  return get_cloud_url_main(app_id,url,action_url,params);
1273
1273
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "biz9-logic",
3
- "version": "4.8.268",
3
+ "version": "4.8.270",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"