5 <h1>[% HTML.escape(title) %]</h1>
8 [% IF !SELF.all_clients.size %]
9 [% INCLUDE 'common/flash.html' %]
11 [% LxERP.t8("Error") %]: [% LxERP.t8("No clients have been created yet.") %]
14 <p> [% LxERP.t8("Client to configure the printers for") %]: [% L.select_tag('client.id', SELF.all_clients, id='client_id', title_key='name', default=SELF.client.id) %] </p>
15 [% IF !SELF.all_printers.size %]
16 <p> [% LxERP.t8("No printers have been created yet.") %] </p>
18 <table class="tbl-list">
21 <th>[% LxERP.t8('Description') %]</th>
22 <th>[% LxERP.t8('Printer Command') %]</th>
23 <th>[% LxERP.t8('Template Code') %]</th>
27 [% FOREACH printer = SELF.all_printers %]
28 <tr valign="top" class="listrow">
29 <td><a href="[% SELF.url_for(action='edit_printer', 'client.id'=SELF.client.id, id=printer.id) %]">[% HTML.escape(printer.printer_description) %]</a></td>
30 <td>[% HTML.escape(printer.printer_command) %]</td>
31 <td>[% HTML.escape(printer.template_code) %]</td>
40 <script type="text/javascript">
43 $('#client_id').change(function() {
44 window.location.href = "controller.pl?action=Admin/list_printers&client.id=" + $('#client_id').val();