Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 8f5246ba

Von Hans Peter Schlaepfer vor etwa 5 Jahren hinzugefügt

  • ID 8f5246ba7cc3b5cb38e5e939ed0642bea64d8367
  • Vorgänger 3fb30e00
  • Nachfolger 1d42407b

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/edit_config.html
1
[%- USE T8 %]
2
[%- USE HTML %]
1
[% USE T8 %]
2
[% USE HTML %]
3 3
<h1>[% title %]</h1>
4 4

  
5
 <script type="text/javascript" src="js/common.js"></script>
6
 <script type="text/javascript" src="js/dunning.js"></script>
7

  
8
 <form method="post" action="dn.pl" name="Form" id="form">
9
  <table>
10

  
11
   <tr>
12
    <th class="listheading">[% 'Dunning Level' | $T8 %]</th>
13
    <th class="listheading">[% 'Dunning Description' | $T8 %]</th>
14
    <th class="listheading">[% 'Active?' | $T8 %]</th>
15
    <th class="listheading">[% 'eMail Send?' | $T8 %]</th>
16
<!--     <th class="listheading">[% 'Auto Send?' | $T8 %]</th>  -->
17
    <th class="listheading">[% 'Create invoice?' | $T8 %]</th>
18
    <th class="listheading">[% 'Fristsetzung' | $T8 %]</th>
19
    <th class="listheading">[% 'Duedate +Days' | $T8 %]</th>
20
    <th class="listheading">[% 'Fee' | $T8 %]</th>
21
    <th class="listheading">[% 'Interest Rate' | $T8 %]</th>
22
    <th class="listheading">[% 'Template' | $T8 %]</th>
23
   </tr>
24

  
25
   [% SET odd = '1' %][% USE DUNNING_it = Iterator(DUNNING) %][% FOREACH row = DUNNING_it %]
26
    <tr valign="top" class="listrow[% IF odd %]1[% SET odd = '0' %][% ELSE %]0[% SET odd = '1' %][% END %]">
27
     <td>
28
      <input type="hidden" name="dunning_level_[% DUNNING_it.count %]" value="[% DUNNING_it.count %]">
29
      <input type="hidden" name="id_[% DUNNING_it.count %]" value="[% HTML.escape(row.id) %]">
30
      [% DUNNING_it.count %]
31
     </td>
32

  
33
     <td><input name="dunning_description_[% DUNNING_it.count %]" value="[% HTML.escape(row.dunning_description) %]"></td>
34
     <td><input type="checkbox" name="active_[% DUNNING_it.count %]" value="1" [% IF row.active %]checked[% END %]></td>
35

  
36
     <td>
37
      <input type="checkbox" name="email_[% DUNNING_it.count %]" value="1" [% IF row.email %]checked[% END %]>
38
      <button type="button" onclick="set_email_window('email_subject_[% DUNNING_it.count %]', 'email_body_[% DUNNING_it.count %]', 'email_attachment_[% DUNNING_it.count %]')">
39
       [% 'L' | $T8 %]</button>
40
      <input type="hidden" name="email_body_[% DUNNING_it.count %]" value="[% HTML.escape(row.email_body) %]">
41
      <input type="hidden" name="email_subject_[% DUNNING_it.count %]" value="[% HTML.escape(row.email_subject) %]">
42
      <input type="hidden" name="email_attachment_[% DUNNING_it.count %]" value="[% HTML.escape(row.email_attachment) %]">
43
     </td>
44

  
45
<!--      <td><input type="checkbox" name="auto_[% DUNNING_it.count %]" value="1" [% IF row.auto %]checked[% END %]></td> -->
46
     <td><input type="checkbox" name="create_invoices_for_fees_[% DUNNING_it.count %]" value="1" [% IF row.create_invoices_for_fees %]checked[% END %]></td>
47
     <td><input name="payment_terms_[% DUNNING_it.count %]" size="3" value="[% HTML.escape(row.payment_terms) %]"></td>
48
     <td><input name="terms_[% DUNNING_it.count %]" size="3" value="[% HTML.escape(row.terms) %]"></td>
49
     <td><input name="fee_[% DUNNING_it.count %]" size="5" value="[% HTML.escape(row.fee) %]"></td>
