biz9-logic 4.8.156 → 4.8.158
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 +10 -2
- package/package.json +1 -1
package/biz9_config
CHANGED
package/index.js
CHANGED
|
@@ -233,6 +233,9 @@ class Order_Logic {
|
|
|
233
233
|
static get_order_number = () => {
|
|
234
234
|
return FieldType.ORDER_NUMBER + Number.get_id(99999);
|
|
235
235
|
};
|
|
236
|
+
static get_transaction_id = () => {
|
|
237
|
+
return FieldType.TRANSACTION_ID + Number.get_id(99999);
|
|
238
|
+
};
|
|
236
239
|
}
|
|
237
240
|
class Cart_Logic {
|
|
238
241
|
static get_cart_number = () => {
|
|
@@ -809,6 +812,7 @@ class FieldType {
|
|
|
809
812
|
|
|
810
813
|
static ORDER_NUMBER="OR-";
|
|
811
814
|
static CART_NUMBER="CA-";
|
|
815
|
+
static TRANSACTION_ID="TR-";
|
|
812
816
|
|
|
813
817
|
static PAYMENT_PLAN_PENDING="Pending";
|
|
814
818
|
static PAYMENT_PLAN_1="1 Payment";
|
|
@@ -816,14 +820,17 @@ class FieldType {
|
|
|
816
820
|
static PAYMENT_PLAN_3="3 Payments";
|
|
817
821
|
static PAYMENT_PLAN_4="4 Payments";
|
|
818
822
|
|
|
819
|
-
static
|
|
823
|
+
static ORDER_STATUS_NEW="New";
|
|
820
824
|
static ORDER_STATUS_OPEN="Open";
|
|
821
825
|
static ORDER_STATUS_PAYMENT="Payment Plan";
|
|
822
826
|
static ORDER_STATUS_COMPLETE="Complete";
|
|
823
827
|
|
|
824
|
-
|
|
825
828
|
static ORDER_PAYMENT_PLAN="Open";
|
|
826
829
|
|
|
830
|
+
static ORDER_PAYMENT_TYPE_STRIPE="Stripe";
|
|
831
|
+
static ORDER_PAYMENT_TYPE_CASH="Cash";
|
|
832
|
+
static ORDER_PAYMENT_TYPE_OTHER="Other";
|
|
833
|
+
static ORDER_PAYMENT_TYPE_TEST="Test";
|
|
827
834
|
}
|
|
828
835
|
class Social {
|
|
829
836
|
static FACEBOOK_URL="https://facebook.com/";
|
|
@@ -966,6 +973,7 @@ class DataType {
|
|
|
966
973
|
static ORDER="order_biz";
|
|
967
974
|
static ORDER_ITEM="order_item_biz";
|
|
968
975
|
static ORDER_SUB_ITEM="order_sub_item_biz";
|
|
976
|
+
static ORDER_PAYMENT="order_payment_biz";
|
|
969
977
|
|
|
970
978
|
static PROJECT='project_biz';
|
|
971
979
|
static PRODUCT='product_biz';
|