2020-09-13 21:49:39 +06:30
|
|
|
const config_collection = "configs";
|
|
|
|
|
const user_collection = "users";
|
|
|
|
|
const invitations_collection = "invitations";
|
|
|
|
|
const privilege_collection = "privileges";
|
2020-09-16 02:29:50 +06:30
|
|
|
const markets_collection = "markets";
|
|
|
|
|
const packages_collection = "packages";
|
2020-09-20 05:34:49 +06:30
|
|
|
const messages_collection = "messages";
|
2020-10-08 03:32:52 +06:30
|
|
|
const fcs_shipment_collection = "fcs_shipments";
|
2020-10-08 11:38:05 +06:30
|
|
|
const delivery_address_collection = "delivery_addresses";
|
2020-10-15 03:06:13 +06:30
|
|
|
const cargo_types_collection = "cargo_types";
|
|
|
|
|
const custom_duties_collection = "custom_duties";
|
|
|
|
|
const discounts_by_weights_collection = "discounts_by_weight";
|
|
|
|
|
|
|
|
|
|
// docs
|
|
|
|
|
const setting_doc_id = "setting";
|
|
|
|
|
const rate_doc_id = "rate";
|
2020-09-13 21:49:39 +06:30
|
|
|
|
2020-09-17 06:02:48 +06:30
|
|
|
const user_requested_status = "requested";
|
|
|
|
|
const user_invited_status = "invited";
|
|
|
|
|
|
|
|
|
|
const pkg_files_path = "/packages";
|
|
|
|
|
|
2020-09-18 21:33:41 +06:30
|
|
|
// Link page
|
|
|
|
|
const page_payment_methods = "payment_methods";
|
|
|
|
|
const page_buying_instructions = "buying_instructions";
|
2020-10-15 03:06:13 +06:30
|
|
|
const page_rates = "rates";
|
2020-09-20 05:34:49 +06:30
|
|
|
|
|
|
|
|
// Message type
|
|
|
|
|
const message_type_package = "t_p";
|
2020-09-20 08:06:14 +06:30
|
|
|
const message_type_profile = "t_profile";
|
2020-09-20 05:34:49 +06:30
|
|
|
|
2020-10-08 03:32:52 +06:30
|
|
|
// Fcs shipment status
|
|
|
|
|
const fcs_shipment_confirmed_status = "confirmed";
|
|
|
|
|
const fcs_shipment_shipped_status = "shipped";
|
|
|
|
|
const fcs_shipment_delivered_status = "delivered";
|
2020-10-11 02:17:23 +06:30
|
|
|
|
|
|
|
|
// Package status
|
|
|
|
|
const package_received_status = "received";
|
|
|
|
|
const package_processed_status = "processed";
|
|
|
|
|
const package_packed_status = "packed";
|
|
|
|
|
const package_shipped_status = "shipped";
|
|
|
|
|
const package_delivered_status = "delivered";
|
|
|
|
|
|
|
|
|
|
// Privileges
|
2020-10-12 03:34:05 +06:30
|
|
|
const privilege_sys_admin = "sa";
|
2020-10-11 02:17:23 +06:30
|
|
|
const privilege_admin = "admin";
|
|
|
|
|
const privilege_support = "sp";
|
|
|
|
|
const privilege_package = "pkg";
|
|
|
|
|
const privilege_shipment = "sh";
|
|
|
|
|
const privilege_fcs_shipment = "fsh";
|
|
|
|
|
const privilege_staff = "st";
|
|
|
|
|
const privilege_carton = "ca";
|
|
|
|
|
const privilege_customer = "cu";
|
|
|
|
|
const privilege_delivery = "deli";
|
|
|
|
|
const privilege_invoice = "inv";
|
|
|
|
|
const privilege_processing = "pr";
|
|
|
|
|
const privilege_receiving = "rc";
|
2020-10-12 08:26:27 +06:30
|
|
|
|
|
|
|
|
// Pickup types
|
2020-10-14 13:17:12 +06:30
|
|
|
const shipment_local_pickup = "Local pickup";
|
|
|
|
|
const shipment_courier_pickup = "Courier pickup";
|
|
|
|
|
const shipment_local_dropoff = "Local drop-off";
|
|
|
|
|
const shipment_courier_dropoff = "Courier drop-off";
|
|
|
|
|
|
|
|
|
|
//Carton types
|
|
|
|
|
const carton_from_packages = "From packages";
|
|
|
|
|
const carton_from_shipments = "From shipments";
|
2020-10-14 16:53:16 +06:30
|
|
|
const carton_mix_box = "Mix carton";
|