fix fcs shipment service
This commit is contained in:
148
lib/constants.dart
Normal file
148
lib/constants.dart
Normal file
@@ -0,0 +1,148 @@
|
||||
const uploadPhotoLimit = 10;
|
||||
const shipmentCountForCartonFilter = 10;
|
||||
|
||||
const config_collection = "configs";
|
||||
const user_collection = "users";
|
||||
const authCollection = "auths";
|
||||
const invitations_collection = "invitations";
|
||||
const privilege_collection = "privileges";
|
||||
const markets_collection = "markets";
|
||||
const carton_sizes_collection = "carton_sizes";
|
||||
const shipment_type_collection = "shipment_types";
|
||||
|
||||
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";
|
||||
const cartons_collection = "cartons";
|
||||
const discounts_collection = "discounts";
|
||||
const pickup_collection = "pickups";
|
||||
|
||||
// docs
|
||||
const setting_doc_id = "setting";
|
||||
const rate_doc_id = "rate";
|
||||
|
||||
// user's status
|
||||
const user_requested_status = "requested";
|
||||
const user_invited_status = "invited";
|
||||
const user_disabled_status = "disabled";
|
||||
const user_joined_status = "joined";
|
||||
|
||||
const pkg_files_path = "/packages";
|
||||
const shipment_labels_files_path = "/shipment_labels";
|
||||
const receipt_labels_files_path = "/receipts";
|
||||
const pickups_files_path = "/pickups";
|
||||
const carton_files_path = "/cartons";
|
||||
|
||||
// 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";
|
||||
const message_type_shipment = "t_s";
|
||||
|
||||
// Fcs shipment status
|
||||
const fcs_shipment_pending_status = "pending";
|
||||
const fcs_shipment_canceled_status = "canceled";
|
||||
const fcs_shipment_processed_status = "processed";
|
||||
const fcs_shipment_shipped_status = "shipped";
|
||||
const fcs_shipment_arrived_status = "arrived";
|
||||
const fcs_shipment_invoiced_status = "invoiced";
|
||||
|
||||
// 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";
|
||||
const privilege_pickup = "pku";
|
||||
const privilege_collect = "col";
|
||||
const privilege_report = "rpt";
|
||||
|
||||
// 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 = "Carton for packages";
|
||||
const carton_mix_carton = "Mix carton";
|
||||
|
||||
const carton_from_cartons = "From cartons";
|
||||
const carton_from_shipments = "From shipments";
|
||||
const carton_small_bag = "Small bag";
|
||||
const carton_mix_box = "Mix box";
|
||||
|
||||
// carton Size
|
||||
const standardCarton = "Standard carton size";
|
||||
const customCarton = "Custom size";
|
||||
const packageCartion = "Package";
|
||||
|
||||
//Mix types
|
||||
const mix_delivery = "Mix Delivery";
|
||||
const mix_pickup = "Mix Pickup";
|
||||
|
||||
//Carton status
|
||||
const carton_packed_status = "packed";
|
||||
const carton_shipped_status = "shipped";
|
||||
const carton_delivered_status = "delivered";
|
||||
const carton_processing_status = "processing";
|
||||
const carton_arrived_status = "arrived";
|
||||
const carton_invoiced_status = "invoiced";
|
||||
const carton_canceled_status = "canceled";
|
||||
const all_status = "All stauts";
|
||||
const all = "All";
|
||||
const see_more = "See More";
|
||||
|
||||
// shipment status
|
||||
const shipment_pending_status = "pending";
|
||||
const shipment_assigned_status = "assigned";
|
||||
const shipment_confirmed_status = "confirmed";
|
||||
const shipment_received_status = "received";
|
||||
const shipment_pickuped_status = "pickuped";
|
||||
const shipment_packed_status = "packed";
|
||||
const shipment_shipped_status = "shipped";
|
||||
const shipment_delivered_status = "delivered";
|
||||
|
||||
// invoice status
|
||||
const invoice_issued_status = "issued";
|
||||
const invoice_saved_status = "saved";
|
||||
const invoice_cancel_status = "canceled";
|
||||
const invoice_paid_status = "paid";
|
||||
|
||||
// payment status
|
||||
const payment_pending_status = "pending";
|
||||
const payment_confirmed_status = "confirmed";
|
||||
const payment_canceled_status = "canceled";
|
||||
|
||||
//Delivery types
|
||||
const delivery_caton = "Delivery carton";
|
||||
const pickup_carton = "Pick-up carton";
|
||||
|
||||
// bill
|
||||
const billToSender = "Bill to sender";
|
||||
const billToConsignee = "Bill to consignee";
|
||||
Reference in New Issue
Block a user