Files
fcs/lib/domain/constants.dart
2020-10-16 21:38:39 +06:30

71 lines
2.2 KiB
Dart

const config_collection = "configs";
const user_collection = "users";
const invitations_collection = "invitations";
const privilege_collection = "privileges";
const markets_collection = "markets";
const packages_collection = "packages";
const messages_collection = "messages";
const fcs_shipment_collection = "fcs_shipments";
const invoices_collection = "invoices";
const delivery_address_collection = "delivery_addresses";
const cargo_types_collection = "cargo_types";
const custom_duties_collection = "custom_duties";
const discounts_by_weights_collection = "discounts_by_weight";
const shipments_collection = "shipments";
// docs
const setting_doc_id = "setting";
const rate_doc_id = "rate";
const user_requested_status = "requested";
const user_invited_status = "invited";
const pkg_files_path = "/packages";
// Link page
const page_payment_methods = "payment_methods";
const page_buying_instructions = "buying_instructions";
const page_rates = "rates";
// Message type
const message_type_package = "t_p";
const message_type_profile = "t_profile";
// Fcs shipment status
const fcs_shipment_confirmed_status = "confirmed";
const fcs_shipment_shipped_status = "shipped";
const fcs_shipment_delivered_status = "delivered";
// 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
const privilege_sys_admin = "sa";
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";
// Pickup types
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";
const carton_mix_box = "Mix carton";