Files
old-new-wiaas/frontend/src/constants/dashboardConstants.js

45 lines
1.4 KiB
JavaScript

const MODULE = 'DASHBOARD_';
export const REQUEST_GADGETS = MODULE + 'REQUEST_GADGETS';
export const RECIEVE_GADGETS = MODULE + 'RECIEVE_GADGETS';
export const REQUEST_ORDERS = MODULE + 'REQUEST_ORDERS';
export const RECEIVE_ORDERS = MODULE + 'RECEIVE_ORDERS';
export const REQUEST_NEXT_ACTIONS = MODULE + 'REQUEST_NEXT_ACTIONS';
export const RECIEVE_NEXT_ACTIONS = MODULE + 'RECIEVE_NEXT_ACTIONS';
export const dashboardTexts = {
labels : {
ORDER_CENTRAL: 'Order Central',
NEXT_ACTIONS: 'Next Actions',
NO_ORDERS: 'For the moment you don\'t have any orders. Go to the Co-Market to add packages.',
NO_ACTIONS: 'No actions available.'
},
tableHeaders: {
ORDER: 'Order Number',
ORDER_DATE: 'Order Date',
PLACED_BY: 'Placed By',
REFERENCE: 'Location Details',
STATUS: 'Status',
ON_DELIVERY: 'On Delivery',
MONTHLY: 'Monthly'
},
buttons: {
DETAILS: 'Details'
},
statuses: {
open: 'Open',
processing: 'In Progress',
completed: 'Production',
'end-of-life': 'End Of Life',
cancelled: 'Cancelled',
'not-accepted': 'Not Accepted',
invalid: 'Invalid',
pending: 'Pending'
},
messages: {
ORDER_PLACED: 'Thank you for your order! You will be able to see the progress of it in the Details section of your order'
}
}