{% set serviciosVendidos = 0 %}
{% set sumaIngresos = 0 %}
{% set sumaGastos = 0 %}
{% set restante= 0 %}
{% set counter = 1 %}
{% set mediaIng = 0 %}
{% set mediaIngD = 0 %}
{% set modaSer = 0 %}
{% set sumaComensales = 0 %}
{% for m in moda %}
{{ counter }} |
{{ m.FECHA | date('d-m-Y') }} |
{{ m.TOTAL_SER }} |
{{ m.TOTAL_SER / 8 }} |
{{ m.COMENSALES }} |
$ {{ m.TOTAL_INGRESOS | number_format(2,".",",") }} |
$ {{ (m.TOTAL_INGRESOS / m.TOTAL_SER) | number_format(2, ".", ",") }} |
{% set counter = counter + 1 %}
{% set serviciosVendidos = serviciosVendidos + m.TOTAL_SER %}
{% set sumaIngresos = sumaIngresos + m.TOTAL_INGRESOS %}
{% set mediaIng = sumaIngresos / (counter-1) %}
{% set modaSer = (serviciosVendidos / (counter-1)) %}
{% set sumaComensales = sumaComensales + m.COMENSALES %}
{% endfor %}
MEDIA GEN... |
|
{{ modaSer | number_format(2, ".", ",") }} |
|
|
$ {{ mediaIng | number_format(2,".",",") }}
|
|