::use 'design.mtt'::

::_("Contact informations")::

::member.firstName:: ::member.lastName:: ::if member.firstName2!=null && member.lastName2!=null:: & ::member.firstName2:: ::member.lastName2:: ::end::
$$nullSafe(::member.address1::)
$$nullSafe(::member.address2::)
$$nullSafe(::member.zipCode::) $$nullSafe(::member.city::)

::if member.phone!=null:: ::_("Phone"):: : ::member.phone::
::end:: ::if member.email!=null:: ::_("Email"):: : ::member.email::
::end:: ::if member.email2!=null:: ::_("Email"):: : ::member.email2::
::end::

::_("Payments")::

::if balance<0:: ::set color = "C00":: ::else:: ::set color = "0C0":: ::end:: ::foreach t rb.current():: $$operation(::t::) ::end::
::_("Balance"):: : ::if balance<0:: - ::end:: ::Math.abs(balance):: ::currency()::
::if t.type==2::
$$edit(::_("Edit")::,/transaction/edit/::t.id::) $$delete(::_("Del.")::,/transaction/delete/::t.id::?token=::token::)
::elseif isAdmin:: ::end::
    ::if rb.paginationStartPage != 1::
  • ::end:: ::foreach i loopList(rb.paginationStartPage,rb.paginationEndPage):: ::if rb.page==i::
  • ::i::
  • ::else::
  • ::i::
  • ::end:: ::end:: ::if rb.paginationEndPage < rb.pages + 1::
  • ::end::
$$insert(::_("Insert a payement")::,/transaction/insertPayment/::member.id::)
::end::