[% PROCESS site/mainMenu.tt.html %] [% PROCESS cms/submenu.tt.html %]
[% PROCESS cms/shop/submenu.tt.html %] [% IF shoporder %]

[% Cat.cmsPick({en => 'Entries for order', es => 'Línias del pedido' }) %] [% shoporder.id %]
[% c.dateToString(shoporder.creation_time,"datetime") %]

[% ELSE %]

[% Cat.cmsPick({en => 'Entries', es => 'Línias de pedido' }) %]

[% END %]
[% css_class = "odd" %] [% IF entries %] [% PROCESS cms/shop/head_table_entries.tt.html %] [% entries = entries.all %] [% PROCESS cms/shop/body_table_entries.tt.html %]
[% IF shoporder; uri_first_page = Cat.uri_for('entries',shoporder.id, pager.first_page, orderBy, ascDesc); uri_previous_page = Cat.uri_for('entries',shoporder.id, pager.previous_page, orderBy, ascDesc); uri_next_page = Cat.uri_for('entries',shoporder.id, pager.next_page, orderBy, ascDesc); uri_last_page = Cat.uri_for('entries',shoporder.id, pager.last_page, orderBy, ascDesc); ELSE; uri_first_page = Cat.uri_for('entries',pager.first_page, orderBy, ascDesc); uri_previous_page = Cat.uri_for('entries',pager.previous_page, orderBy, ascDesc); uri_next_page = Cat.uri_for('entries',pager.next_page, orderBy, ascDesc); uri_last_page = Cat.uri_for('entries',pager.last_page, orderBy, ascDesc); END; %]
    [% IF pager.previous_page %]
  • <<
  • <
  • [% ELSE %]
  • <<
  • <
  • [% END %]
  • [% pager.current_page %]/[% pager.last_page %]
  • [% IF pager.next_page %]
  • >
  • >>
  • [% ELSE %]
  • >
  • >>
  • [% END %]
[% END %]