forked from TDTP/admin_transporte_frontend
test
parent
7abf1b3ab4
commit
3407f855c1
|
@ -189,15 +189,14 @@
|
||||||
<td>{adjustDateTimeByOffset(app.created)}</td>
|
<td>{adjustDateTimeByOffset(app.created)}</td>
|
||||||
|
|
||||||
<td >
|
<td >
|
||||||
{#if app.status.toUpperCase().startsWith('V') }
|
{#if app.status.toUpperCase().includes('PREP')}
|
||||||
<!-- Elemento interactivo para usuarios con 'CON REPAROS' en el estado -->
|
<!-- Elemento interactivo para usuarios con 'CON REPAROS' en el estado -->
|
||||||
|
|
||||||
<a href={"#"} on:click|preventDefault={() => reporteErroresCargaGTFS(id_red, app.id_gtfs)}>
|
{app.status}
|
||||||
{app.status}</a>
|
|
||||||
|
|
||||||
{:else}
|
{:else}
|
||||||
<!-- Solo texto para estados sin 'CON REPAROS' -->
|
<!-- Solo texto para estados sin 'CON REPAROS' -->
|
||||||
{app.status}
|
<a href={"#"} on:click|preventDefault={() => reporteErroresCargaGTFS(id_red, app.id_gtfs)}>{app.status}</a>
|
||||||
{/if}
|
{/if}
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue