Hi @diana, here it is:
{
id: 'services-last-month',
translation_key: 'targets.all_services.title',
subtitle_translation_key: 'targets.last_month.subtitle',
type: 'count',
icon: 'icon-people-person-visits',
goal: -1,
appliesTo: 'reports',
context: 'user.parent.type === "health_center"',
idType: 'report',
appliesIf: function (c, r) {
return (extras.isShortModule(r) || extras.isLongModule(r)) && extras.hasConsentbeenGiven(r) && extras.isInLastMonth(r.reported_date);
},
visible: false,
date: 'now',
aggregate: false, // for the moment set to false until we decide how to use the aggregate functionality,
},