summaryrefslogtreecommitdiffstats
path: root/front/odiparpack/app/components/Tables/tableParts
diff options
context:
space:
mode:
authorDayana31 <[email protected]>2022-06-03 17:24:38 -0500
committerDayana31 <[email protected]>2022-06-03 17:24:38 -0500
commitf4435233c0aad92f63ee097831565875a6dc903c (patch)
treefb3460742efd381958c1715dd9908597bd7b3e2f /front/odiparpack/app/components/Tables/tableParts
parentc4afbde59b708505803094724632774ffb35ee74 (diff)
parent7494e99f73c3aa28f7caf8b6b0c063a0cb6035cf (diff)
downloadDP1_project-f4435233c0aad92f63ee097831565875a6dc903c.tar.gz
DP1_project-f4435233c0aad92f63ee097831565875a6dc903c.tar.bz2
DP1_project-f4435233c0aad92f63ee097831565875a6dc903c.zip
Merge branch 'gabshr' into dayana
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' ? {