::_("Planning of deliveries:"):: ::contract.name::
::raw _("Subscribe now by selecting checkboxes corresponding to dates which are convenient for you. The goal of attendances consists in helping during the delivery of products.")::
::foreach d distribs:: ::set date = getDate(d.date):: | ::date.dow:: ::date.d:: ::date.m:: ::date.h+":"+date.i:: |
::end::
---|---|
::user.getCoupleName():: | ::set me = doodle.get(user.id):: ::foreach d distribs::::if me !=null:: ::set a = me.planning.get(d.id):: ::if a!=null:: ::else:: ::if !d.hasEnoughDistributors():: ::else:: ::_("full"):: ::end:: ::end:: ::else:: ::if !d.hasEnoughDistributors():: ::else:: ::_("full"):: ::end:: ::end:: | ::end::
::doo.user.getCoupleName():: | ::foreach d distribs::::set a = doo.planning.get(d.id):: ::if a!=null:: ::end:: | ::end::