<th align="left">BWA</th>
<td colspan="3"><select name="pos_bwa">[% select_bwa %]</select></td>
</tr>
- <!-- Diese Steuerfunktion hat keine Auswirkung in der Bilanz und wird erstmal deaktiviert. -->
+ <!-- Diese Steuerfunktion hat keine Auswirkung in der Bilanz und wird erstmal deaktiviert. -->
<!-- tr>
<th align="left">Bilanz</th>
<td colspan="3"><select name="pos_bilanz">[% select_bilanz %]</select></td>
<th align="left"><translate>BWA</translate></th>
<td colspan="3"><select name="pos_bwa">[% select_bwa %]</select></td>
</tr>
- <!-- Diese Steuerfunktion hat keine Auswirkung in der Bilanz und wird erstmal deaktiviert. -->
+ <!-- Diese Steuerfunktion hat keine Auswirkung in der Bilanz und wird erstmal deaktiviert. -->
<!-- tr>
<th align="left"><translate>Bilanz</translate></th>
<td colspan="3"><select name="pos_bilanz">[% select_bilanz %]</select></td>
<input type="hidden" name="action" value="show_am_history">
- <table>
- <tr>
- <th class ="listtop">Historien Suchmaschine</th>
- </th>
- </tr>
- <tr>
- <td>
- <script type="text/javascript">
- <!--
+ <table>
+ <tr>
+ <th class ="listtop">Historien Suchmaschine</th>
+ </th>
+ </tr>
+ <tr>
+ <td>
+ <script type="text/javascript">
+ <!--
function uncheckOther(id) {
- if(!(
- (document.getElementById('non-deleted').checked == false)
- &&
- (document.getElementById('both').checked == false)
- &&
- (document.getElementById('deleted').checked == false)
- )) {
- if(id == "deleted") {
- document.getElementById('non-deleted').checked = false;
- document.getElementById('both').checked = false;
- }
- if(id == "non-deleted") {
- document.getElementById('deleted').checked = false;
- document.getElementById('both').checked = false;
- }
- if(id == "both") {
- document.getElementById('non-deleted').checked = false;
- document.getElementById('deleted').checked = false;
- }
- }
- }
+ if(!(
+ (document.getElementById('non-deleted').checked == false)
+ &&
+ (document.getElementById('both').checked == false)
+ &&
+ (document.getElementById('deleted').checked == false)
+ )) {
+ if(id == "deleted") {
+ document.getElementById('non-deleted').checked = false;
+ document.getElementById('both').checked = false;
+ }
+ if(id == "non-deleted") {
+ document.getElementById('deleted').checked = false;
+ document.getElementById('both').checked = false;
+ }
+ if(id == "both") {
+ document.getElementById('non-deleted').checked = false;
+ document.getElementById('deleted').checked = false;
+ }
+ }
+ }
- var defaults = new Array('SAVED', 'DELETED', 'ADDED', 'PAYMENT POSTED', 'POSTED', 'POSTED AS NEW', 'SAVED FOR DUNNING', 'DUNNING STARTED', 'PRINTED');
- var translated = new Object();
- translated['SAVED'] = 'Gespeichert';
- translated['DELETED'] = 'Gelöscht';
- translated['ADDED'] = 'Hinzugefügt';
- translated['PAYMENT POSTED'] = 'Rechung gebucht';
- translated['POSTED'] = 'Gebucht';
- translated['POSTED AS NEW'] = 'Als neu gebucht'
- translated['SAVED FOR DUNNING'] = 'Gespeichert';
- translated['DUNNING STARTED'] = 'Mahnprozess gestartet';
- translated['PRINTED'] = 'Gedruckt';
+ var defaults = new Array('SAVED', 'DELETED', 'ADDED', 'PAYMENT POSTED', 'POSTED', 'POSTED AS NEW', 'SAVED FOR DUNNING', 'DUNNING STARTED', 'PRINTED');
+ var translated = new Object();
+ translated['SAVED'] = 'Gespeichert';
+ translated['DELETED'] = 'Gelöscht';
+ translated['ADDED'] = 'Hinzugefügt';
+ translated['PAYMENT POSTED'] = 'Rechung gebucht';
+ translated['POSTED'] = 'Gebucht';
+ translated['POSTED AS NEW'] = 'Als neu gebucht'
+ translated['SAVED FOR DUNNING'] = 'Gespeichert';
+ translated['DUNNING STARTED'] = 'Mahnprozess gestartet';
+ translated['PRINTED'] = 'Gedruckt';
- var jscalender = "<table valign=\"top\">"
- + "<tr><td colspan=\"2\"><b>Zeitraum: </b></td></tr>"
- + "<tr><td>von: "
- + "<input name=\"fromdate\" id=\"fromdate\" size=\"11\" title=\"[% HTML.escape(myconfig_dateformat) %]\" value=\"[% HTML.escape(fromdate) %]\">"
- + "<input type=\"button\" name=\"fromdate\" id=\"trigger1\" value=\"?\">"
- + " </td><td>bis: "
- + "<input name=\"todate\" id=\"todate\" size=\"11\" title=\"[% HTML.escape(myconfig_dateformat) %]\" value=\"[% HTML.escape(todate) %]\">"
- + "<input type=\"button\" name=\"todate\" id=\"trigger2\" value=\"?\"></td></tr></table>";
- var mitarbeiter = "<table valign=\"top\">"
- + "<tr><td><b>Mitarbeiter:</b> </td>"
- + "<td><input type='text' name='mitarbeiter' id='mitarbeiter'></td>"
- + "</tr></table>";
+ var jscalender = "<table valign=\"top\">"
+ + "<tr><td colspan=\"2\"><b>Zeitraum: </b></td></tr>"
+ + "<tr><td>von: "
+ + "<input name=\"fromdate\" id=\"fromdate\" size=\"11\" title=\"[% HTML.escape(myconfig_dateformat) %]\" value=\"[% HTML.escape(fromdate) %]\">"
+ + "<input type=\"button\" name=\"fromdate\" id=\"trigger1\" value=\"?\">"
+ + " </td><td>bis: "
+ + "<input name=\"todate\" id=\"todate\" size=\"11\" title=\"[% HTML.escape(myconfig_dateformat) %]\" value=\"[% HTML.escape(todate) %]\">"
+ + "<input type=\"button\" name=\"todate\" id=\"trigger2\" value=\"?\"></td></tr></table>";
+ var mitarbeiter = "<table valign=\"top\">"
+ + "<tr><td><b>Mitarbeiter:</b> </td>"
+ + "<td><input type='text' name='mitarbeiter' id='mitarbeiter'></td>"
+ + "</tr></table>";
- var tempString = "";
- function addForm(last, remove) {
- if(last == "INIT") {
- tempString = "<select id='selectForm'><option></option>";
- for(i=0;i<defaults.length;i++) {
- tempString += "\<option value\=\'" + defaults[i] + "\'\ onClick=\"javascript:addForm(\'" + defaults[i] + "\', " + i + ");\">" + translated[defaults[i]] + "\<\/option\>" + "\n";
- }
- tempString += "</select>";
- document.getElementById('selectEmployee').innerHTML = mitarbeiter;
- document.getElementById('selectDate').innerHTML = jscalender;
- document.getElementById('selectTable').innerHTML = tempString;
+ var tempString = "";
+ function addForm(last, remove) {
+ if(last == "INIT") {
+ tempString = "<select id='selectForm'><option></option>";
+ for(i=0;i<defaults.length;i++) {
+ tempString += "\<option value\=\'" + defaults[i] + "\'\ onClick=\"javascript:addForm(\'" + defaults[i] + "\', " + i + ");\">" + translated[defaults[i]] + "\<\/option\>" + "\n";
+ }
+ tempString += "</select>";
+ document.getElementById('selectEmployee').innerHTML = mitarbeiter;
+ document.getElementById('selectDate').innerHTML = jscalender;
+ document.getElementById('selectTable').innerHTML = tempString;
- Calendar.setup(
- {
- inputField : "fromdate",
- ifFormat :"%d.%m.%Y",
- align : "BL",
- button : "trigger1"
- });
+ Calendar.setup(
+ {
+ inputField : "fromdate",
+ ifFormat :"%d.%m.%Y",
+ align : "BL",
+ button : "trigger1"
+ });
- Calendar.setup(
- {
- inputField : "todate",
- ifFormat :"%d.%m.%Y",
- align : "BL",
- button : "trigger2"
- });
- }
- else {
- defaults.splice(remove,1);
- document.getElementById('inputText').innerHTML += ((document.getElementById('inputText').innerHTML == "") ? ("<b>Sie haben bereits die folgenden Einschränkungen vorgenommen:</b><br>") : ("<br>")) + translated[last];
- if(defaults.length > 0) {
- document.getElementById('einschraenkungen').value += ((document.getElementById('einschraenkungen').value == "") ? ("") : (",")) + last;
- tempString = "<select id='selectForm'><option></option>";
- for(i=0;i<defaults.length;i++) {
- tempString += "\<option value\=\'" + defaults[i] + "\'\ onClick=\"javascript:addForm(\'" + defaults[i] + "\', " + i + ");\">" + translated[defaults[i]] + "\<\/option\>" + "\n";
- }
- tempString += "</select>";
- document.getElementById('selectTable').innerHTML = tempString;
- }
- else {
- document.getElementById('selectTable').innerHTML = "";
- }
- }
- }
+ Calendar.setup(
+ {
+ inputField : "todate",
+ ifFormat :"%d.%m.%Y",
+ align : "BL",
+ button : "trigger2"
+ });
+ }
+ else {
+ defaults.splice(remove,1);
+ document.getElementById('inputText').innerHTML += ((document.getElementById('inputText').innerHTML == "") ? ("<b>Sie haben bereits die folgenden Einschränkungen vorgenommen:</b><br>") : ("<br>")) + translated[last];
+ if(defaults.length > 0) {
+ document.getElementById('einschraenkungen').value += ((document.getElementById('einschraenkungen').value == "") ? ("") : (",")) + last;
+ tempString = "<select id='selectForm'><option></option>";
+ for(i=0;i<defaults.length;i++) {
+ tempString += "\<option value\=\'" + defaults[i] + "\'\ onClick=\"javascript:addForm(\'" + defaults[i] + "\', " + i + ");\">" + translated[defaults[i]] + "\<\/option\>" + "\n";
+ }
+ tempString += "</select>";
+ document.getElementById('selectTable').innerHTML = tempString;
+ }
+ else {
+ document.getElementById('selectTable').innerHTML = "";
+ }
+ }
+ }
- function resetAll() {
- document.getElementById('selectTable').innerHTML = "<a href=\"javascript:addForm('INIT')\">Ja";
- document.getElementById('inputText').innerHTML = "";
- }
- //-->
- </script>
- <table>
- <tr>
- <td>
- <b>Wonach</b> wollen Sie suchen?:
- </td>
- <td>
- <select name="what2search" id="what2search">
- <option name="Artikelnummer" value="Artikelnummer" id="Artikelnummer">Artikelnummer</option>
- <option name="Kundennummer" value="Kundennummer" id="Kundennummer">Kundennummer</option>
- <option name="Lieferantennummer" value="Lieferantennummer" id="Lieferantennummer">Lieferantennummer</option>
- <option name="Projektnummer" value="Projektnummer" id="Projektnummer">Projektnummer</option>
- <option name="Buchungsnummer" value="Buchungsnummer" id="Buchungsnummer">Buchungsnummer</option>
- <option name="Eingangsrechnungnummer" value="Eingangsrechnungnummer" id="Eingangsrechnungnummer">Eingangsrechnungsnummer</option>
- <option name="Ausgangsrechnungnummer" value="Ausgangsrechnungnummer" id="Ausgangsrechnungnummer">Ausgangsrechnungsnummer</option>
+ function resetAll() {
+ document.getElementById('selectTable').innerHTML = "<a href=\"javascript:addForm('INIT')\">Ja";
+ document.getElementById('inputText').innerHTML = "";
+ }
+ //-->
+ </script>
+ <table>
+ <tr>
+ <td>
+ <b>Wonach</b> wollen Sie suchen?:
+ </td>
+ <td>
+ <select name="what2search" id="what2search">
+ <option name="Artikelnummer" value="Artikelnummer" id="Artikelnummer">Artikelnummer</option>
+ <option name="Kundennummer" value="Kundennummer" id="Kundennummer">Kundennummer</option>
+ <option name="Lieferantennummer" value="Lieferantennummer" id="Lieferantennummer">Lieferantennummer</option>
+ <option name="Projektnummer" value="Projektnummer" id="Projektnummer">Projektnummer</option>
+ <option name="Buchungsnummer" value="Buchungsnummer" id="Buchungsnummer">Buchungsnummer</option>
+ <option name="Eingangsrechnungnummer" value="Eingangsrechnungnummer" id="Eingangsrechnungnummer">Eingangsrechnungsnummer</option>
+ <option name="Ausgangsrechnungnummer" value="Ausgangsrechnungnummer" id="Ausgangsrechnungnummer">Ausgangsrechnungsnummer</option>
<option name="Mahnungsnummer" value="Mahnungsnummer" id="Mahnungsnummer">Mahnungsnummer</option>
- </select>
- </td>
- </tr>
- <tr>
- <td>
- Nach welchem <b>Begriff</b> wollen Sie suchen?
- </td>
- <td>
- <input type="text" name="searchid" id="searchid" value="[% HTML.escape(searchid) %]">
- </td>
- </tr>
- <tr>
- <td valign="top">
- Wollen Sie Ihre Suche <b>spezialisieren</b>?
- </td>
- <td>
- <table valign=\"top\" cellpadding=\"0\" marginheight=\"0\" marginwidth=\"0\" cellspacing=\"0\" topmargin=\"0\" leftmargin=\"0\">
- <tr>
- <td>
- <div id="selectTable"><a href="javascript:addForm('INIT')">Ja</div>
- <div id="inputText"></div>
- </td>
- </tr>
- <tr>
- <td>
- <div id="selectEmployee"></div>
- </td>
- </tr>
- <tr>
- <td>
- <div id="selectDate"></div>
- </td>
- </tr>
- </table>
- <input type="hidden" name="einschraenkungen" id="einschraenkungen" value="">
- </td>
- </tr>
- </tr>
- <tr>
- <td colspan="6">
- <input type="submit" class="submit" value="abschicken">
- <input type="reset" class="submit" value="zurücksetzen" onClick="javascript:resetAll();">
- </td>
- <td>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
+ </select>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ Nach welchem <b>Begriff</b> wollen Sie suchen?
+ </td>
+ <td>
+ <input type="text" name="searchid" id="searchid" value="[% HTML.escape(searchid) %]">
+ </td>
+ </tr>
+ <tr>
+ <td valign="top">
+ Wollen Sie Ihre Suche <b>spezialisieren</b>?
+ </td>
+ <td>
+ <table valign=\"top\" cellpadding=\"0\" marginheight=\"0\" marginwidth=\"0\" cellspacing=\"0\" topmargin=\"0\" leftmargin=\"0\">
+ <tr>
+ <td>
+ <div id="selectTable"><a href="javascript:addForm('INIT')">Ja</a></div>
+ <div id="inputText"></div>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <div id="selectEmployee"></div>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <div id="selectDate"></div>
+ </td>
+ </tr>
+ </table>
+ <input type="hidden" name="einschraenkungen" id="einschraenkungen" value="">
+ </td>
+ </tr>
+ </tr>
+ <tr>
+ <td colspan="6">
+ <input type="submit" class="submit" value="abschicken">
+ <input type="reset" class="submit" value="zurücksetzen" onClick="javascript:resetAll();">
+ </td>
+ <td>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
</form>
<input type="hidden" name="action" value="show_am_history">
- <table>
- <tr>
- <th class ="listtop"><translate>history search engine</translate></th>
- </th>
- </tr>
- <tr>
- <td>
- <script type="text/javascript">
- <!--
+ <table>
+ <tr>
+ <th class ="listtop"><translate>history search engine</translate></th>
+ </th>
+ </tr>
+ <tr>
+ <td>
+ <script type="text/javascript">
+ <!--
function uncheckOther(id) {
- if(!(
- (document.getElementById('non-deleted').checked == false)
- &&
- (document.getElementById('both').checked == false)
- &&
- (document.getElementById('deleted').checked == false)
- )) {
- if(id == "deleted") {
- document.getElementById('non-deleted').checked = false;
- document.getElementById('both').checked = false;
- }
- if(id == "non-deleted") {
- document.getElementById('deleted').checked = false;
- document.getElementById('both').checked = false;
- }
- if(id == "both") {
- document.getElementById('non-deleted').checked = false;
- document.getElementById('deleted').checked = false;
- }
- }
- }
+ if(!(
+ (document.getElementById('non-deleted').checked == false)
+ &&
+ (document.getElementById('both').checked == false)
+ &&
+ (document.getElementById('deleted').checked == false)
+ )) {
+ if(id == "deleted") {
+ document.getElementById('non-deleted').checked = false;
+ document.getElementById('both').checked = false;
+ }
+ if(id == "non-deleted") {
+ document.getElementById('deleted').checked = false;
+ document.getElementById('both').checked = false;
+ }
+ if(id == "both") {
+ document.getElementById('non-deleted').checked = false;
+ document.getElementById('deleted').checked = false;
+ }
+ }
+ }
- var defaults = new Array('SAVED', 'DELETED', 'ADDED', 'PAYMENT POSTED', 'POSTED', 'POSTED AS NEW', 'SAVED FOR DUNNING', 'DUNNING STARTED', 'PRINTED');
- var translated = new Object();
- translated['SAVED'] = '<translate>SAVED</translate>';
- translated['DELETED'] = '<translate>DELETED</translate>';
- translated['ADDED'] = '<translate>ADDED</translate>';
- translated['PAYMENT POSTED'] = '<translate>PAYMENT POSTED</translate>';
- translated['POSTED'] = '<translate>POSTED</translate>';
- translated['POSTED AS NEW'] = '<translate>POSTED AS NEW</translate>'
- translated['SAVED FOR DUNNING'] = '<translate>SAVED FOR DUNNING</translate>';
- translated['DUNNING STARTED'] = '<translate>DUNNING STARTED</translate>';
- translated['PRINTED'] = '<translate>PRINTED</translate>';
+ var defaults = new Array('SAVED', 'DELETED', 'ADDED', 'PAYMENT POSTED', 'POSTED', 'POSTED AS NEW', 'SAVED FOR DUNNING', 'DUNNING STARTED', 'PRINTED');
+ var translated = new Object();
+ translated['SAVED'] = '<translate>SAVED</translate>';
+ translated['DELETED'] = '<translate>DELETED</translate>';
+ translated['ADDED'] = '<translate>ADDED</translate>';
+ translated['PAYMENT POSTED'] = '<translate>PAYMENT POSTED</translate>';
+ translated['POSTED'] = '<translate>POSTED</translate>';
+ translated['POSTED AS NEW'] = '<translate>POSTED AS NEW</translate>'
+ translated['SAVED FOR DUNNING'] = '<translate>SAVED FOR DUNNING</translate>';
+ translated['DUNNING STARTED'] = '<translate>DUNNING STARTED</translate>';
+ translated['PRINTED'] = '<translate>PRINTED</translate>';
- var jscalender = "<table valign=\"top\">"
- + "<tr><td colspan=\"2\"><b><translate>Period</translate>: </b></td></tr>"
- + "<tr><td><translate>from (time)</translate>: "
- + "<input name=\"fromdate\" id=\"fromdate\" size=\"11\" title=\"[% HTML.escape(myconfig_dateformat) %]\" value=\"[% HTML.escape(fromdate) %]\">"
- + "<input type=\"button\" name=\"fromdate\" id=\"trigger1\" value=\"?\">"
- + " </td><td><translate>to (time)</translate>: "
- + "<input name=\"todate\" id=\"todate\" size=\"11\" title=\"[% HTML.escape(myconfig_dateformat) %]\" value=\"[% HTML.escape(todate) %]\">"
- + "<input type=\"button\" name=\"todate\" id=\"trigger2\" value=\"?\"></td></tr></table>";
- var mitarbeiter = "<table valign=\"top\">"
- + "<tr><td><b>Mitarbeiter:</b> </td>"
- + "<td><input type='text' name='mitarbeiter' id='mitarbeiter'></td>"
- + "</tr></table>";
+ var jscalender = "<table valign=\"top\">"
+ + "<tr><td colspan=\"2\"><b><translate>Period</translate>: </b></td></tr>"
+ + "<tr><td><translate>from (time)</translate>: "
+ + "<input name=\"fromdate\" id=\"fromdate\" size=\"11\" title=\"[% HTML.escape(myconfig_dateformat) %]\" value=\"[% HTML.escape(fromdate) %]\">"
+ + "<input type=\"button\" name=\"fromdate\" id=\"trigger1\" value=\"?\">"
+ + " </td><td><translate>to (time)</translate>: "
+ + "<input name=\"todate\" id=\"todate\" size=\"11\" title=\"[% HTML.escape(myconfig_dateformat) %]\" value=\"[% HTML.escape(todate) %]\">"
+ + "<input type=\"button\" name=\"todate\" id=\"trigger2\" value=\"?\"></td></tr></table>";
+ var mitarbeiter = "<table valign=\"top\">"
+ + "<tr><td><b>Mitarbeiter:</b> </td>"
+ + "<td><input type='text' name='mitarbeiter' id='mitarbeiter'></td>"
+ + "</tr></table>";
- var tempString = "";
- function addForm(last, remove) {
- if(last == "INIT") {
- tempString = "<select id='selectForm'><option></option>";
- for(i=0;i<defaults.length;i++) {
- tempString += "\<option value\=\'" + defaults[i] + "\'\ onClick=\"javascript:addForm(\'" + defaults[i] + "\', " + i + ");\">" + translated[defaults[i]] + "\<\/option\>" + "\n";
- }
- tempString += "</select>";
- document.getElementById('selectEmployee').innerHTML = mitarbeiter;
- document.getElementById('selectDate').innerHTML = jscalender;
- document.getElementById('selectTable').innerHTML = tempString;
+ var tempString = "";
+ function addForm(last, remove) {
+ if(last == "INIT") {
+ tempString = "<select id='selectForm'><option></option>";
+ for(i=0;i<defaults.length;i++) {
+ tempString += "\<option value\=\'" + defaults[i] + "\'\ onClick=\"javascript:addForm(\'" + defaults[i] + "\', " + i + ");\">" + translated[defaults[i]] + "\<\/option\>" + "\n";
+ }
+ tempString += "</select>";
+ document.getElementById('selectEmployee').innerHTML = mitarbeiter;
+ document.getElementById('selectDate').innerHTML = jscalender;
+ document.getElementById('selectTable').innerHTML = tempString;
- Calendar.setup(
- {
- inputField : "fromdate",
- ifFormat :"%d.%m.%Y",
- align : "BL",
- button : "trigger1"
- });
+ Calendar.setup(
+ {
+ inputField : "fromdate",
+ ifFormat :"%d.%m.%Y",
+ align : "BL",
+ button : "trigger1"
+ });
- Calendar.setup(
- {
- inputField : "todate",
- ifFormat :"%d.%m.%Y",
- align : "BL",
- button : "trigger2"
- });
- }
- else {
- defaults.splice(remove,1);
- document.getElementById('inputText').innerHTML += ((document.getElementById('inputText').innerHTML == "") ? ("<b><translate>You've already chosen the following limitations:</translate></b><br>") : ("<br>")) + translated[last];
- if(defaults.length > 0) {
- document.getElementById('einschraenkungen').value += ((document.getElementById('einschraenkungen').value == "") ? ("") : (",")) + last;
- tempString = "<select id='selectForm'><option></option>";
- for(i=0;i<defaults.length;i++) {
- tempString += "\<option value\=\'" + defaults[i] + "\'\ onClick=\"javascript:addForm(\'" + defaults[i] + "\', " + i + ");\">" + translated[defaults[i]] + "\<\/option\>" + "\n";
- }
- tempString += "</select>";
- document.getElementById('selectTable').innerHTML = tempString;
- }
- else {
- document.getElementById('selectTable').innerHTML = "";
- }
- }
- }
+ Calendar.setup(
+ {
+ inputField : "todate",
+ ifFormat :"%d.%m.%Y",
+ align : "BL",
+ button : "trigger2"
+ });
+ }
+ else {
+ defaults.splice(remove,1);
+ document.getElementById('inputText').innerHTML += ((document.getElementById('inputText').innerHTML == "") ? ("<b><translate>You've already chosen the following limitations:</translate></b><br>") : ("<br>")) + translated[last];
+ if(defaults.length > 0) {
+ document.getElementById('einschraenkungen').value += ((document.getElementById('einschraenkungen').value == "") ? ("") : (",")) + last;
+ tempString = "<select id='selectForm'><option></option>";
+ for(i=0;i<defaults.length;i++) {
+ tempString += "\<option value\=\'" + defaults[i] + "\'\ onClick=\"javascript:addForm(\'" + defaults[i] + "\', " + i + ");\">" + translated[defaults[i]] + "\<\/option\>" + "\n";
+ }
+ tempString += "</select>";
+ document.getElementById('selectTable').innerHTML = tempString;
+ }
+ else {
+ document.getElementById('selectTable').innerHTML = "";
+ }
+ }
+ }
- function resetAll() {
- document.getElementById('selectTable').innerHTML = "<a href=\"javascript:addForm('INIT')\"><translate>Yes</translate>";
- document.getElementById('inputText').innerHTML = "";
- }
- //-->
- </script>
- <table>
- <tr>
- <td>
- <translate><b>What</b> do you want to look for?</translate>:
- </td>
- <td>
- <select name="what2search" id="what2search">
- <option name="Artikelnummer" value="Artikelnummer" id="Artikelnummer"><translate>Part Number</translate></option>
- <option name="Kundennummer" value="Kundennummer" id="Kundennummer"><translate>Customer Number</translate></option>
- <option name="Lieferantennummer" value="Lieferantennummer" id="Lieferantennummer"><translate>Vendor Number</translate></option>
- <option name="Projektnummer" value="Projektnummer" id="Projektnummer"><translate>Project Number</translate></option>
- <option name="Buchungsnummer" value="Buchungsnummer" id="Buchungsnummer"><translate>ID</translate></option>
- <option name="Eingangsrechnungnummer" value="Eingangsrechnungnummer" id="Eingangsrechnungnummer"><translate>Incoming invoice number</translate></option>
- <option name="Ausgangsrechnungnummer" value="Ausgangsrechnungnummer" id="Ausgangsrechnungnummer"><translate>Sales invoice number</translate></option>
+ function resetAll() {
+ document.getElementById('selectTable').innerHTML = "<a href=\"javascript:addForm('INIT')\"><translate>Yes</translate>";
+ document.getElementById('inputText').innerHTML = "";
+ }
+ //-->
+ </script>
+ <table>
+ <tr>
+ <td>
+ <translate><b>What</b> do you want to look for?</translate>:
+ </td>
+ <td>
+ <select name="what2search" id="what2search">
+ <option name="Artikelnummer" value="Artikelnummer" id="Artikelnummer"><translate>Part Number</translate></option>
+ <option name="Kundennummer" value="Kundennummer" id="Kundennummer"><translate>Customer Number</translate></option>
+ <option name="Lieferantennummer" value="Lieferantennummer" id="Lieferantennummer"><translate>Vendor Number</translate></option>
+ <option name="Projektnummer" value="Projektnummer" id="Projektnummer"><translate>Project Number</translate></option>
+ <option name="Buchungsnummer" value="Buchungsnummer" id="Buchungsnummer"><translate>ID</translate></option>
+ <option name="Eingangsrechnungnummer" value="Eingangsrechnungnummer" id="Eingangsrechnungnummer"><translate>Incoming invoice number</translate></option>
+ <option name="Ausgangsrechnungnummer" value="Ausgangsrechnungnummer" id="Ausgangsrechnungnummer"><translate>Sales invoice number</translate></option>
<option name="Mahnungsnummer" value="Mahnungsnummer" id="Mahnungsnummer"><translate>Dunning number</translate></option>
- </select>
- </td>
- </tr>
- <tr>
- <td>
- <translate>What's the <b>term</b> you're looking for?</translate>
- </td>
- <td>
- <input type="text" name="searchid" id="searchid" value="[% HTML.escape(searchid) %]">
- </td>
- </tr>
- <tr>
- <td valign="top">
- <translate>Do you want to <b>limit</b> your search?</translate>
- </td>
- <td>
- <table valign=\"top\" cellpadding=\"0\" marginheight=\"0\" marginwidth=\"0\" cellspacing=\"0\" topmargin=\"0\" leftmargin=\"0\">
- <tr>
- <td>
- <div id="selectTable"><a href="javascript:addForm('INIT')"><translate>Yes</translate></div>
- <div id="inputText"></div>
- </td>
- </tr>
- <tr>
- <td>
- <div id="selectEmployee"></div>
- </td>
- </tr>
- <tr>
- <td>
- <div id="selectDate"></div>
- </td>
- </tr>
- </table>
- <input type="hidden" name="einschraenkungen" id="einschraenkungen" value="">
- </td>
- </tr>
- </tr>
- <tr>
- <td colspan="6">
- <input type="submit" class="submit" value="<translate>submit</translate>">
- <input type="reset" class="submit" value="<translate>reset</translate>" onClick="javascript:resetAll();">
- </td>
- <td>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
+ </select>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <translate>What's the <b>term</b> you're looking for?</translate>
+ </td>
+ <td>
+ <input type="text" name="searchid" id="searchid" value="[% HTML.escape(searchid) %]">
+ </td>
+ </tr>
+ <tr>
+ <td valign="top">
+ <translate>Do you want to <b>limit</b> your search?</translate>
+ </td>
+ <td>
+ <table valign=\"top\" cellpadding=\"0\" marginheight=\"0\" marginwidth=\"0\" cellspacing=\"0\" topmargin=\"0\" leftmargin=\"0\">
+ <tr>
+ <td>
+ <div id="selectTable"><a href="javascript:addForm('INIT')"><translate>Yes</translate></a></div>
+ <div id="inputText"></div>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <div id="selectEmployee"></div>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <div id="selectDate"></div>
+ </td>
+ </tr>
+ </table>
+ <input type="hidden" name="einschraenkungen" id="einschraenkungen" value="">
+ </td>
+ </tr>
+ </tr>
+ <tr>
+ <td colspan="6">
+ <input type="submit" class="submit" value="<translate>submit</translate>">
+ <input type="reset" class="submit" value="<translate>reset</translate>" onClick="javascript:resetAll();">
+ </td>
+ <td>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
</form>
[% END %]
<table>
- <tr>
- <th class="listtop">
+ <tr>
+ <th class="listtop">
<table height="0" width="0" cellpadding="0" cellspacing="0" marginheight="0" marginwidth="0" border="0">
<tr>
<td align="center" valign="middle">
- Zeitpunkt
+ Zeitpunkt
</td>
<td valign="top">
[% PROCESS column_header THIS_COLUMN=ITIME THIS_COLUMN_DOWN=ITIMEBY column='h.itime' %]
</td>
</tr>
</table>
- </th>
- <th class=listtop>
+ </th>
+ <th class=listtop>
<table height="0" width="0" cellpadding="0" cellspacing="0" marginheight="0" marginwidth="0" border="0">
<tr>
<td align="center" valign="middle">
</td>
</tr>
</table>
- </th>
- <th class=listtop>
+ </th>
+ <th class=listtop>
<table>
<tr>
<td>
- Aktion
+ Aktion
</td>
</tr>
</table>
- </th>
- <th class=listtop>
+ </th>
+ <th class=listtop>
<table>
<tr>
<td>
</tr>
</table>
</th>
- </tr>
+ </tr>
<tbody>
[% FOREACH row = DATEN %]
<tr class="listrow[% loop.count % 2 %]">
- <td nowrap>
- [% HTML.escape(row.itime) %]
- </td>
- <td nowrap>
- [% HTML.escape(row.name) %]
- </td>
- <td>
- [% HTML.escape(row.addition) %]
- </td>
- <td>
+ <td nowrap>
+ [% HTML.escape(row.itime) %]
+ </td>
+ <td nowrap>
+ [% HTML.escape(row.name) %]
+ </td>
+ <td>
+ [% HTML.escape(row.addition) %]
+ </td>
+ <td>
[% HTML.escape(row.what_done) %]
</td>
<td>
<td>
[% HTML.escape(row.snumbers) %]
</td>
- </tr>
+ </tr>
[% END %]
</tbody>
</table>
[% END %]
<table>
- <tr>
- <th class="listtop">
+ <tr>
+ <th class="listtop">
<table height="0" width="0" cellpadding="0" cellspacing="0" marginheight="0" marginwidth="0" border="0">
<tr>
<td align="center" valign="middle">
- <translate>Zeitpunkt</translate>
+ <translate>Zeitpunkt</translate>
</td>
<td valign="top">
[% PROCESS column_header THIS_COLUMN=ITIME THIS_COLUMN_DOWN=ITIMEBY column='h.itime' %]
</td>
</tr>
</table>
- </th>
- <th class=listtop>
+ </th>
+ <th class=listtop>
<table height="0" width="0" cellpadding="0" cellspacing="0" marginheight="0" marginwidth="0" border="0">
<tr>
<td align="center" valign="middle">
</td>
</tr>
</table>
- </th>
- <th class=listtop>
+ </th>
+ <th class=listtop>
<table>
<tr>
<td>
- <translate>Aktion</translate>
+ <translate>Aktion</translate>
</td>
</tr>
</table>
- </th>
- <th class=listtop>
+ </th>
+ <th class=listtop>
<table>
<tr>
<td>
</tr>
</table>
</th>
- </tr>
+ </tr>
<tbody>
[% FOREACH row = DATEN %]
<tr class="listrow[% loop.count % 2 %]">
- <td nowrap>
- [% HTML.escape(row.itime) %]
- </td>
- <td nowrap>
- [% HTML.escape(row.name) %]
- </td>
- <td>
- [% HTML.escape(row.addition) %]
- </td>
- <td>
+ <td nowrap>
+ [% HTML.escape(row.itime) %]
+ </td>
+ <td nowrap>
+ [% HTML.escape(row.name) %]
+ </td>
+ <td>
+ [% HTML.escape(row.addition) %]
+ </td>
+ <td>
[% HTML.escape(row.what_done) %]
</td>
<td>
<td>
[% HTML.escape(row.snumbers) %]
</td>
- </tr>
+ </tr>
[% END %]
</tbody>
</table>
<tr>
<th align="right">Steuernummer</th>
<td><input name="taxnumber" size="20" value="[% HTML.escape(taxnumber) %]"></td>
- <!-- Anm.: R&B 15.11.2008 VAT Reg No ist Ust-ID in GB, aber generell sollte es laut Richardson die sales tax id sein -->
- <th align="right">USt-IdNr.</th>
+ <!-- Anm.: R&B 15.11.2008 VAT Reg No ist Ust-ID in GB, aber generell sollte es laut Richardson die sales tax id sein -->
+ <th align="right">USt-IdNr.</th>
<td><input name="ustid" maxlength="14" size="20" value="[% HTML.escape(ustid) %]"></td>
[%- IF is_customer %]
<th align="right">unsere Lieferanten-Nr. beim Kunden</th>
<td><input name="c_vendor_id" size="10" value="[% HTML.escape(c_vendor_id) %]"></td>
[%- ELSE %]
<th align="right">Kundennummer</th>
- <td><input name="v_customer_id" size="10" value="[% HTML.escape(v_customer_id) %]"></td>
+ <td><input name="v_customer_id" size="10" value="[% HTML.escape(v_customer_id) %]"></td>
[%- END %]
</tr>
}
}
-->
-
+
</script>
<tr>
<th align="right"><translate>Tax Number / SSN</translate></th>
<td><input name="taxnumber" size="20" value="[% HTML.escape(taxnumber) %]"></td>
- <!-- Anm.: R&B 15.11.2008 VAT Reg No ist Ust-ID in GB, aber generell sollte es laut Richardson die sales tax id sein -->
- <th align="right"><translate>sales tax identification number</translate></th>
+ <!-- Anm.: R&B 15.11.2008 VAT Reg No ist Ust-ID in GB, aber generell sollte es laut Richardson die sales tax id sein -->
+ <th align="right"><translate>sales tax identification number</translate></th>
<td><input name="ustid" maxlength="14" size="20" value="[% HTML.escape(ustid) %]"></td>
[%- IF is_customer %]
<th align="right"><translate>our vendor number at customer</translate></th>
<td><input name="c_vendor_id" size="10" value="[% HTML.escape(c_vendor_id) %]"></td>
[%- ELSE %]
<th align="right"><translate>Customer Number</translate></th>
- <td><input name="v_customer_id" size="10" value="[% HTML.escape(v_customer_id) %]"></td>
+ <td><input name="v_customer_id" size="10" value="[% HTML.escape(v_customer_id) %]"></td>
[%- END %]
</tr>
}
}
-->
-
+
</script>
<label for="l_fax">Fax</label>
</td>
<td>
- <input name="l_zipcode" id="l_zipcode" type="checkbox" class="checkbox" value="Y" checked>
+ <input name="l_zipcode" id="l_zipcode" type="checkbox" class="checkbox" value="Y" checked>
<label for="l_zipcode">PLZ</label>
</td>
</tr>
<input name="l_business" id="l_business" type="checkbox" class="checkbox" value="Y">
<label for="l_business">[% IF IS_CUSTOMER %]Kundentyp[% ELSE %]Lieferantentyp[% END %]</label>
</td>
- <td>
+ <td>
<input name="l_city" id="l_city" type="checkbox" class="checkbox" value="Y" checked>
<label for="l_city">Stadt</label>
- </td>
+ </td>
</tr>
<tr>
<input name="l_quonumber" id="l_quonumber" type="checkbox" class="checkbox" value="Y">
<label for="l_quonumber">[% IF IS_CUSTOMER %]Angebote[% ELSE %]Preisanfragen[% END %]</label>
</td>
- <td>
- </td>
+ <td>
+ </td>
</tr>
[% CUSTOM_VARIABLES_INCLUSION_CODE %]
<label for="l_fax"><translate>Fax</translate></label>
</td>
<td>
- <input name="l_zipcode" id="l_zipcode" type="checkbox" class="checkbox" value="Y" checked>
+ <input name="l_zipcode" id="l_zipcode" type="checkbox" class="checkbox" value="Y" checked>
<label for="l_zipcode"><translate>Zipcode</translate></label>
</td>
</tr>
<input name="l_business" id="l_business" type="checkbox" class="checkbox" value="Y">
<label for="l_business">[% IF IS_CUSTOMER %]<translate>Customer type</translate>[% ELSE %]<translate>Vendor type</translate>[% END %]</label>
</td>
- <td>
+ <td>
<input name="l_city" id="l_city" type="checkbox" class="checkbox" value="Y" checked>
<label for="l_city"><translate>City</translate></label>
- </td>
+ </td>
</tr>
<tr>
<input name="l_quonumber" id="l_quonumber" type="checkbox" class="checkbox" value="Y">
<label for="l_quonumber">[% IF IS_CUSTOMER %]<translate>Quotations</translate>[% ELSE %]<translate>RFQs</translate>[% END %]</label>
</td>
- <td>
- </td>
+ <td>
+ </td>
</tr>
[% CUSTOM_VARIABLES_INCLUSION_CODE %]
<table border="0" width="100%">
<tr>
<th colspan="2" align=right>Summe </th>
- <th align=right>Einkaufspreis:[% LxERP.format_amount(assembly_purchase_price_total, 2) %] Verkaufspreis: [% LxERP.format_amount(assemblytotal, 2) %]</th>
+ <th align=right>Einkaufspreis:[% LxERP.format_amount(assembly_purchase_price_total, 2) %] Verkaufspreis: [% LxERP.format_amount(assemblytotal, 2) %]</th>
</tr>
</table>
</td>
<table border="0" width="100%">
<tr>
<th colspan="2" align=right><translate>Total</translate> </th>
- <th align=right><translate>Purchase Price</translate>:[% LxERP.format_amount(assembly_purchase_price_total, 2) %] <translate>Sell Price</translate>: [% LxERP.format_amount(assemblytotal, 2) %]</th>
+ <th align=right><translate>Purchase Price</translate>:[% LxERP.format_amount(assembly_purchase_price_total, 2) %] <translate>Sell Price</translate>: [% LxERP.format_amount(assemblytotal, 2) %]</th>
</tr>
</table>
</td>
<label for="l_priceupdate">Erneuert am</label>
</td>
<td>
- <!-- auskommentiert fuer bug nummer 852 - ggf. fuer einen standardlagerplatz verwertet jb 18.5.09-->
+ <!-- auskommentiert fuer bug nummer 852 - ggf. fuer einen standardlagerplatz verwertet jb 18.5.09-->
<!--input name="l_bin" id="l_bin" class="checkbox" type="checkbox" value="Y">
<label for="l_bin">Lagerplatz</label -->
<input name="l_deliverydate" id="l_deliverydate" class="checkbox" type="checkbox" value="Y">
<label for="l_priceupdate"><translate>Updated</translate></label>
</td>
<td>
- <!-- auskommentiert fuer bug nummer 852 - ggf. fuer einen standardlagerplatz verwertet jb 18.5.09-->
+ <!-- auskommentiert fuer bug nummer 852 - ggf. fuer einen standardlagerplatz verwertet jb 18.5.09-->
<!--input name="l_bin" id="l_bin" class="checkbox" type="checkbox" value="Y">
<label for="l_bin"><translate>Bin</translate></label -->
<input name="l_deliverydate" id="l_deliverydate" class="checkbox" type="checkbox" value="Y">
<tr>
<td>
<table>
- <tr>
- <td width="50%" align="left" valign="top">
+ <tr>
+ <td width="50%" align="left" valign="top">
<fieldset>
<legend>
<b>Firma</b>
<tr>
<td>
<table>
- <tr>
- <td width="50%" align="left" valign="top">
+ <tr>
+ <td width="50%" align="left" valign="top">
<fieldset>
<legend>
<b><translate>Company</translate></b>