- </select>
- </td>
- </tr>
-
- <tr>
- <th align="right"><translate>Number of copies</translate></th>
- <td><input name="copies" size="10" value="[% HTML.escape(myconfig_copies) %]"></td>
- </tr>
-
-
- <tr class="listheading">
- <th colspan="2"> </th>
- </tr>
-
- <tr>
- <th align="right"><translate>Business Number</translate></th>
- <td><input name="businessnumber" size="25" value="[% HTML.escape(myconfig_businessnumber) %]"></td>
- </tr>
- <tr>
- <th align="right"><translate>Year End</translate> (mm/dd)</th>
- <td><input name="yearend" size="5" value="[% HTML.escape(defaults_yearend) %]"></td>
- </tr>
-
- <tr class="listheading">
- <th colspan="2"><translate>Last Numbers & Default Accounts</translate></th>
- </tr>
-
- <tr>
- <td colspan="2">
- <table width="100%">
- <tr>
- <th align="right" nowrap><translate>Inventory Account</translate></th>
- <td>
- <select name="inventory_accno">
- [%- FOREACH row = ACCNOS_IC %]
- <option value="[% HTML.escape(row.value) %]"[% IF row.selected %] selected[% END %]>[% HTML.escape(row.name) %]</option>
- [%- END %]
- </select>
- </td>
- </tr>
-
- <tr>
- <th align="right" nowrap><translate>Revenue Account</translate></th>
- <td>
- <select name="income_accno">
- [%- FOREACH row = ACCNOS_IC_INCOME %]
- <option value="[% HTML.escape(row.value) %]"[% IF row.selected %] selected[% END %]>[% HTML.escape(row.name) %]</option>
- [%- END %]
- </select>
- </td>
- </tr>
-
- <tr>
- <th align="right" nowrap><translate>Expense Account</translate></th>
- <td>
- <select name="expense_accno">
- [%- FOREACH row = ACCNOS_IC_EXPENSE %]
- <option value="[% HTML.escape(row.value) %]"[% IF row.selected %] selected[% END %]>[% HTML.escape(row.name) %]</option>
- [%- END %]
- </select>
- </td>
- </tr>
-
- <tr>
- <th align="right" nowrap><translate>Foreign Exchange Gain</translate></th>
- <td>
- <select name="fxgain_accno">
- [%- FOREACH row = ACCNOS_FX_GAIN %]
- <option value="[% HTML.escape(row.value) %]"[% IF row.selected %] selected[% END %]>[% HTML.escape(row.name) %]</option>
- [%- END %]
- </select>
- </td>
- </tr>
-
- <tr>
- <th align="right" nowrap><translate>Foreign Exchange Loss</translate></th>
- <td>
- <select name="fxloss_accno">
- [%- FOREACH row = ACCNOS_FX_LOSS %]
- <option value="[% HTML.escape(row.value) %]"[% IF row.selected %] selected[% END %]>[% HTML.escape(row.name) %]</option>
- [%- END %]
- </select>
- </td>
- </tr>
-
- <tr>
- <td colspan="2">
- <translate>Enter up to 3 letters separated by a colon (i.e CAD:USD:EUR) for your native and foreign currencies</translate><br>
- <input name="curr" size="40" value="[% HTML.escape(defaults_curr) %]">
- </td>
- </tr>
- </table>
- </td>
- </tr>
-
- <tr>
- <td colspan="2">
- <table width="100"%>
- <tr>
- <th align="right" nowrap><translate>Last Invoice Number</translate></th>
- <td><input name="invnumber" size="10" value="[% HTML.escape(defaults_invnumber) %]"></td>
- <th align="right" nowrap><translate>Last Customer Number</translate></th>
- <td><input name="customernumber" size="10" value="[% HTML.escape(defaults_customernumber) %]"></td>
- </tr>
-
- <tr>
- <th align="right" nowrap><translate>Last Credit Note Number</translate></th>
- <td><input name="cnnumber" size="10" value="[% HTML.escape(defaults_cnnumber) %]"></td>
- <th align="right" nowrap><translate>Last Vendor Number</translate></th>
- <td><input name="vendornumber" size="10" value="[% HTML.escape(defaults_vendornumber) %]"></td>
- </tr>
-
- <tr>
- <th align="right" nowrap><translate>Last Sales Order Number</translate></th>
- <td><input name="sonumber" size="10" value="[% HTML.escape(defaults_sonumber) %]"></td>
- </tr>
-
- <tr>
- <th align="right" nowrap><translate>Last Purchase Order Number</translate></th>
- <td><input name="ponumber" size="10" value="[% HTML.escape(defaults_ponumber) %]"></td>
- <th align="right" nowrap><translate>Last Article Number</translate></th>
- <td><input name="articlenumber" size="10" value="[% HTML.escape(defaults_articlenumber) %]"></td>
- </tr>
-
- <tr>
- <th align="right" nowrap><translate>Last Sales Quotation Number</translate></th>
- <td><input name="sqnumber" size="10" value="[% HTML.escape(defaults_sqnumber) %]"></td>
- <th align="right" nowrap><translate>Last Service Number</translate></th>
- <td><input name="servicenumber" size="10" value="[% HTML.escape(defaults_servicenumber) %]"></td>
- </tr>
-
- <tr>
- <th align="right" nowrap><translate>Last RFQ Number</translate></th>
- <td><input name="rfqnumber" size="10" value="[% HTML.escape(defaults_rfqnumber) %]"></td>
- </tr>
-
- </table>
- </td>
- </tr>
- </table>
- </p>
-
- <hr height="3" noshade>
+ </td>
+ </tr>
+
+ <tr>
+ <th align="right"><translate>E-mail</translate></th>
+ <td><input name="email" size="30" value="[% HTML.escape(myconfig_email) %]"></td>
+ </tr>
+
+ <tr valign="top">
+ <th align="right"><translate>Signature</translate></th>
+ <td><textarea name="signature" rows="3" cols="50">[% HTML.escape(myconfig_signature) %]</textarea></td>
+ </tr>
+
+ <tr>
+ <th align="right"><translate>Phone</translate></th>
+ <td><input name="tel" size="14" value="[% HTML.escape(myconfig_tel) %]"></td>
+ </tr>
+
+ <tr>
+ <th align="right"><translate>Fax</translate></th>
+ <td><input name="fax" size="14" value="[% HTML.escape(myconfig_fax) %]"></td>
+ </tr>
+ <tr>
+ <th align="right"><translate>Company</translate></th>
+ <td><input name="company" size="30" value="[% HTML.escape(myconfig_company) %]"></td>
+ </tr>
+ <tr valign="top">
+ <th align="right"><translate>Address</translate></th>
+ <td><textarea name="address" rows="4" cols="50">[% HTML.escape(myconfig_address) %]</textarea></td>
+ </tr>
+ </table>
+
+ <br style="clear: left" />
+ </div>
+
+ <div id="page_display_options" class="tabcontent">
+
+ <table>
+ <tr>
+ <th align="right"><translate>Date Format</translate></th>
+ <td>
+ <select name="dateformat">
+ [%- FOREACH row = DATEFORMATS %]
+ <option value="[% HTML.escape(row.value) %]"[% IF row.selected %] selected[% END %]>[% HTML.escape(row.name) %]</option>
+ [%- END %]
+ </select>
+ </td>
+ </tr>
+ <tr>
+ <th align="right"><translate>Output Number Format</translate></th>
+ <td>
+ <select name="numberformat">
+ [%- FOREACH row = NUMBERFORMATS %]
+ <option value="[% HTML.escape(row.value) %]"[% IF row.selected %] selected[% END %]>[% HTML.escape(row.name) %]</option>
+ [%- END %]
+ </select>
+ </td>
+ </tr>
+
+ <tr>
+ <th align="right"><translate>Dropdown Limit</translate></th>
+ <td><input name="vclimit" size="10" value="[% HTML.escape(myconfig_vclimit) %]"></td>
+ </tr>
+
+ <tr>
+ <th align="right"><translate>Language</translate></th>
+ <td>
+ <select name="countrycode">
+ [%- FOREACH row = COUNTRYCODES %]
+ <option value="[% HTML.escape(row.value) %]"[% IF row.selected %] selected[% END %]>[% HTML.escape(row.name) %]</option>
+ [%- END %]
+ </select>
+ </td>
+ </tr>
+
+ <tr>
+ <th align="right"><translate>Stylesheet</translate></th>
+ <td>
+ <select name="usestylesheet">
+ [%- FOREACH row = STYLESHEETS %]
+ <option value="[% HTML.escape(row.value) %]"[% IF row.selected %] selected[% END %]>[% HTML.escape(row.name) %]</option>
+ [%- END %]
+ </select>
+ </td>
+ </tr>
+
+ <tr>
+ <th align="right"><translate>Setup Menu</translate></th>
+ <td>
+ <select name="menustyle">
+ <option value="v3"[% IF myconfig_menustyle == 'v3' %] selected[% END %]><translate>Top (CSS)</translate></option>
+ <option value="neu"[% IF myconfig_menustyle == 'neu' %] selected[% END %]><translate>Top (Javascript)</translate></option>
+ <option value="js"[% IF myconfig_menustyle == 'js' %] selected[% END %]><translate>Top (Javascript) old</translate></option>
+ <option value="xml"[% IF myconfig_menustyle == 'xml' %] selected[% END %]><translate>Top (XUL; only for Mozilla Firefox)</translate></option>
+ <option value="old"[% IF myconfig_menustyle == 'old' %] selected[% END %]><translate>Old (on the side)</translate></option>
+ </select>
+ </td>
+ </tr>
+
+ <tr valign="top">
+ <th align="right"><translate>Favorites</translate></th>
+ <td><textarea name="favorites" rows="4" cols="50">[% HTML.escape(myconfig_favorites) %]</textarea></td>
+ </tr>
+
+ <tr>
+ <th align="right"><translate>Form details (second row)</translate></th>
+ <td>
+ <select name="show_form_details">
+ <option value="1"[% IF myconfig_show_form_details %] selected[% END %]><translate>Show by default</translate></option>
+ <option value="0"[% IF !myconfig_show_form_details %] selected[% END %]><translate>Hide by default</translate></option>
+ </select>
+ </td>
+ </tr>
+ </table>
+
+ <br style="clear: left" />
+ </div>
+
+ <div id="page_print_options" class="tabcontent">
+
+ <table>
+ <input name="printer" type="hidden" value="[% HTML.escape(myconfig_printer) %]">
+
+ <tr>
+ <th align="right"><translate>Default template format</translate></th>
+ <td>
+ <select name="template_format">
+ [%- FOREACH row = TEMPLATE_FORMATS %]
+ <option value="[% HTML.escape(row.value) %]"[% IF row.selected %] selected[% END %]>[% HTML.escape(row.name) %]</option>
+ [%- END %]
+ </select>
+ </td>
+ </tr>
+
+ <tr>
+ <th align="right"><translate>Default output medium</translate></th>
+ <td>
+ <select name="default_media">
+ [%- FOREACH row = MEDIA %]
+ <option value="[% HTML.escape(row.value) %]"[% IF row.selected %] selected[% END %]>[% HTML.escape(row.name) %]</option>
+ [%- END %]
+ </select>
+ </td>
+ </tr>
+
+ <tr>
+ <th align="right"><translate>Default printer</translate></th>
+ <td>
+ <select name="default_printer_id">
+ [%- FOREACH row = PRINTERS %]
+ <option value="[% HTML.escape(row.value) %]"[% IF row.selected %] selected[% END %]>[% HTML.escape(row.name) %]</option>
+ [%- END %]
+ </select>
+ </td>
+ </tr>
+
+ <tr>
+ <th align="right"><translate>Number of copies</translate></th>
+ <td><input name="copies" size="10" value="[% HTML.escape(myconfig_copies) %]"></td>
+ </tr>
+ </table>
+
+ <br style="clear: left" />
+ </div>
+
+ <div id="page_todo_list_options" class="tabcontent">
+
+ <table>
+ <tr>
+ <th align="right"><translate>Show your TODO list after loggin in</translate></th>
+ <td colspan="2">
+ <input type="radio" name="todo_cfg.show_after_login" id="todo_cfg_show_after_login_1" value="1"[% IF todo_cfg.show_after_login %] checked[% END %]>
+ <label for="todo_cfg_show_after_login_1"><translate>Yes</translate></label>
+ <input type="radio" name="todo_cfg.show_after_login" id="todo_cfg_show_after_login_0" value="0"[% IF !todo_cfg.show_after_login %] checked[% END %]>
+ <label for="todo_cfg_show_after_login_0"><translate>No</translate></label>
+ </td>
+ </tr>
+
+ <tr class="listheading">
+ <th colspan="3"><translate>Configuration of individual TODO items</translate></th>
+ </tr>
+
+ <tr>
+ <th align="right"><translate>Show follow ups...</translate></th>
+ <td>
+ <input type="checkbox" name="todo_cfg.show_follow_ups" id="todo_cfg_show_follow_ups" value="1"[% IF todo_cfg.show_follow_ups %] checked[% END %]>
+ <label for="todo_cfg_show_follow_ups"><translate>...on the TODO list</translate></label>
+ </td>
+ <td>
+ <input type="checkbox" name="todo_cfg.show_follow_ups_login" id="todo_cfg_show_follow_ups_login" value="1"[% IF todo_cfg.show_follow_ups_login %] checked[% END %]>
+ <label for="todo_cfg_show_follow_ups_login"><translate>...after loggin in</translate></label>
+ </td>
+ </tr>
+
+ [%- IF AUTH_RIGHTS_SALES_QUOTATION_EDIT %]
+ <tr>
+ <th align="right"><translate>Show overdue sales quotations and requests for quotations...</translate></th>
+ <td>
+ <input type="checkbox" name="todo_cfg.show_overdue_sales_quotations" id="todo_cfg_show_overdue_sales_quotations" value="1"[% IF todo_cfg.show_overdue_sales_quotations %] checked[% END %]>
+ <label for="todo_cfg_show_overdue_sales_quotations"><translate>...on the TODO list</translate></label>
+ </td>
+ <td>
+ <input type="checkbox" name="todo_cfg.show_overdue_sales_quotations_login" id="todo_cfg_show_overdue_sales_quotations_login" value="1"[% IF todo_cfg.show_overdue_sales_quotations_login %] checked[% END %]>
+ <label for="todo_cfg_show_overdue_sales_quotations_login"><translate>...after loggin in</translate></label>
+ </td>
+ </tr>
+ [%- END %]
+ </table>
+
+ <br style="clear: left" />
+ </div>
+ </div>