Files
fcs/lib/domain/constants.dart

110 lines
3.5 KiB
Dart
Raw Normal View History

2020-11-09 05:53:25 +06:30
const uploadPhotoLimit = 10;
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";
2020-12-03 17:21:59 +06:30
const carton_sizes_collection = "carton_sizes";
2020-09-16 02:29:50 +06:30
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-16 21:38:39 +06:30
const invoices_collection = "invoices";
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";
2020-10-16 10:58:31 +06:30
const shipments_collection = "shipments";
2020-10-18 02:38:46 +06:30
const cartons_collection = "cartons";
2020-10-22 04:14:53 +06:30
const discounts_collection = "discounts";
2020-10-15 03:06:13 +06:30
// docs
const setting_doc_id = "setting";
const rate_doc_id = "rate";
2020-09-13 21:49:39 +06:30
2020-10-18 02:38:46 +06:30
// user's status
2020-09-17 06:02:48 +06:30
const user_requested_status = "requested";
const user_invited_status = "invited";
2020-10-17 01:40:24 +06:30
const user_disabled_status = "disabled";
const user_joined_status = "joined";
2020-09-17 06:02:48 +06:30
const pkg_files_path = "/packages";
2020-10-19 05:13:49 +06:30
const shipment_labels_files_path = "/shipment_labels";
2020-10-28 05:11:06 +06:30
const receipt_labels_files_path = "/receipts";
2020-09-17 06:02:48 +06:30
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-10-19 14:02:34 +06:30
const message_type_shipment = "t_s";
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";
2020-10-18 02:38:46 +06:30
const shipment_local_dropoff = "Local drop off";
const shipment_courier_dropoff = "Courier drop off";
2020-10-14 13:17:12 +06:30
//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";
2020-10-21 02:59:10 +06:30
const carton_small_bag = "Small bag";
2020-10-18 02:38:46 +06:30
2020-10-20 06:19:10 +06:30
//Carton status
const carton_packed_status = "packed";
const carton_shipped_status = "shipped";
const carton_delivered_status = "delivered";
2020-10-18 02:38:46 +06:30
// shipment status
const shipment_pending_status = "pending";
2020-10-19 05:13:49 +06:30
const shipment_assigned_status = "assigned";
2020-10-18 02:38:46 +06:30
const shipment_confirmed_status = "confirmed";
2020-10-19 05:13:49 +06:30
const shipment_received_status = "received";
2020-10-18 02:38:46 +06:30
const shipment_pickuped_status = "pickuped";
const shipment_packed_status = "packed";
const shipment_shipped_status = "shipped";
const shipment_delivered_status = "delivered";
2020-10-26 04:41:24 +06:30
// invoice status
const invoice_issued_status = "issued";
const invoice_saved_status = "saved";
const invoice_cancel_status = "canceled";
const invoice_paid_status = "paid";
2020-10-28 05:11:06 +06:30
// payment status
const payment_pending_status = "pending";
const payment_confirmed_status = "confirmed";
const payment_canceled_status = "canceled";