" ."" ."

$sLineaSujeto

" ."" ."" ."

ACCIÓN

" ."

CÓDIGO

" ."

PLACA

" ."

STATUS

" ."

ÚLTIMO KILOMETRAJE

" ."

ESTACIÓN

" ."

SUBGRUPO

" ."" ."" ."" ."$rowUnidad[$fldCodigo_Unidad_O]" ."$rowUnidad[$fldPlaca_Unidad_O]" ."$rowUnidad[$fldStatus_Unidad_O]" ."$rowUnidad[$fldUltKms_Unidad_O]" ."$rowEstacion[$fldNombre_Estacion_O]" ."$rowSubgrupo[$fldNombre_Subgrupo_O]" ."" ."" ."
"; /*---------------------------------------------------- CONTRATOS ------------------------------------------------*/ echo ""; if ($countContratos == 0) { echo ""; } else { echo ""; } echo "

Contratos

No hay contratos asociados.

ACCIÓN

Nro. Contrato

Tipo

Fecha alquiler

Fecha devolución

Cliente

Conductor

$rowContrato[$fldId_Contrato_O] $rowContrato[$fldTipo_Contrato_O] $rowContrato[$fldFechaAlquiler_Contrato_O] $rowContrato[$fldFechaDevolucion_Contrato_O] $NombreCliente $rowContrato[$fldIdConductor_Contrato_O]

"; /*---------------------------------------------------- REPORTES DE SINIESTRO ------------------------------------------------*/ echo ""; if ($countSiniestros == 0) { echo ""; } else { echo ""; } echo "

Reportes de Siniestro

No hay reportes de siniestro asociados.

ACCIÓN

Nro. de reporte

Nro. de contrato

Fecha

Lugar

Estación recepción

Nro. de boleta

$rowSiniestro[$fldId_Siniestro_O] $rowSiniestro[$fldIdContrato_Siniestro_O] $rowSiniestro[$fldFecha_Siniestro_O] $rowSiniestro[$fldLugar_Siniestro_O] $rowEstacionEnSiniestro[$fldNombre_Estacion_O] $rowSiniestro[$fldNroBoleta_Siniestro_O]

"; /*---------------------------------------------------- ÓRDENES DE TRABAJO ------------------------------------------------*/ $countOTs = LeerStd($rsOTs, $tblContrato, "*", "$fldIdUnidad_Contrato_O = 616 AND $fldStatus_Contrato_O = 'Abierto'", "", "", "", ""); echo ""; if ($countOTs == 0) { echo ""; } else { $rowOT = mysql_fetch_array($rsOTs); echo ""; } echo "

Órdenes de Trabajo

No hay órdenes de trabajo asociadas.

ACCIÓN

Nro. Contrato

Fecha alquiler

Fecha devolución

Cliente

Conductor

$rowContrato[$fldId_Contrato_O] $rowContrato[$fldFechaAlquiler_Contrato_O] $rowContrato[$fldFechaDevolucion_Contrato_O] $rowContrato[$fldIdCliente_Contrato_O] $rowContrato[$fldIdConductor_Contrato_O]

"; /*---------------------------------------------------- ÓRDENES DE TRASLADO ------------------------------------------------*/ $countTraslados = LeerStd($rsTraslados, $tblContrato, "*", "$fldIdUnidad_Contrato_O = 616 AND $fldStatus_Contrato_O = 'Abierto'", "", "", "", ""); echo ""; if ($countTraslados == 0) { echo ""; } else { $rowTraslado = mysql_fetch_array($rsOTs ); echo ""; } echo "

Órdenes de Traslado

No hay órdenes de traslado asociadas.

ACCIÓN

Nro. Contrato

Fecha alquiler

Fecha devolución

Cliente

Conductor

$rowContrato[$fldId_Contrato_O] $rowContrato[$fldFechaAlquiler_Contrato_O] $rowContrato[$fldFechaDevolucion_Contrato_O] $rowContrato[$fldIdCliente_Contrato_O] $rowContrato[$fldIdConductor_Contrato_O]

"; /*---------------------------------------------------- ÓRDENES DE ASIGNACIÓN ------------------------------------------------*/ $countAsignaciones = LeerStd($rsAsignaciones, $tblContrato, "*", "$fldIdUnidad_Contrato_O = 616 AND $fldStatus_Contrato_O = 'Abierto'", "", "", "", ""); echo ""; if ($countAsignaciones == 0) { echo ""; } else { $rowAsignacion = mysql_fetch_array($rsOTs ); echo ""; } echo "

Órdenes de Asignación

No hay órdenes de asignación asociadas.

ACCIÓN

Nro. Contrato

Fecha alquiler

Fecha devolución

Cliente

Conductor

$rowContrato[$fldId_Contrato_O] $rowContrato[$fldFechaAlquiler_Contrato_O] $rowContrato[$fldFechaDevolucion_Contrato_O] $rowContrato[$fldIdCliente_Contrato_O] $rowContrato[$fldIdConductor_Contrato_O]

"; die; ?>