50
     <td><input name="interest_rate_[% DUNNING_it.count %]" size="4" value="[% HTML.escape(row.interest_rate) %]">%</td>
51
     <td><input name="template_[% DUNNING_it.count %]" value="[% HTML.escape(row.template) %]"></td>
5
<script type="text/javascript" src="js/common.js"></script>
6
<script type="text/javascript" src="js/dunning.js"></script>
7

  
8
<form method="post" action="dn.pl" name="Form" id="form">
9

  
10
<div class="wrapper">
11
<table class="tbl-list wi-moderate">
12
  <caption>[% 'Dunning levels & dunning types' | $T8 %]</caption>
13
  <thead>
14
    <tr>
15
      <th class="center">[% 'Dunning Level' | $T8 %]</th>
16
      <th>[% 'Dunning Description' | $T8 %]</th>
17
      <th class="center">[% 'Active?' | $T8 %]</th>
18
      <th class="center">[% 'eMail Send?' | $T8 %]</th>
19
<!--     <th>[% 'Auto Send?' | $T8 %]</th>  -->
20
      <th class="center">[% 'Create invoice?' | $T8 %]</th>
21
      <th class="right">[% 'Fristsetzung' | $T8 %]</th>
22
      <th class="right">[% 'Duedate +Days' | $T8 %]</th>
23
      <th class="right">[% 'Fee' | $T8 %]</th>
24
      <th class="right">[% 'Interest Rate' | $T8 %]</th>
25
      <th>[% 'Template' | $T8 %]</th>
52 26
    </tr>
53
    [% IF DUNNING_it.last %][% SET rowcount = DUNNING_it.size + 1 %][% END %]
54
   [% END %]
55

  
56
   [%- UNLESS rowcount %][% SET rowcount = '1' %][% END -%]
57
   <tr valign="top" class="listrow[% IF odd %]1[% ELSE %]0[% END %]">
58
    <td>
59
     <input type="hidden" name="dunning_level_[% rowcount %]" value="[% rowcount %]">
60
     <input type="hidden" name="id_[% rowcount %]">
61
     [% rowcount %]
62
    </td>
63

  
64
    <td><input name="dunning_description_[% rowcount %]"></td>
65
    <td><input type="checkbox" name="active_[% rowcount %]" value="1" checked></td>
66

  
67
    <td>
68
     <input type="checkbox" name="email_[% rowcount %]" value="1" checked>
69
     <button type="button" onclick="set_email_window('email_subject_[% rowcount %]', 'email_body_[% rowcount %]', 'email_attachment_[% rowcount %]')">
70
      [% 'L' | $T8 %]</button>
71
     <input type="hidden" name="email_body_[% rowcount %]">
72
     <input type="hidden" name="email_subject_[% rowcount %]">
73
     <input type="hidden" name="email_attachment_[% rowcount %]">
74
    </td>
27
  </thead>
28
  <tbody>
29
    [% SET odd = '1' %]
30
    [% USE DUNNING_it = Iterator(DUNNING) %]
31
    [% FOREACH row = DUNNING_it %]
32
    <tr>
33
      <td class="center">
34
        <input type="hidden" name="dunning_level_[% DUNNING_it.count %]" value="[% DUNNING_it.count %]">
35
        <input type="hidden" name="id_[% DUNNING_it.count %]" value="[% HTML.escape(row.id) %]">
36
        [% DUNNING_it.count %]
37
      </td>
38
      <td>
39
        <input type="text" name="dunning_description_[% DUNNING_it.count %]" value="[% HTML.escape(row.dunning_description) %]">
40
      </td>
41
      <td class="center">
42
        <input type="checkbox" name="active_[% DUNNING_it.count %]" value="1" [% IF row.active %]checked[% END %]>
43
      </td>
44
      <td class="center">
45
        <input type="checkbox" name="email_[% DUNNING_it.count %]" value="1" [% IF row.email %]checked[% END %]>
46
        <button type="button" onclick="set_email_window('email_subject_[% DUNNING_it.count %]', 'email_body_[% DUNNING_it.count %]', 'email_attachment_[% DUNNING_it.count %]')"> [% 'L' | $T8 %]</button>
47
        <input type="hidden" name="email_body_[% DUNNING_it.count %]" value="[% HTML.escape(row.email_body) %]">
