::use 'contractadmin/design.mtt'::
::if d.distributionCycleId!=null:: ::end:: ::set da = getDate(d.date):: ::if d.end!=null:: ::set e = getDate(d.end):: ::end:: ::da.dow:: ::da.d:: ::da.m:: de ::da.h+":"+da.i:: ::if d.end!=null:: à ::e.h+":"+e.i:: ::end:: | ::d._place.name:: |
$$edit(::_("Edit")::,/distribution/edit/::d.id::)
$$delete(::_("Delete")::,/distribution/delete/::d.id::)
::_("Distribution list")::
|
::_("Distribution cycle"):: | |
---|---|
::switch c.cycleType:: ::case:: ::_("Weekly"):: ::case:: ::_("Monthly"):: ::case:: ::_("Every 2 weeks"):: ::case:: ::_("Every 3 weeks"):: ::end:: : Du ::hDate(c.startDate):: au ::hDate(c.endDate):: | $$delete(::_("Del.")::,::"/distribution/deleteCycle/"+c.id::) |