::use 'contractadmin/design.mtt'::

::_("Participate to deliveries")::

::_("This page allows to see if members have participated to deliveries enough.")::
::raw __("::distribs:: deliveries requiring ::distributorNum:: person(s)",{distribs:distribs,distributorNum:distributorNum})::,
::users:: ::_("person(s) using this contract")::
= ::num:: ::_("participations to deliveries to do per family.")::
::foreach p participations:: ::end::
::_("Suscriber"):: ::raw _("Number of attendances to deliveries")::
::p.user.getCoupleName():: ::p.count:: ::if p.count>=numRounded:: OK ::else:: ::_("Insufficient"):: ::end::
::if(extParticipations.length>0)::
::foreach p extParticipations:: ::end::
::_("Member without order in this contract"):: ::raw _("Number of attendances to deliveries")::
::p.user.getCoupleName():: ::p.count::
::end:: ::end::