]> wagnertech.de Git - mfinanz.git/blobdiff - templates/webpages/dunning/add.html
date error in mapping
[mfinanz.git] / templates / webpages / dunning / add.html
index ab1c44a28476d3a700a62617d60d2dc67c70d3c3..8ef0fcf8957fd96014ee8252790571279afb1a3f 100644 (file)
@@ -1,4 +1,5 @@
-[%- USE T8 %]
+[%- USE T8 %][%- USE L %]
+[% USE LxERP %]
 [% USE HTML %]<script type="text/javascript" src="js/common.js"></script>
 <h1>[% title %]</h1>
 
     </td>
    </tr>
 
+   [% IF SHOW_DEPARTMENT_SELECTION %]
+    <tr>
+     <th align="right">[% 'Department' | $T8 %]</th>
+     <td colspan="3">
+     [% L.select_tag('department_id', ALL_DEPARTMENTS, title_key = 'description', with_empty = 1, style=style) %]
+     </td>
+    </tr>
+   [% END %]
+
    [% IF SHOW_DUNNING_LEVEL_SELECTION %]
     <tr>
      <th align="right">[% 'Next Dunning Level' | $T8 %]</th>
     <td colspan="3"><input name="ordnumber" size="20"></td>
    </tr>
 
+   <tr>
+    <th align="right" nowrap>[% 'Payment Term' | $T8 %]</th>
+    <td colspan="3">[% L.select_tag('payment_id', ALL_PAYMENT_TERMS, with_empty=1, title_key='description', with_empty=1) %]</td>
+   </tr>
+
+   <tr>
+    <th align="right" nowrap>[% 'Type' | $T8 %]</th>
+    <th>[% L.select_tag('invoice', [ ['t', LxERP.t8('Invoice (No Dunning Fees)')], ['f', LxERP.t8('AR transactions (Dunning Fees)')], ], with_empty=1) %]
+   </tr>
+
    <tr>
     <th align="right" nowrap>[% 'Notes' | $T8 %]</th>
     <td colspan="3"><input name="notes" size="40"></td>
@@ -59,5 +79,9 @@
     <th align="right" nowrap><label for="l_include_direct_debit">[% 'Include invoices with direct debit' | $T8 %]</label></th>
     <td><input type="checkbox" value="1" id="l_include_direct_debit" name="l_include_direct_debit"></td>
    </tr>
+   <tr>
+    <th align="right" nowrap><label for="l_include_credit_notes">[% 'Add open Credit Notes' | $T8 %]</label></th>
+    <td><input type="checkbox" value="1" id="l_include_credit_notes" name="l_include_credit_notes"></td>
+   </tr>
   </table>
  </form>