::use 'design.mtt'::

::_("Choose a delivery")::

::if distribs.length==0::
::_("There is currently no delivery planned.")::
::end:: ::foreach d distribs::
::set active ="":: ::if d.active==false:: ::set active="disabled":: ::end::
::set s = getDate( d.startDate)::
::s.dow::
::s.d::
::s.m::
::set e = getDate(d.endDate):: de ::s.h+":"+s.i:: à ::e.h+":"+e.i::
::if d.place!=null::
$$nullSafe(::d.place.address1::) $$nullSafe(::d.place.address2::) $$nullSafe(::d.place.zipCode::) $$nullSafe(::d.place.city::)
::end::
::foreach p d.products::
::end::
::end::
::end::