Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision bd577f26

Von Hans Peter Schlaepfer vor mehr als 5 Jahren hinzugefügt

  • ID bd577f26d97ac1184ec86547e1e39f9427570f72
  • Vorgänger e24e93e2
  • Nachfolger 7e6e7605

Neues kivitendo Design restliche Aenderungen in templates/webpages/d*

Dateien in datev/* delivery_plan/* delivery_term/* delivery_value_report/*
drafts/* dunning/*

Unterschiede anzeigen:

templates/webpages/dunning/show_invoices.html
1
[%- USE T8 %]
1
[% USE T8 %]
2 2
[% USE HTML %]
3
[% USE L %][%- USE LxERP -%]
3
[% USE L %]
4
[% USE LxERP %]
5

  
4 6
<h1>[% title %]</h1>
5 7

  
6 8
[% SET all_active = 1 %][% FOREACH row = DUNNINGS %][% IF !row.active %][% SET all_active = 0 %][% LAST %][% END %][% END %]
7
[% SET all_email = 1 %][% FOREACH row = DUNNINGS %][% IF !row.email %][% SET all_email = 0 %][% LAST %][% END %][% END %]
8
 <form name="Form" method="post" action="dn.pl" id="form">
9

  
10
  <h2>[% LxERP.t8("Print options") %]</h2>
11

  
12
  [% L.checkbox_tag("force_lang", label=LxERP.t8('Override invoice language'), checked=force_lang) %]
13
  [% PRINT_OPTIONS %]
14

  
15
  <h2>[% LxERP.t8("Overdue invoices") %]</h2>
16

  
9
[% SET all_email = 1 %] [% FOREACH row = DUNNINGS %][% IF !row.email %][% SET all_email = 0 %]  [% LAST %][% END %][% END %]
10
<form name="Form" method="post" action="dn.pl" id="form">
11

  
12
<div class="wrapper">
13
  <div class="select-item control-panel">
14
    <h3>[% LxERP.t8("Print options") %]</h3>
15
    [% L.checkbox_tag("force_lang", label=LxERP.t8('Override invoice language'), checked=force_lang) %]
16
    [% PRINT_OPTIONS %]
17
  </div>
17 18
  <p>[% 'The columns &quot;Dunning Duedate&quot;, &quot;Total Fees&quot; and &quot;Interest&quot; show data for the previous dunning created for this invoice.' | $T8 %]</p>
18

  
19
  <table width="100%" id="dunning_invoice_list">
20
   <th class="listheading" colspan="2">[% 'Current / Next Level' | $T8 %]</th>
21

  
22
   <th class="listheading">
23
    [% L.checkbox_tag('selectall_active', checkall='INPUT[name*=active_]', checked=all_active) %]
24
    <label for="selectall_active">[% 'Active?' | $T8 %]</label>
25
   </th>
26

  
27
   <th class="listheading">
28
    [% L.checkbox_tag('selectall_email', checkall='INPUT[name*=email_]', checked=all_email) %]
29
    <label for="selectall_email">[% 'eMail?' | $T8 %]</label>
30
   </th>
31

  
32
   <th class="listheading">[% 'Customername' | $T8 %]</th>
33
   <th class="listheading">[% 'Language' | $T8 %]</th>
34
   <th class="listheading">[% 'Invno.' | $T8 %]</th>
35
   <th class="listheading">[% 'Invdate' | $T8 %]</th>
36
   <th class="listheading">[% 'Inv. Duedate' | $T8 %]</th>
37
   <th class="listheading">[% 'Amount' | $T8 %]</th>
38
   <th class="listheading">[% 'Open Amount' | $T8 %]</th>
39
   <th class="listheading">[% 'Dunning Duedate' | $T8 %]</th>
40
   <th class="listheading">[% 'Total Fees' | $T8 %]</th>
41
   <th class="listheading">[% 'Interest' | $T8 %]</th>
42
   [% IF l_include_direct_debit %]
43
    <th class="listheading">[% 'direct debit' | $T8 %]</th>
44
   [% END %]
45

  
46
   <!-- Ausgabe der einzelnen Zeilen -->
47

  
48
   [% FOREACH row = DUNNINGS %]
49
    <tr class="listrow[% loop.count % 2 %][% IF row.direct_debit %] direct_debit[% END %]">
50

  
51
     <td>
52
      <input type="hidden" name="inv_id_[% loop.count %]" size="2" value="[% HTML.escape(row.id) %]">
53
      <input type="hidden" name="customer_id_[% loop.count %]" size="2" value="[% HTML.escape(row.customer_id) %]">
54
      [% IF row.dunning_level %][% HTML.escape(row.dunning_level) %][% ELSE %]&nbsp;[% END %]
55
     </td>
56

  
57
     <td>
58
      <select name="next_dunning_config_id_[% loop.count %]">
59
       [% FOREACH cfg_row = row.DUNNING_CONFIG %]<option value="[% HTML.escape(cfg_row.id) %]" [% IF cfg_row.SELECTED %]selected[% END %]>[% HTML.escape(cfg_row.dunning_description) %]</option>[% END %]
60
      </select>
61
     </td>
62

  
63
     <td><input type="checkbox" name="active_[% loop.count %]" value="1" [% IF row.active %]checked[% END %]></td>
64
     <td><input type="checkbox" name="email_[% loop.count %]" value="1" [% IF row.email %]checked[% END %]></td>
65
     <td><input type="hidden" name="customername_[% loop.count %]" size="6" value="[% HTML.escape(row.customername) %]">[% HTML.escape(row.customername) %]</td>
66
     <td><input type="hidden" name="language_id_[% loop.count %]" size="6" value="[% HTML.escape(row.language_id) %]">[% HTML.escape(row.language) %]</td>
67
     <td>
68
      <input type="hidden" name="invnumber_[% loop.count %]" size="6" value="[% HTML.escape(row.invnumber) %]">
69
      <a href="[% IF row.invoice %]is[% ELSE %]ar[% END %].pl?action=edit&type=invoice&id=[% row.id | url %]">[% HTML.escape(row.invnumber) %]</a>
70
     </td>
71
     <td><input type="hidden" name="invdate_[% loop.count %]" size="6" value="[% HTML.escape(row.transdate) %]">[% HTML.escape(row.transdate) %]</td>
72
     <td><input type="hidden" name="inv_duedate_[% loop.count %]" size="6" value="[% HTML.escape(row.duedate) %]">[% HTML.escape(row.duedate) %]</td>
73
     <td align="right"><input type="hidden" name="amount_[% loop.count %]" size="6" value="[% HTML.escape(row.amount) %]">[% HTML.escape(row.amount) %]</td>
74
     <td align="right"><input type="hidden" name="open_amount_[% loop.count %]" size="6" value="[% HTML.escape(row.open_amount) %]">[% HTML.escape(row.open_amount) %]</td>
75
     <td>[% HTML.escape(row.dunning_duedate) %]</td>
76
     <td align="right"><input type="hidden" name="fee_[% loop.count %]" size="6" value="[% HTML.escape(row.fee) %]">[% HTML.escape(row.fee) %]</td>
77
     <td align="right"><input type="hidden" name="interest_[% loop.count %]" size="6" value="[% HTML.escape(row.interest) %]">[% HTML.escape(row.interest) %]</td>
78
     [% IF l_include_direct_debit %]
79
     <td>
80
      [% IF row.direct_debit %][% LxERP.t8("yes") %][% ELSE %][% LxERP.t8("no") %][% END %]
81
     </td>
19
</div><!-- /.wrapper -->
20

  
21
<table id="dunning_invoice_list" class="tbl-list wi-moderate">
22
  <caption>[% LxERP.t8("Overdue invoices") %]</caption>
23
  <thead>
24
    <th colspan="2">[% 'Current / Next Level' | $T8 %]</th>
25
    <th class="center">
26
      <label for="selectall_active">[% 'Active?' | $T8 %]</label>
27
      [% L.checkbox_tag('selectall_active', checkall='INPUT[name*=active_]', checked=all_active) %]
28
    </th>
29
    <th class="center">
30
      <label for="selectall_email">[% 'eMail?' | $T8 %]</label>
31
      [% L.checkbox_tag('selectall_email', checkall='INPUT[name*=email_]', checked=all_email) %]
32
    </th>
33
    <th>[% 'Customername' | $T8 %]</th>
34
    <th>[% 'Language' | $T8 %]</th>
35
    <th>[% 'Invno.' | $T8 %]</th>
36
    <th>[% 'Invdate' | $T8 %]</th>
37
    <th>[% 'Inv. Duedate' | $T8 %]</th>
38
    <th class="right">[% 'Amount' | $T8 %]</th>
39
    <th class="right">[% 'Open Amount' | $T8 %]</th>
40
    <th>[% 'Dunning Duedate' | $T8 %]</th>
41
    <th class="right">[% 'Total Fees' | $T8 %]</th>
42
    <th class="right">[% 'Interest' | $T8 %]</th>
43
    [% IF l_include_direct_debit %]
44
      <th class="right">[% 'direct debit' | $T8 %]</th>
45
    [% END %]
46
  </thead>
47
  <!-- Ausgabe der einzelnen Zeilen -->
48
  <tbody>
49
    [% FOREACH row = DUNNINGS %]
50
       <tr[% IF row.direct_debit %] class="direct_debit"[% END %]>
51
         <td>
52
           <input type="hidden" name="inv_id_[% loop.count %]" size="2" value="[% HTML.escape(row.id) %]">
53
           <input type="hidden" name="customer_id_[% loop.count %]" size="2" value="[% HTML.escape(row.customer_id) %]">
54
           [% IF row.dunning_level %][% HTML.escape(row.dunning_level) %][% ELSE %]&nbsp;[% END %]
55
         </td>
56
         <td>
57
           <select name="next_dunning_config_id_[% loop.count %]">
58
             [% FOREACH cfg_row = row.DUNNING_CONFIG %]<option value="[% HTML.escape(cfg_row.id) %]" [% IF cfg_row.SELECTED %]selected[% END %]>[% HTML.escape(cfg_row.dunning_description) %]</option>[% END %]
59
           </select>
60
         </td>
61
         <td class="center"><input type="checkbox" name="active_[% loop.count %]" value="1" [% IF row.active %]checked[% END %]></td>
62
         <td class="center"><input type="checkbox" name="email_[% loop.count %]" value="1" [% IF row.email %]checked[% END %]></td>
63
         <td><input type="hidden" name="customername_[% loop.count %]" size="6" value="[% HTML.escape(row.customername) %]">[% HTML.escape(row.customername) %]</td>
64
         <td><input type="hidden" name="language_id_[% loop.count %]" size="6" value="[% HTML.escape(row.language_id) %]">[% HTML.escape(row.language) %]</td>
65
         <td>
66
           <input type="hidden" name="invnumber_[% loop.count %]" size="6" value="[% HTML.escape(row.invnumber) %]">
67
           <a href="[% IF row.invoice %]is[% ELSE %]ar[% END %].pl?action=edit&type=invoice&id=[% row.id | url %]">[% HTML.escape(row.invnumber) %]</a>
68
         </td>
69
         <td><input type="hidden" name="invdate_[% loop.count %]" size="6" value="[% HTML.escape(row.transdate) %]">[% HTML.escape(row.transdate) %]</td>
70
         <td><input type="hidden" name="inv_duedate_[% loop.count %]" size="6" value="[% HTML.escape(row.duedate) %]">[% HTML.escape(row.duedate) %]</td>
71
         <td class="numeric"><input type="hidden" name="amount_[% loop.count %]" size="6" value="[% HTML.escape(row.amount) %]">[% HTML.escape(row.amount) %]</td>
72
         <td class="numeric"><input type="hidden" name="open_amount_[% loop.count %]" size="6" value="[% HTML.escape(row.open_amount) %]">[% HTML.escape(row.open_amount) %]</td>
73
         <td>[% HTML.escape(row.dunning_duedate) %]</td>
74
         <td class="numeric"><input type="hidden" name="fee_[% loop.count %]" size="6" value="[% HTML.escape(row.fee) %]">[% HTML.escape(row.fee) %]</td>
75
         <td class="numeric"><input type="hidden" name="interest_[% loop.count %]" size="6" value="[% HTML.escape(row.interest) %]">[% HTML.escape(row.interest) %]</td>
76
         [% IF l_include_direct_debit %]
77
           <td class="numeric">
78
             [% IF row.direct_debit %][% LxERP.t8("yes") %][% ELSE %][% LxERP.t8("no") %][% END %]
79
           </td>
80
         [% END %]
81
       </tr>
82 82
     [% END %]
83
    </tr>
84
   [% END %]
85
  </table>
83
  </tbody>
84
</table>
86 85

  
87
  <input name="rowcount" type="hidden" value="[% HTML.escape(rowcount) %]">
88
  <input name="groupinvoices" type="hidden" value="[% HTML.escape(groupinvoices) %]">
86
<input name="rowcount" type="hidden" value="[% HTML.escape(rowcount) %]">
87
<input name="groupinvoices" type="hidden" value="[% HTML.escape(groupinvoices) %]">
88
<input name="callback" type="hidden" value="[% HTML.escape(callback) %]">
89 89

  
90
  <input name="callback" type="hidden" value="[% HTML.escape(callback) %]">
91
 </form>
90
</form>

Auch abrufbar als: Unified diff