       $http.jsonp(aggregateUrl, { params: autorizadoParameters }),
       $http.jsonp(aggregateUrl, { params: $.extend(autorizadoParameters, pagoParameters) }),
       $http.jsonp(aggregateUrl, { params: $.extend(autorizadoParameters, rppagoParameters) }),
-      $http.jsonp(aggregateUrl, { params: $.extend(parameters, yearlyPagoParameters) })
+      $http.jsonp(aggregateUrl, { params: $.extend(parameters, yearlyParameters) })
     ]).then (response) ->
-      [autorizado, pago, rppago, yearlyPago] = [response[0].data, response[1].data, response[2].data, response[3].data]
+      [autorizado, pago, rppago, yearly] = [response[0].data, response[1].data, response[2].data, response[3].data]
       autorizado = $.extend(autorizado, total: autorizado.summary.amount)
       pago = $.extend(pago, total: pago.summary.pago)
       rppago = $.extend(rppago, total: rppago.summary['rp-pago'])

    rppagoParameters =
      measure: "rp-pago"

    yearlyPagoParameters =
      drilldown: "time.year"
      order: "time.year:asc"


        rppago: rppago
        pagamentos: pagamentos
        naoExecutado: naoExecutado
        yearly: yearly.drilldown
      deferred.resolve $.extend(entity, amounts)

    deferred.promise
