DATEV-Export: Personenkontenoption nur anzeigen wenn Konten passen
[kivitendo-erp.git] / templates / webpages / oe / edit_periodic_invoices_config.html
index 63cc7fa..5c7ac8b 100644 (file)
@@ -23,7 +23,7 @@
     <tr>
      <th align="right" valign="top">[%- LxERP.t8('Billing Periodicity') %]</th>
      <td valign="top">
-      [% L.select_tag("periodicity", [ [ "m", LxERP.t8("monthly") ], [ "q", LxERP.t8("every third month") ], [ "b", LxERP.t8("semiannually") ], [ "y", LxERP.t8("yearly") ] ], default=periodicity, style=style) %]
+      [% L.select_tag("periodicity", [ [ "o", LxERP.t8("one time") ], [ "m", LxERP.t8("monthly") ], [ "q", LxERP.t8("every third month") ], [ "b", LxERP.t8("semiannually") ], [ "y", LxERP.t8("yearly") ] ], default=periodicity, style=style) %]
      </td>
     </tr>
 
     </tr>
 
     <tr>
-     <th align="right">[%- LxERP.t8("Sender") %]</th>
+     <th align="right">[%- LxERP.t8("Sender") %]<sup>4</sup></th>
      <td>[% L.input_tag("email_sender", email_sender, disabled=!send_email, style=style) %]</td>
     </tr>
 
   <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>
   <p>(3): [% LxERP.t8("Multiple addresses can be entered separated by commas.") %]</p>
+  <p>(4): [% LxERP.t8("If left empty the default sender from the kivitendo configuration will be used (key 'email_from' in section 'periodic_invoices'; current value: #1).", HTML.escape(LXCONFIG.periodic_invoices.email_from)) %]</p>
 
   [% L.hidden_tag('action', 'save_periodic_invoices_config') %]
 
   <p>
-   [% L.submit_tag('', LxERP.t8('Close')) %]
+   [% L.submit_tag('', LxERP.t8('Assign')) %]
    [% L.submit_tag('', LxERP.t8('Cancel'), onclick => "self.close(); return false;") %]
   </p>
  </form>
       var disabled = !$('#send_email').prop('checked');
       $('#email_recipient_contact_id').prop('disabled', disabled);
       $('#email_recipient_address').prop('disabled', disabled);
-      $('#email_from').prop('disabled', disabled);
+      $('#email_sender').prop('disabled', disabled);
       $('#email_subject').prop('disabled', disabled);
       $('#email_body').prop('disabled', disabled);
     }