RB-Druckvorlagensatz: abweichende Lieferadresse für Kunden- Lieferantenauftrag
[kivitendo-erp.git] / templates / webpages / oe / edit_periodic_invoices_config.html
index 2df969e..2e6b5a4 100644 (file)
@@ -1,7 +1,6 @@
 [% USE HTML %]
 [% USE LxERP %]
 [% USE L %]
-<body>
 
  <div class="listtop">[% title %]</div>
 
@@ -26,7 +25,9 @@
      <td valign="top">
       [% L.radio_button_tag("periodicity", value => "m", label => LxERP.t8("monthly"),   checked => periodicity == 'm') %]
       <br>
-      [% L.radio_button_tag("periodicity", value => "q", label => LxERP.t8("quarterly"), checked => periodicity == 'q') %]
+      [% L.radio_button_tag("periodicity", value => "q", label => LxERP.t8("every third month"), checked => periodicity == 'q') %]
+      <br>
+      [% L.radio_button_tag("periodicity", value => "b", label => LxERP.t8("semiannually"), checked => periodicity == 'b') %]
       <br>
       [% L.radio_button_tag("periodicity", value => "y", label => LxERP.t8("yearly"),    checked => periodicity == 'y') %]
      </td>
      </td>
     </tr>
 
+    <tr>
+     <th align="right">[%- LxERP.t8('Create first invoice on') %]<sup>(2)</sup></th>
+     <td valign="top">
+      [% L.date_tag("first_billing_date_as_date", first_billing_date_as_date) %]
+     </td>
+    </tr>
+
     <tr>
      <th align="right">[% LxERP.t8('Extend automatically by n months') %]</th>
      <td valign="top">
@@ -56,7 +64,7 @@
     <tr>
      <th align="right">[%- LxERP.t8('Record in') %]</th>
      <td valign="top">
-      [% L.select_tag("ar_chart_id", AR, title_key => 'description', default => ar_chart_id)) %]
+      [% L.select_tag("ar_chart_id", AR, title_key => 'description', default => ar_chart_id) %]
      </td>
     </tr>
 
@@ -84,6 +92,7 @@
   <hr>
 
   <p>(1): [%- LxERP.t8('The end date is the last day for which invoices will possibly be created.') %]</p>
+  <p>(2): [% LxERP.t8("If missing then the start date will be used.") %]</p>
 
   [% L.hidden_tag('action', 'save_periodic_invoices_config') %]
 
  <script type="text/javascript">
   <!--
     function toggle_printer_id_ctrl() {
-      var disabled = !$('#print').attr('checked');
-      $('#printer_id').attr('disabled', disabled);
-      $('#copies').attr('disabled', disabled);
+      var disabled = !$('#print').prop('checked');
+      $('#printer_id').prop('disabled', disabled);
+      $('#copies').prop('disabled', disabled);
     }
     -->
  </script>
-
-</body>
-</html>