<ul class="category_list">
  <li {if $request->getController() == 'invoices' && $request->getAction() == 'index'}class="selected"{/if}><a href="{assemble route=invoices}"><span>{lang}Active Invoices{/lang}</span></a></li>
  <li {if $request->getController() == 'invoice_payments'}class="selected"{/if}><a href="#"><span>{lang}Payments{/lang}</span></a></li>
  <li {if ($request->getController() == 'invoices' && $request->getAction() == 'archive') || ($request->getController() == 'invoices_archive')}class="selected"{/if}><a href="{assemble route=invoices_archive}"><span>{lang}Archive{/lang}</span></a></li>
</ul>