48
        <input type="hidden" name="email_subject_[% DUNNING_it.count %]" value="[% HTML.escape(row.email_subject) %]">
49
        <input type="hidden" name="email_attachment_[% DUNNING_it.count %]" value="[% HTML.escape(row.email_attachment) %]">
50
      </td>
51
  <!--      <td><input type="checkbox" name="auto_[% DUNNING_it.count %]" value="1" [% IF row.auto %]checked[% END %]></td> -->
52
      <td class="center">
53
        <input type="checkbox" name="create_invoices_for_fees_[% DUNNING_it.count %]" value="1"[% IF row.create_invoices_for_fees %] checked[% END %]>
54
      </td>
55
      <td class="right">
56
        <input type="text" name="payment_terms_[% DUNNING_it.count %]" size="3" value="[% HTML.escape(row.payment_terms) %]">
57
      </td>
58
      <td class="right">
59
        <input type="text" name="terms_[% DUNNING_it.count %]" size="3" value="[% HTML.escape(row.terms) %]">
60
      </td>
61
      <td class="right">
62
        <input type="text" name="fee_[% DUNNING_it.count %]" size="5" value="[% HTML.escape(row.fee) %]">
63
      </td>
64
      <td class="right">
65
        <input type="text" name="interest_rate_[% DUNNING_it.count %]" size="4" value="[% HTML.escape(row.interest_rate) %]">%
66
      </td>
67
      <td>
68
        <input type="text" name="template_[% DUNNING_it.count %]" value="[% HTML.escape(row.template) %]">
69
      </td>
70
    </tr>
71
      [% IF DUNNING_it.last %]
72
        [% SET rowcount = DUNNING_it.size + 1 %]
73
      [% END %]
74
    [% END %]
75

  
76
    [% UNLESS rowcount %][% SET rowcount = '1' %][% END %]
77
    <tr>
78
      <td class="center">
79
        <input type="hidden" name="dunning_level_[% rowcount %]" value="[% rowcount %]">
80
        <input type="hidden" name="id_[% rowcount %]">
81
        [% rowcount %]
82
      </td>
83
      <td>
84
        <input type="text" name="dunning_description_[% rowcount %]">
85
      </td>
86
      <td class="center">
87
        <input type="checkbox" name="active_[% rowcount %]" value="1" checked>
88
      </td>
89
      <td class="center">
90
        <input type="checkbox" name="email_[% rowcount %]" value="1" checked>
91
        <button type="button" onclick="set_email_window('email_subject_[% rowcount %]', 'email_body_[% rowcount %]', 'email_attachment_[% rowcount %]')"> [% 'L' | $T8 %]</button>
92
        <input type="hidden" name="email_body_[% rowcount %]">
93
        <input type="hidden" name="email_subject_[% rowcount %]">
94
        <input type="hidden" name="email_attachment_[% rowcount %]">
95
      </td>
96
  <!--     <td><input type="checkbox" name="auto_[% rowcount %]" value="1" checked></td> -->
97
      <td class="center">
98
        <input type="checkbox" name="create_invoices_for_fees_[% rowcount %]" value="1" checked>
99
      </td>
100
      <td class="right">
101
        <input type="text" name="payment_terms_[% rowcount %]" size="3">
102
      </td>
103
      <td class="right">
104
        <input type="text" name="terms_[% rowcount %]" size="3">
105
      </td>
106
      <td class="right">
107
        <input type="text" name="fee_[% rowcount %]" size="5">
108
      </td>
109
      <td class="right">
110
        <input type="text" name="interest_rate_[% rowcount %]" size="4">%
111
      </td>
112
      <td>
113
        <input type="text" name="template_[% rowcount %]">
114
      </td>
115
    </tr>
116
  </tbody>
117
</table>
118
</div><!-- /.wrapper -->
75 119

  
76
<!--     <td><input type="checkbox" name="auto_[% rowcount %]" value="1" checked></td> -->
77
    <td><input type="checkbox" name="create_invoices_for_fees_[% rowcount %]" value="1" checked></td>
78
    <td><input name="payment_terms_[% rowcount %]" size="3"></td>
79
    <td><input name="terms_[% rowcount %]" size="3"></td>
80
    <td><input name="fee_[% rowcount %]" size="5"></td>
