backup. before shop update

This commit is contained in:
2021-08-31 13:28:33 -04:00
parent c378a6203c
commit 808ffa3211
292 changed files with 51551 additions and 695 deletions

View File

@@ -1,5 +1,8 @@
class Constants {
static const bool ENABLE_NATIVE_PAY = false;
static const int FONT_GOOGLE = 0xe800;
static const int FONT_ALEXA = 0xe801;
static const int FONT_APPLE = 0xe802;
@@ -16,8 +19,49 @@ class Constants {
static const int FONT_TOPTONS = 0xe813;
static const bool DEBUG = false;
static const BASE_API_URL = 'https://api.minipos.us/';
static const int BUSINESS_ID = 310; //310, 680, 357(notjust), 651(kiosk);
static const String APP_TITLE = 'MiniPOS Ponit of Sale System';
static const String BASE_API_URL = 'https://api.minipos.us/'; //'https://sandbox.minipos.us/', 'https://api.minipos.us/'
static const String TUTORIAL_URL = 'https://archive.wisetronic.com/wisetronic-products-documentation/';
static const String API_SECRET = 'pei326sami1223HellowWorldabcdEd';
static const KEY_USER_ID = 'user_id';
static const KEY_ACCESS_TOKEN = 'access_token';
static const KEY_CARTINFOS = "cart_infos";
static const ORDERS_PER_PAGE = 10;
static const KEY_LAST_VISIT = 'last-visits';
static const int TICKET_PER_PAGE_MOBILE = 20;
static const int TICKET_PER_PAGE_DESKTOP = 40;
static const int BLOG_PER_PAGE_MOBILE = 20;
static const int BLOG_PER_PAGE_DESKTOP = 30;
static const double BREADCRUMB_HEIGHT = 38;
static const int HOT_SALE_ID = -1;
static const int FEATURED_PRODUCT_ID = -2;
static const String PAYMENT_METHOD_PAY_ON_DELIVERY = 'POD';
static const String PAYMENT_METHOD_CODE_CHASE = 'chase';
static const String PAYMENT_METHOD_CODE_SQUARE = 'web-credit-card';
static const String PAYMENT_METHOD_CODE_OTT_ALIPAY = 'ALIPAY';
static const String PAYMENT_METHOD_CODE_OTT_WECHATPAY = 'WECHATPAY';
static const String PAYMENT_METHOD_CODE_PAYPAL = 'paypal';
static const String PAYMENT_METHOD_CODE_STRIPE = 'stripe';
static const String PAYMENT_METHOD_CODE_POD = 'payondeliverypickup';
static const String PAYMENT_METHOD_NATIVE_PAY = 'native_pay';
static const String STRIPE_STATUS_REQUIRES_CONFIRMATION = 'requires_confirmation';
static const String STRIPE_CLIENT_SECRET = 'client_secret';
static const String STRIPE_STATUS_SUCCEDED = 'succeeded';
static const int STATUS_PENDING = 0;
static const int STATUS_ACCEPT = 1;
static const int STATUS_PROCESSING = 2;
static const int STATUS_COMPLETE = 5;
static const int STATUS_CANCELLED = -1;
static const String PAYMENT_STATUS_UNPAID = 'UNPAID';
static const String PAYMENT_STATUS_PAID = 'PAID';
static const String PAYMENT_STATUS_PARTIALPAID = 'PARTIALPAID';
}