MHD-Behandlung in Fehlermeldung bei unzureichender Lagermenge.
[kivitendo-erp.git] / templates / webpages / ic / form_header_de.html
index 8089532..d78717d 100644 (file)
@@ -5,6 +5,8 @@
  <script type="text/javascript" src="js/common.js"></script>
  <script type="text/javascript" src="js/parts_language_selection.js"></script>
 
+ <p><div class="listtop">[% title %]</div></p>
+
  <form method="post" name="ic" action="[% script %]">
 
   <input name="id" type="hidden" value="[% HTML.escape(id) %]">
   <input name="language_values" type="hidden" value="[% HTML.escape(language_values) %]">
   <input name="original_partnumber" type="hidden" value="[% HTML.escape(original_partnumber) %]">
 
-  <div class="listtop">[% title %]</div>
+  <ul id="maintab" class="shadetabs">
+   <li class="selected"><a href="#" rel="master_data">Stammdaten</a></li>
+   [%- IF CUSTOM_VARIABLES.size %]
+   <li><a href="#" rel="custom_variables">Benutzerdefinierte Variablen</a></li>
+   [%- END %]
+  </ul>
+
+  <div class="tabcontentstyle">
+  <div id="master_data" class="tabcontent">
 
-  <p>
    <table width="100%">
     <tr>
      <td>
               [%- UNLESS is_service %]
               <td>
                <ilayer>
-                <layer onmouseover="this.T_STICKY=true;this.T_STATIC=true;return escape('Die Formeln m&uuml;ssen in der folgenden Syntax eingegeben werden:<br>Bei normalen Artikeln:<br>Variablenname= Variable Einheit;<br>Variablenname2= Variable2 Einheit2;<br>...<br>###<br>Variable + Variable2 * ( Variable - Variable2 )<br>Bitte achten Sie auf die Leerzeichen in der Formel<br>Es muss jeweils die Gesamte Zeile eingegeben werden')">
-                 <textarea name="formel" rows="4" cols="30" wrap="soft">[% HTML.escape(formel) %]</textarea></layer></ilayer>
+                <layer onmouseover="this.T_STICKY=true;this.T_STATIC=true;return escape('Die Formeln m&uuml;ssen in der folgenden Syntax eingegeben werden:<br>Bei normalen Artikeln:<br>Variablenname = Variable Einheit;<br>Variablenname2 = Variable2 Einheit2;<br>...<br>###<br>Variable + Variable2 * ( Variable - Variable2 )<br>Variablennamen und Einheiten dürfen nur aus alphanumerischen Zeichen bestehen.<br>Es muss jeweils die Gesamte Zeile eingegeben werden')">
+                 <textarea name="formel" rows="[% HTML.escape(notes_rows) %]" cols="30" wrap="soft">[% HTML.escape(formel) %]</textarea></layer></ilayer>
                </td>
               [%- END %]
              </tr>
           <tr>
            <th align="right" nowrap="true">Erneuert am</th>
            <td>
-            <input name="priceupdate" id="priceupdate" size="11"  title="[% HTML.escape(dateformat) %]" value="[% HTML.escape(priceupdate) %]">
-            <input type="button" name="priceupdate" id="trigger1" value="?">
+            <input name="priceupdate" id="priceupdate" size="11"  title="[% HTML.escape(dateformat) %]" value="[% HTML.escape(priceupdate) %]" readonly>
            </td>
           </tr>
 
           <tr>
            <th align="right" nowrap="true">Listenpreis</th>
-           <td><input name="listprice" size="11" value="[% LxERP.format_amount(listprice) %]"></td>
+           <td><input name="listprice" size="11" value="[% LxERP.format_amount(listprice, -2) %]"></td>
           </tr>
 
           <tr>
            <th align="right" nowrap="true">Verkaufspreis</th>
-           <td><input name="sellprice" size="11" value="[% LxERP.format_amount(sellprice) %]"></td>
+           <td><input name="sellprice" size="11" value="[% LxERP.format_amount(sellprice, -2) %]"></td>
           </tr>
 
           [%- UNLESS is_assembly %]
           <tr>
            <th align="right" nowrap="true">Einkaufspreis</th>
-           <td><input name="lastcost" size="11" value="[% LxERP.format_amount(lastcost) %]"></td>
+           <td><input name="lastcost" size="11" value="[% LxERP.format_amount(lastcost, -2) %]"></td>
           </tr>
           [%- END %]
 
            <th align="right">Preisfaktor</th>
            <td>
             [%- INCLUDE generic/multibox.html
-                  name       = 'price_factors_id',
+                  name       = 'price_factor_id',
                   DATA       = ALL_PRICE_FACTORS,
                   show_empty = 1,
                   id_key     = 'id',
            <td>
             [%- IF is_assembly %]&nbsp;[% LxERP.format_amount(weight) %][%- END %]
             <input[% IF is_assembly %] type="hidden"[% END %] size="10" name="weight" value="[% LxERP.format_amount(weight) %]">
+            [% HTML.escape(defaults.weightunit) %]
            </td>
           </tr>
         [%- END %]
            <th align="right" nowrap>Auf Lager</th>
            <th align="left" nowrap class="plus[% IF onhand > 0 %]1[% ELSE %]0[% END %]">&nbsp;[% LxERP.format_amount(onhand) %]</th>
           </tr>
-          [%- IF is_assembly %]
-          <tr>
-           <th align="right" nowrap>Einlagern</th>
-           <td><input name="stock" size="10" value="[% LxERP.format_amount(stock) %]"></td>
-          </tr>
-          [%- END %]
           <tr>
            <th align="right" nowrap="true">Mindestlagerbestand</th>
            <td><input name="rop" size="10" value="[% LxERP.format_amount(rop) %]"></td>
            <td><input name="obsolete" id="obsolete" type="checkbox" class="checkbox" value="1" [% IF obsolete %]checked[% END %]></td>
           </tr>
         [%- END %]
+          <tr>
+           <th align="right" nowrap><label for="shop">Hat eine Serienummer</label></th>
+           <td><input class="checkbox" type="checkbox" name="has_sernumber" id="has_sernumber" value="1" [% IF has_sernumber %]checked[% END %]></td>
+          </tr>
           <tr>
            <th align="right" nowrap><label for="shop">Shopartikel</label></th>
            <td><input class="checkbox" type="checkbox" name="shop" id="shop" value="1" [% IF shop %]checked[% END %]></td>