111 lines
6.4 KiB
JavaScript
111 lines
6.4 KiB
JavaScript
const MODULE = 'CO_MARKET_';
|
|
export const REQUEST_SHOP_PACKAGES = MODULE + 'REQUEST_SHOP_PACKAGES';
|
|
export const RECIEVE_SHOP_PACKAGES = MODULE + 'RECIEVE_SHOP_PACKAGES';
|
|
|
|
export const REQUEST_SHOP_COMMERCIAL_LEADS = MODULE + 'REQUEST_SHOP_COMMERCIAL_LEADS';
|
|
export const RECIEVE_SHOP_COMMERCIAL_LEADS = MODULE + 'RECIEVE_SHOP_COMMERCIAL_LEADS';
|
|
export const SELECT_SHOP_COMMERCIAL_LEAD = MODULE + 'SELECT_SHOP_COMMERCIAL_LEAD';
|
|
|
|
export const REQUEST_PACKAGE_DETAILS = MODULE + 'REQUEST_PACKAGE_DETAILS';
|
|
export const RECIEVE_PACKAGE_DETAILS = MODULE + 'RECIEVE_PACKAGE_DETAILS';
|
|
|
|
export const SELECT_OPTION = MODULE + 'SELECT_OPTION';
|
|
export const SELECT_ADDITIONAL = MODULE + 'SELECT_ADDITIONAL';
|
|
export const REMOVE_ADDITIONAL = MODULE + 'REMOVE_ADDITIONAL';
|
|
export const SELECT_AGREEMENT = MODULE + 'SELECT_AGREEMENT';
|
|
export const CLEAR_SELECTIONS = MODULE + 'CLEAR_SELECTIONS';
|
|
|
|
export const REQUEST_ADD_TO_CART = MODULE + 'REQUEST_ADD_TO_CART';
|
|
|
|
export const SET_PACKAGE_FROM_URL = MODULE + 'SET_PACKAGE_FROM_URL';
|
|
|
|
export const coMarketMessages = {
|
|
NOT_AVAILABLE: "This package is no longer available!",
|
|
NO_PACKAGES: "For the moment there are no packages available for your selection!",
|
|
INVALID_SELECTION: "Invalid selection!",
|
|
INVALID_USER: "This package is not available for this user!",
|
|
ONLY_ONE_CL: "You already have products from another reseller in the cart! One order can contain packages from a single reseller!",
|
|
ONLY_ONE_COUNTRY: "You already have products from another country in the cart! One order can contain packages from a single country!",
|
|
PACKAGE_ALREADY_IN_CART: "This package is already in the cart!",
|
|
PACKAGE_ADDED: "Package added to cart!",
|
|
OPTIONS_ADDED: "Package options saved!",
|
|
QUANTITY_UPDATED: "Quantity has been updated for the package!",
|
|
INVALID_PACKAGE_FOR_REMOVE: "This package is not available in your cart! In case this error persists contact the Co-Market!",
|
|
PACKAGE_REMOVED_FROM_CART: "The package has been removed from the cart!",
|
|
INVALID_QUANTITY: "The quantity can be a number between 1 and 100!",
|
|
CART_EMPTY: "You must have at least one package in the cart!",
|
|
NO_DELIVERY_ADDRESS: "No delivery address was added! Please fill the necessary info",
|
|
INCOMPLETE_DELIVERY_ADDRESS: "Incomplete delivery address. Please review!",
|
|
INCOMPLETE_BILLING_ADDRESS: "Incomplete billing address. Please review!",
|
|
INVALID_LENGTH_DELIVERY_ADDRESS: "Delivery detailed address should be not bigger than 500 characters",
|
|
INVALID_LENGTH_BILLING_ADDRESS: "Billing detailed address should be not bigger than 500 characters",
|
|
INVALID_LENGTH_COMPANY_NAME: "Company name is too long. Maximum 300 characters!",
|
|
INVALID_LENGTH_FIRST_NAME: "First name is too long. Maximum 200 characters!",
|
|
INVALID_LENGTH_LAST_NAME: "Last name is too long. Maximum 200 characters!",
|
|
INVALID_LENGTH_CITY: "City name is too long. Maximum 100 characters",
|
|
INVALID_LENGTH_ZIP: "Zip code is too long. Maximum 20 characters",
|
|
LINK_CUSTOMER_CL: "There is no link between you and the reseller!",
|
|
ORDER_PLACED: "Order was successfully placed!",
|
|
ORDER_ERROR: "Something went wrong when placing the order!",
|
|
NO_PACKAGES_IN_CART: "Go to the Co-Market to add packages.",
|
|
BROKER_MAIL_SENT: "A confirmation email was sent to the Co-Market!",
|
|
MAIL_SENT: "Confirmation mail was sent with the order details!",
|
|
ERROR_MAIL_SENT: "Error when sending mail!",
|
|
ERROR_ORDER_INSERT: "An error occured while placing the order!",
|
|
ERROR_ORDER_PACK_RELATION: "An error occured while linking the packages to the order!",
|
|
ERROR_ON_ADDING_DOCUMENTS: "An error occured while linking the required documents",
|
|
ERROR_ORDER_DELIVERY_ADDRESS: "An error occured when adding the delivery address!",
|
|
ERROR_ORDER_BILLING_ADDRESS: "An error occured when adding the billing address!",
|
|
ADDRESS_INSERTED: "Delivery and billing addresses were saved!",
|
|
PACKAGES_DELETED: "Your cart is now empty!",
|
|
NOT_UPLOADED: "You need to upload all questionaires to go further!",
|
|
NO_FILE: "File is not valid! Supported formats are .docx, .doc, .xlsx, .xls, .odt, .ods, .pdf, .png, .jpg, .jpeg",
|
|
UPLOAD_ERROR: "There seems to be an error and the file is not uploaded",
|
|
FILE_UPLOADED: "Questionaire has been uploaded!",
|
|
NOT_LINKED_TO_CART: "Questionaire has not been linked and needs to be uploaded again!",
|
|
NO_SUPPORT: "File Drag/Drop is not supported for this browser",
|
|
NOT_ACCEPTED_TERMS: "You have to accept the terms and conditions for the order to be placed.",
|
|
PACKAGE_UNAVIALABLE: "Package is no longer available!",
|
|
CL_UNAVIALABLE: "This reseller is no longer available!",
|
|
PRODUCT_NOT_AVAILABLE: "Please remove packages that are no longer available!",
|
|
MAX_CHARACTERS: "Too many characters!",
|
|
QUESIONNAIRE_NOT_REQUIRED: "This packages do not require a questionnaire to be filed!",
|
|
AGREEMENT_NOT_REQUIRED: "This packages do not require an agreement to be filed!",
|
|
EXTRA_NOT_AVAILABLE: "This selection is not available for the selected price type!",
|
|
UNAVAILABLE_PACKAGES: "Unavailable packages:",
|
|
OPTIONS_UNAVAILABLE: "Some options are no longer available!",
|
|
ADDITIONAL_PACKAGES_UNAVAILABLE: "Some additional packages are no longer available",
|
|
INSTALLATION_SAVED: "Installation company was saved."
|
|
};
|
|
|
|
|
|
export const coMarketTexts = {
|
|
labels : {
|
|
ON_DELIVERY: 'On delivery',
|
|
MONTHLY: 'Monthly',
|
|
NOT_AVAILABLE: 'Not available',
|
|
SELECTION_NOT_AVAILABLE: 'This selection is not available for the selected price type!',
|
|
RECURRENT_PRICE: 'Package recurent price',
|
|
SERVICE_PRICE: 'Services and support',
|
|
EXTEND: 'with possibility to extend each',
|
|
PACKAGE_OPTIONS: ' ',
|
|
ADDITIONAL_PACKAGES: 'Add-ons',
|
|
AGREEMENT_OPTIONS: 'Payment options',
|
|
CATALOGUE: 'Catalogue',
|
|
SELECT_CL: 'Select reseller...',
|
|
AVAILABLE_IN: 'Available in',
|
|
DOCUMENTS: 'Documents',
|
|
NEW_PRODUCTS: 'New Products',
|
|
SEARCH_PACKAGE: 'Search...',
|
|
COMMERCIAL_HEADER_1: 'Next-generation Collaboration',
|
|
COMMERCIAL_HEADER_2: `Ricoh is now launching Huddle Concept - a stylishly designed,
|
|
multifunctional workspace that integrates video conferencing
|
|
with interactive whiteboard and enables more creative and interactive meetings`,
|
|
BY : 'by'
|
|
},
|
|
buttons: {
|
|
ADD_TO_CART: 'Add to cart',
|
|
DETAILS: 'Details'
|
|
}
|
|
}
|