biz9-logic 4.9.57 → 4.9.60

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 +12 -1
  3. package/package.json +1 -1
package/biz9_config CHANGED
@@ -1,4 +1,4 @@
1
- VERSION='9.2.7'
1
+ VERSION='9.3.0'
2
2
  TITLE='BiZ9-Logic';
3
3
  REPO='git@github.com:biz9framework/biz9-logic.git';
4
4
  BRANCH='main';
package/index.js CHANGED
@@ -389,6 +389,17 @@ class Type {
389
389
  case Type.USER_ROLE_MANAGER:
390
390
  case Type.USER_ROLE_USER:
391
391
  case Type.USER_ROLE_GUEST:
392
+ case Type.ORDER_PAYMENT_STATUS_OPEN:
393
+ case Type.ORDER_PAYMENT_STATUS_COMPLETE:
394
+ case Type.ORDER_PAYMENT_PLAN_PENDING:
395
+ case Type.ORDER_PAYMENT_PLAN_1:
396
+ case Type.ORDER_PAYMENT_PLAN_2:
397
+ case Type.ORDER_PAYMENT_PLAN_3:
398
+ case Type.ORDER_PAYMENT_PLAN_4:
399
+ case Type.ORDER_PAYMENT_METHOD_STRIPE:
400
+ case Type.ORDER_PAYMENT_METHOD_CASH:
401
+ case Type.ORDER_PAYMENT_METHOD_OTHER:
402
+ case Type.ORDER_PAYMENT_METHOD_TEST:
392
403
  case DataType.APP:
393
404
  case DataType.BLANK:
394
405
  case DataType.BLOG_POST:
@@ -517,7 +528,7 @@ class Order_Logic {
517
528
  parent_data_type:cart.parent_data_type,
518
529
  user_id:cart.user_id,
519
530
  cart_number:cart.cart_number,
520
- grand_total:0,
531
+ grand_total:cart.grand_total,
521
532
  order_item_list:[]
522
533
  });
523
534
  if(option.get_payment_plan){
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "biz9-logic",
3
- "version": "4.9.57",
3
+ "version": "4.9.60",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"