Skip to content

Commit a17c147

Browse files
Actualizacion de vista retail
1 parent c69bea1 commit a17c147

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

src/Components/GD/RegistrarNuevo/Retail/Retail.tsx

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -197,8 +197,8 @@ export default function RetailTabla({deleteRetail, dependenciaOptions, loadingDe
197197
Nombre {renderSortIndicator('Nombre', sorts)}
198198
</th>
199199

200-
<th role="button" tabIndex={0} onClick={(e) => toggleSort('Temporal', e.shiftKey)} onKeyDown={(e) => { if (e.key === 'Enter' || e.key === ' ') toggleSort('Temporal', e.shiftKey); }} aria-label="Ordenar por Temporal" style={{ cursor: 'pointer', whiteSpace: 'nowrap' }}>
201-
Temporal {renderSortIndicator('Temporal', sorts)}
200+
<th role="button" tabIndex={0} onClick={(e) => toggleSort('cargp', e.shiftKey)} onKeyDown={(e) => { if (e.key === 'Enter' || e.key === ' ') toggleSort('cargo', e.shiftKey); }} aria-label="Ordenar por Temporal" style={{ cursor: 'pointer', whiteSpace: 'nowrap' }}>
201+
Cargo {renderSortIndicator('cargo', sorts)}
202202
</th>
203203

204204
<th role="button" tabIndex={0} onClick={(e) => toggleSort('Tienda', e.shiftKey)} onKeyDown={(e) => { if (e.key === 'Enter' || e.key === ' ') toggleSort('Tienda', e.shiftKey); }} aria-label="Ordenar por Tienda" style={{ cursor: 'pointer', whiteSpace: 'nowrap' }}>
@@ -209,6 +209,10 @@ export default function RetailTabla({deleteRetail, dependenciaOptions, loadingDe
209209
Fecha Ingreso {renderSortIndicator('inicio', sorts)}
210210
</th>
211211

212+
<th role="button" tabIndex={0} aria-label="Ordenar por ingreso" style={{ cursor: 'pointer', whiteSpace: 'nowrap' }}>
213+
Información repartada por
214+
</th>
215+
212216
<th style={{ textAlign: "center" }}>%</th>
213217
{canDeleteRegister ? <th style={{ textAlign: "center" }}>Eliminar</th> : null}
214218
</tr>
@@ -219,9 +223,10 @@ export default function RetailTabla({deleteRetail, dependenciaOptions, loadingDe
219223
<tr key={n.Id} tabIndex={0} onClick={() => openRow(n)} onKeyDown={(e) => onRowKeyDown(e, n)}>
220224
<td>{n.Title}</td>
221225
<td><span title={n.Nombre}>{n.Nombre}</span></td>
222-
<td><span title={n.Temporal}>{n.Temporal}</span></td>
226+
<td><span title={n.Cargo}>{n.Cargo}</span></td>
223227
<td><span title={n.CentroCostos}>{n.CentroCostos}</span></td>
224228
<td>{toISODateFlex(n.FechaIngreso) || "–"}</td>
229+
<td><span title={n.InformacionEnviadaPor}>{n.InformacionEnviadaPor}</span></td>
225230
<td style={{ textAlign: "center" }}>
226231
{(() => {
227232
const id = String(n.Id ?? "");

0 commit comments

Comments
 (0)