Feat: Agregar IDs de carretas a comparativa UVA vs Carretas
All checks were successful
build-and-deploy / build-and-deploy (push) Successful in 56s
All checks were successful
build-and-deploy / build-and-deploy (push) Successful in 56s
This commit is contained in:
@@ -131,6 +131,7 @@
|
|||||||
<th class="text-right py-3 px-2 text-[var(--brand-text-muted)] font-medium">Diferencia</th>
|
<th class="text-right py-3 px-2 text-[var(--brand-text-muted)] font-medium">Diferencia</th>
|
||||||
<th class="text-right py-3 px-2 text-[var(--brand-text-muted)] font-medium">Rend%</th>
|
<th class="text-right py-3 px-2 text-[var(--brand-text-muted)] font-medium">Rend%</th>
|
||||||
<th class="text-center py-3 px-2 text-[var(--brand-text-muted)] font-medium">Err</th>
|
<th class="text-center py-3 px-2 text-[var(--brand-text-muted)] font-medium">Err</th>
|
||||||
|
<th class="text-left py-3 px-2 text-[var(--brand-text-muted)] font-medium">Carretas</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@@ -168,6 +169,10 @@
|
|||||||
<span v-if="row.errores > 0" class="text-red-400">{{ row.errores }}</span>
|
<span v-if="row.errores > 0" class="text-red-400">{{ row.errores }}</span>
|
||||||
<span v-else class="text-[var(--brand-text-muted)]">-</span>
|
<span v-else class="text-[var(--brand-text-muted)]">-</span>
|
||||||
</td>
|
</td>
|
||||||
|
<td class="py-2 px-2 text-left">
|
||||||
|
<span v-if="row.carreta_ids" class="text-xs text-[var(--brand-primary)] font-mono">{{ row.carreta_ids }}</span>
|
||||||
|
<span v-else class="text-[var(--brand-text-muted)]">-</span>
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
@@ -205,6 +210,7 @@ interface ComparativaRow {
|
|||||||
diferencia_lb: number
|
diferencia_lb: number
|
||||||
rendimiento_pct: number | null
|
rendimiento_pct: number | null
|
||||||
errores: number
|
errores: number
|
||||||
|
carreta_ids: string
|
||||||
}
|
}
|
||||||
|
|
||||||
interface ComparativaData {
|
interface ComparativaData {
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* Executes Card 94 from Metabase and returns processed data
|
* Executes Card 94 from Metabase and returns processed data
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const CARD_ID = 94 // Comparativa Ingreso UVA vs Salida (Nov-Dic 2025)
|
const CARD_ID = 95 // Comparativa Ingreso UVA vs Salida (con IDs)
|
||||||
|
|
||||||
export default defineEventHandler(async (event) => {
|
export default defineEventHandler(async (event) => {
|
||||||
const body = await readBody(event)
|
const body = await readBody(event)
|
||||||
|
|||||||
Reference in New Issue
Block a user