Compare commits

..

No commits in common. "e8227661e075ec5161a1c7bcc56100986e8c055f" and "c39cae9f81f084b04602671ea4e55723e1ec9676" have entirely different histories.

8 changed files with 29 additions and 29 deletions

View File

@ -6,4 +6,4 @@ app.use(express.static(path.join(__dirname, "build")));
app.get("/*", function (req, res) { app.get("/*", function (req, res) {
res.sendFile(path.join(__dirname, "build", "index.html")); res.sendFile(path.join(__dirname, "build", "index.html"));
}); });
app.listen(3333); app.listen(3337);

View File

@ -13,6 +13,8 @@ import DateFnsUtils from '@date-io/date-fns'
import ptBrLocale from "date-fns/locale/pt-BR" import ptBrLocale from "date-fns/locale/pt-BR"
import esLocale from 'date-fns/locale/es'; import esLocale from 'date-fns/locale/es';
import { i18n } from '../../../translate/i18n';
import { WhatsAppsContext } from "../../context/WhatsApp/WhatsAppsContext" import { WhatsAppsContext } from "../../context/WhatsApp/WhatsAppsContext"
import { import {

View File

@ -75,7 +75,7 @@ const TableUser = ({ classes, usersOnlineInfo, logout }) => {
<MenuItem value={null}>Todos</MenuItem> <MenuItem value={null}>Todos</MenuItem>
<MenuItem value={"online"}>Online</MenuItem> <MenuItem value={"online"}>Online</MenuItem>
<MenuItem value={"offline"}>Offline</MenuItem> <MenuItem value={"offline"}>Offline</MenuItem>
<MenuItem value={"not"}>{i18n.t('dashboard.titles.notEnter')}</MenuItem> <MenuItem value={"not"}>Não entrou</MenuItem>
</Select> </Select>
</FormControl> </FormControl>
</Box> </Box>
@ -221,7 +221,7 @@ const TableUser = ({ classes, usersOnlineInfo, logout }) => {
</div> </div>
</TableCell> </TableCell>
<TableCell> <TableCell>
{user.sumOnlineTime ? user.sumOnlineTime.sum : i18n.t('dashboard.titles.notEnter')} {user.sumOnlineTime ? user.sumOnlineTime.sum : "Não entrou"}
</TableCell> </TableCell>
<TableCell> <TableCell>
{user.statusOnline && user.statusOnline.status === "online" ? ( {user.statusOnline && user.statusOnline.status === "online" ? (

View File

@ -5,6 +5,9 @@ import { Formik, Form, Field } from "formik"
import { toast } from "react-toastify" import { toast } from "react-toastify"
import openSocket from 'socket.io-client' import openSocket from 'socket.io-client'
import { i18n } from "../../translate/i18n";
import { import {
makeStyles, makeStyles,
Button, Button,

View File

@ -520,7 +520,7 @@ const Dashboard = () => {
variant="outlined" variant="outlined"
> >
<Typography component="h3" variant="h6" color="primary" paragraph> <Typography component="h3" variant="h6" color="primary" paragraph>
{i18n.t('dashboard.titles.ticketsClosed')} Fechados
</Typography> </Typography>
<Grid item> <Grid item>
<Typography component="h1" variant="h4"> <Typography component="h1" variant="h4">

View File

@ -75,8 +75,7 @@ const messages = {
listUser: 'List user', listUser: 'List user',
user: 'user', user: 'user',
notEnter: 'Did not enter', notEnter: 'Did not enter',
notEnterToday: 'Did not enter today', notEnterToday: 'Did not enter today'
ticketsClosed: 'Closed'
} }
}, },
reportOptType: { reportOptType: {
@ -349,9 +348,7 @@ const messages = {
title0_1: "Reminders/Schedulings", title0_1: "Reminders/Schedulings",
title1_1: "Calls by attendants", title1_1: "Calls by attendants",
title2_1: "Whatsapp chat", title2_1: "Whatsapp chat",
title3_1: "Users online/offline", title3_1: "Users online/offline"
title4_1: "Attendance report by numbers",
title5_1: "Queue service report"
}, },
listColumns: { listColumns: {
column0_1: 'Actions', column0_1: 'Actions',

View File

@ -52,7 +52,7 @@ const messages = {
} }
}, },
table_users: { table_users:{
title: 'Lista de usuarios', title: 'Lista de usuarios',
column0: 'Nombre', column0: 'Nombre',
@ -71,15 +71,14 @@ const messages = {
attendant: 'Agente', attendant: 'Agente',
dialogTitle: 'Reportes', dialogTitle: 'Reportes',
dialogContentText: 'Escoja una opción de reporte abajo.', dialogContentText: 'Escoja una opción de reporte abajo.',
transfer: 'Transferir para otras Colas', transfer: 'Transferir para outras filas',
title: 'Cierre de Tickets', title: 'Entradas de cierre',
confirmationModal: 'Está seguro de que desea eliminar este estado de cierre: ', confirmationModal: 'Está seguro de que desea eliminar este estado de cierre: ',
status: 'Status de cierre', status: 'Status de cierre',
listUser: 'Lista de Usuarios', listUser: 'Lista de Usuarios',
user: 'Usuario', user: 'Usuario',
notEnter: 'No ingresó', notEnter: 'No ingresó',
notEnterToday: 'No ingresó hoy', notEnterToday: 'No ingresó hoy'
ticketsClosed: 'Cerrados'
} }
}, },
reportOptType: { reportOptType: {
@ -357,10 +356,10 @@ const messages = {
title1_1: "Atención por agentes", title1_1: "Atención por agentes",
title2_1: "Chat de whatsapp", title2_1: "Chat de whatsapp",
title3_1: "Usuarios online/offline", title3_1: "Usuarios online/offline",
title4_1: "Reporte de atención por números", title4_1: "Relatório de atendimento por números",
title5_1: "Reporte de atención por colas" title5_1: "Relatório de atendimento por filas"
}, },
listColumns: { listColumns:{
column0_1: 'Acción', column0_1: 'Acción',
column0_2: 'Pic', column0_2: 'Pic',
column0_3: 'Nombre', column0_3: 'Nombre',

View File

@ -75,9 +75,8 @@ const messages = {
status: 'Status de encerramento', status: 'Status de encerramento',
listUser: 'Lista de Usuarios', listUser: 'Lista de Usuarios',
user: 'Usuario', user: 'Usuario',
notEnter: 'Não entrou', notEnter: 'No ingresó',
notEnterToday: 'Não entrou hoje', notEnterToday: 'Não entrou'
ticketsClosed: 'Fechados'
} }
}, },
reportOptType: { reportOptType: {