summaryrefslogtreecommitdiffstats
path: root/front/odiparpack/app/components/Tables/tableParts
diff options
context:
space:
mode:
authorgabrhr <[email protected]>2022-06-01 13:08:52 -0500
committergabrhr <[email protected]>2022-06-01 13:08:52 -0500
commit77fb39778fc4ebb3eea9e9801320efe1a4878c9a (patch)
treec76bd4219582e5acf6b6680981cacbbe4bb055ed /front/odiparpack/app/components/Tables/tableParts
parentcbc7d7f7494508fda69e88c76702a878bebca0e2 (diff)
downloadDP1_project-77fb39778fc4ebb3eea9e9801320efe1a4878c9a.tar.gz
DP1_project-77fb39778fc4ebb3eea9e9801320efe1a4878c9a.tar.bz2
DP1_project-77fb39778fc4ebb3eea9e9801320efe1a4878c9a.zip
Add Almacen, Ruta, Camiones (Flota, Camiones, Averías)
#TODO - Arreglar combos - Añadir los reducer de camiones, rutas, almacen
Diffstat (limited to 'front/odiparpack/app/components/Tables/tableParts')
-rw-r--r--front/odiparpack/app/components/Tables/tableParts/RowReadOnly.js10
-rw-r--r--front/odiparpack/app/components/Tables/tableParts/tableStyle-jss.js2
2 files changed, 11 insertions, 1 deletions
diff --git a/front/odiparpack/app/components/Tables/tableParts/RowReadOnly.js b/front/odiparpack/app/components/Tables/tableParts/RowReadOnly.js
index d060d02..f6be3fd 100644
--- a/front/odiparpack/app/components/Tables/tableParts/RowReadOnly.js
+++ b/front/odiparpack/app/components/Tables/tableParts/RowReadOnly.js
@@ -46,6 +46,9 @@ class RowReadOnly extends React.Component {
case 'etiq_camion':
case 'etiq_bloqueo':
case 'etiq_alma':
+ case 'etiq_ruta':
+ case 'etiq_tipoAveria':
+ case 'etiq_estadoAveria':
return (
<TableCell padding="none" key={index.toString()}>
{etiqueta(inputType, item.get(itemCell.name))}
@@ -57,6 +60,13 @@ class RowReadOnly extends React.Component {
{item.get(itemCell.name) !== undefined ? item.get(itemCell.name).toString() : ''}
</TableCell>
);
+ case 'averia_ubicacion':
+ return (
+ <TableCell padding="none" key={index.toString()}>
+ Longitud: {item.get('longitud') !== undefined ? item.get('longitud').toString() : ''}
+ {'\u00A0'} Latitud: {item.get('latitud') !== undefined ? item.get('latitud').toString() : ''}
+ </TableCell>
+ );
}
}
return false;
diff --git a/front/odiparpack/app/components/Tables/tableParts/tableStyle-jss.js b/front/odiparpack/app/components/Tables/tableParts/tableStyle-jss.js
index bede0b8..bef1ac7 100644
--- a/front/odiparpack/app/components/Tables/tableParts/tableStyle-jss.js
+++ b/front/odiparpack/app/components/Tables/tableParts/tableStyle-jss.js
@@ -6,7 +6,7 @@ const styles = theme => ({
rootTable: {
width: '100%',
marginTop: theme.spacing(3),
- overflowX: 'auto',
+ overflowX: 'hidden',
},
highlight:
theme.palette.type === 'light' ? {