81
    <td><input name="interest_rate_[% rowcount %]" size="4">%</td>
82
    <td><input name="template_[% rowcount %]"></td>
83
   </tr>
84
  </table>
120
<input type="hidden" name="rowcount" value="[% HTML.escape(rowcount) %]">
85 121

  
86
  <input type="hidden" name="rowcount" value="[% HTML.escape(rowcount) %]">
122
<div class="wrapper">
87 123

  
88
  <hr size="3" noshade>
124
<p>[% 'If the automatic creation of invoices for fees and interest is switched on for a dunning level then the following accounts will be used for the invoice.' | $T8 %]</p>
89 125

  
90
  <p>[% 'If the automatic creation of invoices for fees and interest is switched on for a dunning level then the following accounts will be used for the invoice.' | $T8 %]</p>
91 126

  
92
  <table>
93
   <tr>
94
    <th align="right">[% 'Account for fees' | $T8 %]</th>
95
    <td>
96
     <select name="AR_amount_fee">
97
      [% FOREACH row = SELECT_AR_AMOUNT %]<option value="[% HTML.escape(row.id) %]" [% IF row.AR_amount_fee_selected %]selected[% END %]>[% HTML.escape(row.accno) %]--[% HTML.escape(row.description) %]</option>
98
      [% END %]
99
     </select>
100
    </td>
101
   </tr>
127
<table class="tbl-horizontal">
128
  <tbody>
129
    <tr>
130
      <th>[% 'Account for fees' | $T8 %]</th>
131
      <td>
132
        <select name="AR_amount_fee" class="wi-verywide">
133
          [% FOREACH row = SELECT_AR_AMOUNT %]
134
          <option value="[% HTML.escape(row.id) %]" [% IF row.AR_amount_fee_selected %] selected[% END %]>[% HTML.escape(row.accno) %]--[% HTML.escape(row.description) %]</option>
135
          [% END %]
136
        </select>
137
      </td>
138
    </tr>
139
    <tr>
140
      <th>[% 'Account for interest' | $T8 %]</th>
141
      <td>
142
        <select name="AR_amount_interest" class="wi-verywide">
143
          [% FOREACH row = SELECT_AR_AMOUNT %]
144
          <option value="[% HTML.escape(row.id) %]" [% IF row.AR_amount_interest_selected %]selected[% END %]>[% HTML.escape(row.accno) %]--[% HTML.escape(row.description) %]</option>
145
          [% END %]
146
        </select>
147
      </td>
148
    </tr>
149
    <tr>
150
      <th>[% 'Record in' | $T8 %]</th>
151
      <td>
152
        <select name="AR" class="wi-verywide">
153
          [% FOREACH row = SELECT_AR %]
154
          <option value="[% HTML.escape(row.id) %]" [% IF row.AR_selected %]selected[% END %]>[% HTML.escape(row.accno) %]--[% HTML.escape(row.description) %]</option>
155
          [% END %]
156
        </select>
157
      </td>
158
    </tr>
159
  </tbody>
160
</table>
102 161

  
103
   <tr>
104
    <th align="right">[% 'Account for interest' | $T8 %]</th>
105
    <td>
106
     <select name="AR_amount_interest">
107
      [% FOREACH row = SELECT_AR_AMOUNT %]<option value="[% HTML.escape(row.id) %]" [% IF row.AR_amount_interest_selected %]selected[% END %]>[% HTML.escape(row.accno) %]--[% HTML.escape(row.description) %]</option>
108
      [% END %]
109
     </select>
110
    </td>
111
   </tr>
162
<input type="hidden" name="callback" value="[% HTML.escape(callback) %]">
112 163

  
113
   <tr>
114
    <th align="right">[% 'Record in' | $T8 %]</th>
115
    <td>
116
     <select name="AR">
117
      [% FOREACH row = SELECT_AR %]<option value="[% HTML.escape(row.id) %]" [% IF row.AR_selected %]selected[% END %]>[% HTML.escape(row.accno) %]--[% HTML.escape(row.description) %]</option>
118
      [% END %]
119
     </select>
120
    </td>
121
   </tr>
122
  </table>
164
</div><!-- /.wrapper -->
123 165

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

Auch abrufbar als: Unified diff