there is a loop event and loop
loop event for multiplied documents
and loop is for email
the problem is
when i calculate results in loop event
this—>get(loop_event22.row.point1)+this->get(loop_event22.row.point2)
return $result;
i cannot write this results to loop
when i write
{var:loop_event22} in data provider of loop in the loop event
it just give me second multiplied data twice
how can make connection to loop from loop event?
loop event for multiplied documents
and loop is for email
the problem is
when i calculate results in loop event
this—>get(loop_event22.row.point1)+this->get(loop_event22.row.point2)
return $result;
i cannot write this results to loop
when i write
{var:loop_event22} in data provider of loop in the loop event
it just give me second multiplied data twice
how can make connection to loop from loop event?
What is it exactly that you're trying to do?
Hi healyhatman,





If two students were evaluated it duplicates second student results including resultado overal mark
in email but it writes database correct
how can i set loop correct?





If two students were evaluated it duplicates second student results including resultado overal mark
in email but it writes database correct
how can i set loop correct?
OK so first of all:
And that second loop use {var:loop37.row} instead
$res1 = round(array_sum($this->get("loop_event22.row")) / 80 *100, 2);
And that second loop use {var:loop37.row} instead
sum_array works great
before it was like that duplicating second data on email

now it only write second data
with this code on loop37
so does not work
i cannot see two different resultado on different students evaluated
data provider of loop37
{var:loop_event22}
<div class="center">
<br><b>Estudiante no : </b>{var:loop37.key}</br>
<br><b>Nombre pasante : </b>{var:loop37.row.estudiante}</br>
<br><b>Área de formación : </b>{var:loop37.row.curso}</br>
<br><b>¿Tiene intención de contratar al pasante
<br><b>¿Porque no? : </b>{var:loop37.row.porque_contratar}</br>
<br><b>Asistencia y puntualidad : </b>{var:loop37.row.puntualidad}</br>
<br><b>Presentación personal : </b>{var:loop37.row.presentacion}</br>
<br><b>Cumplimiento de normas : </b>{var:loop37.row.normas}</br>
<br><b>Cumplimiento de tareas asignadas : </b>{var:loop37.row.tareas}</br>
<br><b>Redacción y ortografía : </b>{var:loop37.row.ortografia}</br>
<br><b>Manejo de Word : </b>{var:loop37.row.word}</br>
<br><b>Manejo de Excel : </b>{var:loop37.row.excel}</br>
<br><b>Archivo : </b>{var:loop37.row.archivo}</br>
<br><b>Orientación ética : </b>{var:loop37.row.etica}</br>
<br><b>Toma de decisiones : </b>{var:loop37.row.decisiones}</br>
<br><b>Solución de problemas : </b>{var:loop37.row.solucion_problemas}</br>
<br><b>Comunicación asertiva : </b>{var:loop37.row.comunicacion}</br>
<br><b>Trabajo en equipo : </b>{var:loop37.row.equipo}</br>
<br><b>Proactividad : </b>{var:loop37.row.proactividad}</br>
<br><b>Nivel de satisfacción : </b>{var:loop37.row.satisfacion_estudiante}</br>
<br><b>Manejo software contable : </b>{var:loop37.row.software}</br>
<br><b>Atención al cliente : </b>{var:loop37.row.cliente}</br>
<br><b>Resultado : </b>{var:loop37.row.resultado}</br>
<br><b>Observaciones : </b>{var:loop37.row.observaciones}</br>
</div>
before it was like that duplicating second data on email

now it only write second data
with this code on loop37
so does not work
i cannot see two different resultado on different students evaluated
data provider of loop37
{var:loop_event22}
<div class="center">
<br><b>Estudiante no : </b>{var:loop37.key}</br>
<br><b>Nombre pasante : </b>{var:loop37.row.estudiante}</br>
<br><b>Área de formación : </b>{var:loop37.row.curso}</br>
<br><b>¿Tiene intención de contratar al pasante
<br><b>¿Porque no? : </b>{var:loop37.row.porque_contratar}</br>
<br><b>Asistencia y puntualidad : </b>{var:loop37.row.puntualidad}</br>
<br><b>Presentación personal : </b>{var:loop37.row.presentacion}</br>
<br><b>Cumplimiento de normas : </b>{var:loop37.row.normas}</br>
<br><b>Cumplimiento de tareas asignadas : </b>{var:loop37.row.tareas}</br>
<br><b>Redacción y ortografía : </b>{var:loop37.row.ortografia}</br>
<br><b>Manejo de Word : </b>{var:loop37.row.word}</br>
<br><b>Manejo de Excel : </b>{var:loop37.row.excel}</br>
<br><b>Archivo : </b>{var:loop37.row.archivo}</br>
<br><b>Orientación ética : </b>{var:loop37.row.etica}</br>
<br><b>Toma de decisiones : </b>{var:loop37.row.decisiones}</br>
<br><b>Solución de problemas : </b>{var:loop37.row.solucion_problemas}</br>
<br><b>Comunicación asertiva : </b>{var:loop37.row.comunicacion}</br>
<br><b>Trabajo en equipo : </b>{var:loop37.row.equipo}</br>
<br><b>Proactividad : </b>{var:loop37.row.proactividad}</br>
<br><b>Nivel de satisfacción : </b>{var:loop37.row.satisfacion_estudiante}</br>
<br><b>Manejo software contable : </b>{var:loop37.row.software}</br>
<br><b>Atención al cliente : </b>{var:loop37.row.cliente}</br>
<br><b>Resultado : </b>{var:loop37.row.resultado}</br>
<br><b>Observaciones : </b>{var:loop37.row.observaciones}</br>
</div>
In the second loop put {var.pr:loop37} to see what data is available at each loop.
This topic is locked and no more replies can be posted.