+++ /dev/null
-[%- USE L %]
-[%- USE T8 %]
-[%- USE HTML %]
-<h1>[% title %]</h1>
-[% L.javascript_tag('show_history.js') %]
-
-<form method=post action="[% script %]">
-
-<input type=hidden name=id value="[% id %]">
-<input type=hidden name=type value="[% type %]">
-
-<table width=100%>
- <tr>
- <td>
- <table width=100%>
- <tr>
- <th align=right>[% 'Partsgroup' | $T8 %]</th>
- <td><input name=partsgroup size=30 value="[% partsgroup | html %]"></td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td colspan=2><hr size=3 noshade></td>
- </tr>
-</table>
-
-<br>
-
-<input name=callback type=hidden value="[% callback | html %]">
-<input type=submit class=submit name=action value="[% 'Save' | $T8 %]">
-[%- IF id && orphaned %]
-<input type=submit class=submit name=action value="[% 'Delete' | $T8 %]">
-[%- END %]
-
-[%- IF ( id ) %]
- <input type=button onclick="set_history_window([% id %], 'id');" name=history id=history value="[% 'history' | $T8 %]">
-[%- END %]
-
-</form>
-
+++ /dev/null
-[%- USE HTML %]
-[%- USE T8 %]
-<h1>[% 'Groups' | $T8 %]</h1>
-
-<table width=100%>
- <tr>
- <td>[% option %]</td>
- </tr>
- <tr>
- <td>
- <table width=100%>
- <tr class=listheading>
- <th class=listheading width=90%>[% 'Partsgroup' | $T8 %]</th>
- </tr>
-[%- FOREACH row = item_list %]
- <tr valign=top class="listrow[% loop.count % 2 %]">
- <td><a href="[% editlink %]&id=[% row.id %]">[% row.partsgroup %]</a></td>
- </tr>
-[%- END %]
- </table>
- </td>
- </tr>
- <tr>
- <td><hr size=3 noshade></td>
- </tr>
-</table>
-
-<br>
-<form method=post action="[% script %]">
- <input name=callback type=hidden value="[% callback | html %]">
- <input type=hidden name=type value="[% type %]">
- <input class=submit type=submit name=action value="[% 'Add' | $T8 %]">
-</form>
-
-
+++ /dev/null
-[%- USE T8 %]
-[%- USE LxERP %]
-[%- USE HTML %]
-<h1>[% is_pricegroup ? LxERP.t8('Pricegroup') : LxERP.t8('Groups') %]</h1>
-
-<form method=post action="[% script %]">
-
-<input type=hidden name=sort value="[% is_pricegroup ? 'pricegroup' : 'partsgroup' %]">
-<input type=hidden name=type value="[% type %]">
-
-<table width=100%>
- <tr>
- <td>
- <table width=100%>
- <tr>
-[%- IF is_pricegroup %]
- <th align=right width=1%>[% 'Pricegroup' | $T8 %]</th>
- <td><input name=pricegroup size=20></td>
-[%- ELSE %]
- <th align=right width=1%>[% 'Partsgroup' | $T8 %]</th>
- <td><input name=partsgroup size=20></td>
-[%- END %]
- </tr>
- <tr>
- <td></td>
- <td><input name=status class=radio type=radio value=all checked> [% 'All' | $T8 %]
- <input name=status class=radio type=radio value=orphaned> [% 'Orphaned' | $T8 %]</td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td><hr size=3 noshade></td>
- </tr>
-</table>
-
-<input type=hidden name=nextsub value="[% is_pricegroup ? 'pricegroup_report' : 'partsgroup_report' %]">
-
-<br>
-<input class=submit type=submit name=action value="[% 'Continue' | $T8 %]">
-|
-<a href="pe.pl?action=add&type=[% HTML.url(type) %]">[%- LxERP.t8('Add') %]</a>
-</form>