::use 'contractadmin/design.mtt'::
::if stat==0::
::__("Seniority of subscribers of ::contract::",{contract:c.name})::
::_("Number"):: |
::_("Year"):: |
::foreach a anciennete::
::a.cnt:: |
::a.uyear:: |
::end::
::end::
::if stat==1::
::_("Sharing between orders of"):: "::c.name::"
::_("Quantity"):: |
::_("Product"):: |
::_("Total price"):: |
::_("% of orders"):: |
::foreach r repartition::
::r.quantity:: |
::r.name:: |
::r.quantity*r.price:: ::currency():: |
::r.percent:: % |
::end::
Total: ::totalQuantity:: ::_("products"):: |
::totalPrice:: ::currency():: |
|
$$export(/contractAdmin/stats/::c.id::?csv=1&stat=1)
::end::
::end::