Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 8ab352d0

Von Hans Peter Schlaepfer vor fast 6 Jahren hinzugefügt

  • ID 8ab352d0a8e1c6a04baedd150ba877c50e2dec13
  • Vorgänger 13bd180a
  • Nachfolger 35bfa51e

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/datev/export.html
1
[%- USE T8 %]
1
[% USE T8 %]
2 2
<h1>[% 'DATEX - Export Assistent' | $T8 %]</h1>
3 3

  
4 4
<form method='post' action='[% script %]' id='form'>
5 5

  
6 6
<table width=100%>
7 7
  <tr>
8
    <th align=left>[% 'DATEV Angaben' | $T8 %]</th>
8
    <th>[% 'DATEV Angaben' | $T8 %]</th>
9 9
  </tr>
10 10
  <tr height="5"></tr>
11
  <tr valign=top>
11
  <tr>
12 12
    <td>
13 13
      <table>
14 14
        <tr>
15
          <td align=left nowrap>[% 'Beraternummer' | $T8 %]</td>
16
          <td><input name=beraternr size=10 maxlength=7 value="[% beraternr %]"></td>
15
          <td>[% 'Beraternummer' | $T8 %]</td>
16
          <td><input type="text" name=beraternr size=10 maxlength=7 value="[% beraternr %]"></td>
17 17

  
18
          <td align=left nowrap>[% 'DFV-Kennzeichen' | $T8 %]</td>
19
          <td><input name=dfvkz size=5 maxlength=2 value="[% dfvkz %]"></td>
18
          <td>[% 'DFV-Kennzeichen' | $T8 %]</td>
19
          <td><input type="text" name=dfvkz size=5 maxlength=2 value="[% dfvkz %]"></td>
20 20
        </tr>
21 21
        <tr>
22
          <td align=left nowrap>[% 'Beratername' | $T8 %]</td>
23
          <td><input name=beratername size=10 maxlength=9 value="[% beratername %]"></td>
22
          <td>[% 'Beratername' | $T8 %]</td>
23
          <td><input type="text" name=beratername size=10 maxlength=9 value="[% beratername %]"></td>
24 24

  
25
          <td align=left nowrap>[% 'Password' | $T8 %]</td>
26
          <td><input name=passwort size=5 maxlength=4 value="[% passwort %]"></td>
25
          <td>[% 'Password' | $T8 %]</td>
26
          <!-- PENDENT: Maxlenght 4 ist ein wenig unrealistisch -->
27
          <td><input type="text" name=passwort size=5 maxlength=4 value="[% passwort %]"></td>
27 28
        </tr>
28 29
        <tr>
29
          <td align=left nowrap>[% 'Mandantennummer' | $T8 %]</td>
30
          <td><input name=mandantennr size=10 maxlength=5 value="[% mandantennr %]"></td>
30
          <td>[% 'Mandantennummer' | $T8 %]</td>
31
          <td><input type="text" name=mandantennr size=10 maxlength=5 value="[% mandantennr %]"></td>
31 32

  
32
          <td align=left nowrap>[% 'Medium Number' | $T8 %]</td>
33
          <td><input name=datentraegernr size=5 maxlength=3 value="[% datentraegernr %]"></td>
33
          <td>[% 'Medium Number' | $T8 %]</td>
34
          <td><input type="text" name=datentraegernr size=5 maxlength=3 value="[% datentraegernr %]"></td>
34 35
        </tr>
35 36
        <tr>
36 37
          <td></td>
37 38
          <td></td>
38 39

  
39
          <td align=left nowrap>[% 'Abrechnungsnummer' | $T8 %]</td>
40
          <td><input name=abrechnungsnr size=5 maxlength=3 value="[% abrechnungsnr %]"></td>
40
          <td>[% 'Abrechnungsnummer' | $T8 %]</td>
41
          <td><input type="text" name=abrechnungsnr size=5 maxlength=3 value="[% abrechnungsnr %]"></td>
41 42
        </tr>
42 43

  
43 44
        <tr>
44
          <td><input name=exporttype type=radio class=radio value=0 checked> [% 'Export Buchungsdaten' | $T8 %]</td>
45
          <td><input name=exporttype type=radio value=0 checked> [% 'Export Buchungsdaten' | $T8 %]</td>
45 46
          <td></td>
46 47

  
47
          <td><input name=exporttype type=radio class=radio value=1> [% 'Export Stammdaten' | $T8 %]</td>
48
          <td><input name=exporttype type=radio value=1> [% 'Export Stammdaten' | $T8 %]</td>
48 49
          <td></td>
49 50
        </tr>
50 51
        <tr>
templates/webpages/datev/export_bewegungsdaten.html
1
[%- USE T8 %]
2
[%- USE L %]
1
[% USE T8 %]
2
[% USE L %]
3

  
3 4
<h1>[% 'DATEX - Export Assistent' | $T8 %]</h1>
4 5

  
5 6
<form method="post" action="[% script %]" id="form">
7
<div class="wrapper">
6 8

  
7
<table width=100%>
8
  <tr>
9
    <th align=left>[% 'Zeitraum' | $T8 %]</th>
10
  </tr>
11
  <tr height="5"></tr>
12
  <tr valign=top>
13
    <td>
14
      <table>
15
        <tr>
16
          <td align=left><input checked name=zeitraum class=radio type=radio value=monat>&nbsp;</td>
17
          <td align=left>[% 'Monat' | $T8 %]</td>
18
          <td align=left></td>
19
          <td align=left></td>
20
          <td align=left><select name=monat>
21
            <option value=1>[% 'January' | $T8 %]</option>
22
            <option value=2>[% 'February' | $T8 %]</option>
23
            <option value=3>[% 'March' | $T8 %]</option>
24
            <option value=4>[% 'April' | $T8 %]</option>
25
            <option value=5>[% 'May' | $T8 %]</option>
26
            <option value=6>[% 'June' | $T8 %]</option>
27
            <option value=7>[% 'July' | $T8 %]</option>
28
            <option value=8>[% 'August' | $T8 %]</option>
29
            <option value=9>[% 'September' | $T8 %]</option>
30
            <option value=10>[% 'October' | $T8 %]</option>
31
            <option value=11>[% 'November' | $T8 %]</option>
32
            <option value=12>[% 'December last year period' | $T8 %]</option>
33
          </select></td>
34
        </tr>
35
        <tr>
36
          <td align=left><input name=zeitraum class=radio type=radio value=quartal>&nbsp;</td>
37
          <td align=left>[% 'Quartal' | $T8 %]</td>
38
          <td align=left></td>
39
          <td align=left></td>
40
          <td align=left><select name=quartal>
41
            <option selected value=1>[% 'I' | $T8 %]</option>
42
            <option value=2>[% 'II' | $T8 %]</option>
43
            <option value=3>[% 'III' | $T8 %]</option>
44
            <option value=4>[% 'IV' | $T8 %]</option>
45
          </select></td>
46
        </tr>
9
<table class="tbl-horizontal col">
10
  <caption>[% 'Zeitraum' | $T8 %]</caption>
11
  <tbody>
12
    <tr>
13
      <th>[% 'Monat' | $T8 %]</th>
14
      <th>[% 'Quartal' | $T8 %]</th>
15
      <th>[% 'Period' | $T8 %]</th>
16
    </tr>
17
    <tr>
18
      <td><input checked name="zeitraum" type="radio" value="monat"></td>
19
      <td><input name="zeitraum" type="radio" value="quartal"></td>
20
      <td><input name="zeitraum" type="radio" value="zeit"></td>
21
    </tr>
22
    <tr>
23
      <td>
24
        <select name="monat">
25
          <option value="1">[% 'January' | $T8 %]</option>
26
          <option value="2">[% 'February' | $T8 %]</option>
27
          <option value="3">[% 'March' | $T8 %]</option>
28
          <option value="4">[% 'April' | $T8 %]</option>
29
          <option value="5">[% 'May' | $T8 %]</option>
30
          <option value="6">[% 'June' | $T8 %]</option>
31
          <option value="7">[% 'July' | $T8 %]</option>
32
          <option value="8">[% 'August' | $T8 %]</option>
33
          <option value="9">[% 'September' | $T8 %]</option>
34
          <option value="10">[% 'October' | $T8 %]</option>
35
          <option value="11">[% 'November' | $T8 %]</option>
36
          <option value="12">[% 'December last year period' | $T8 %]</option>
37
        </select>
38
      </td>
39
      <td>
40
        <select name="quartal">
41
          <option selected value="1">[% 'I' | $T8 %]</option>
42
          <option value="2">[% 'II' | $T8 %]</option>
43
          <option value="3">[% 'III' | $T8 %]</option>
44
          <option value="4">[% 'IV' | $T8 %]</option>
45
        </select>
46
      </td>
47
      <td>[% L.date_tag('transdatefrom') %][% 'bis' | $T8 %][% L.date_tag('transdateto') %]</td>
48
    </tr>
49
  </tbody>
50
</table>
51

  
52
<div class="col">
53

  
54
  <table class="tbl-horizontal">
55
    <caption>[% 'Gldate' | $T8 %]</caption>
56
    <tbody>
57
      <tr>
58
        <th>[% 'From' | $T8 %]</th>
59
        <td>[% L.date_tag('gldatefrom') %]</td>
60
      </tr>
61
    </tbody>
62
  </table>
63

  
64
  [% IF ALL_DEPARTMENTS.as_list.size %] 
65
    <table class="tbl-horizontal">
66
      <caption>[% 'Department' | $T8 %]</caption>
67
      <tbody>
47 68
        <tr>
48
          <td align=left><input name=zeitraum class=radio type=radio value=zeit>&nbsp;</td>
49
          <td align=left>[% 'Datum von' | $T8 %]</td>
50
          <td align=left>[% L.date_tag('transdatefrom') %]</td>
51
          <td align=left>[% 'bis' | $T8 %]</td>
52
          <td align=left>[% L.date_tag('transdateto') %]</td>
53
        </tr>
54
      </table>
55
    </td>
56
  </tr>
57
  <tr>
58
   <td><hr size=1 noshade></td>
59
   </tr>
60
   <tr>
61
     <td>
62
        <table>
63
         <tr>
64
           <td align=left>[% 'Gldate' | $T8 %] [% 'From' | $T8 %]</td>
65
           <td align=left></td>
66
           <td>[% L.date_tag('gldatefrom') %]</td>
67
         </tr>
68
        </table>
69
     </td>
70
   </tr>
71
   <tr>
72
   <tr>
73
    <td><hr size=1 noshade></td>
74
   </tr>
75
  [% IF ALL_DEPARTMENTS.as_list.size %]
76
   <tr>
77
     <td>
78
        <table>
79
         <tr>
80
           <td align=left>[% 'Department' | $T8 %]</td>
81
           <td align=left></td>
82
           <td>[% L.select_tag('department_id', ALL_DEPARTMENTS, title_key = 'description', with_empty = 1) %]</td>
83
         </tr>
84
        </table>
85
     </td>
86
   </tr>
87
   <tr>
88
  <td><hr size=3 noshade></td>
89
  </tr>
90
  [% END %]
91
   <tr>
92
     <td>
93
        <table>
94
         <tr>
95
          [% IF show_pk_option %]
96
           <td align=left>[% 'Export with CV Charts' | $T8 %]</td>
97
           <td align=left></td>
98
           <td>[% L.checkbox_tag('use_pk', value => 1, checked => 0) %]</td>
99
          [% ELSE %]
100
           <td align=left><font color="gray">[% 'Export with CV Charts' | $T8 %]</font></td>
101
           <td align=left></td>
102
           <td>[% L.checkbox_tag('use_pk', value => 1, checked => 0, disabled => 1) %] </td>
103
           <td colspan="2"><font color="gray">[% 'Hint: Not all VC Numbers are personal accounts compliant' | $T8 %]</font></td>
104
          [% END %]
105
         </tr>
106
         <tr>
107
           <td align=left>[% 'Lock bookings' | $T8 %]</td>
108
           <td align=left></td>
109
           <td colspan="3">[% L.yes_no_tag('locked', 0) %]</td>
69
          <td>[% 'Department' | $T8 %]</td>
70
          <td>[% L.select_tag('department_id', ALL_DEPARTMENTS, title_key = 'description', with_empty = 1) %]</td>
110 71
        </tr>
111
        </table>
112
     </td>
113
   </tr>
114
   <tr>
115
  <td><hr size=3 noshade></td>
116
  </tr>
117
</table>
72
      </tbody>
73
    </table>
74
  [% END %] 
75

  
76
  <table class="tbl-horizontal">
77
    <caption>[% 'Options' | $T8 %]</caption>
78
    <tbody>
79
      <tr>
80
        [% IF show_pk_option %]
81
          <td>[% 'Export with CV Charts' | $T8 %]</td>
82
          <td>[% L.checkbox_tag('use_pk', value => 1, checked => 0) %]</td>
83
        [% ELSE %]
84
          <td>[% 'Export with CV Charts' | $T8 %]</td>
85
          <td>[% L.checkbox_tag('use_pk', value => 1, checked => 0, disabled => 1) %]<br>[% 'Hint: Not all VC Numbers are personal accounts compliant' | $T8 %]</td>
86
        [% END %]
87
       </tr>
88
       <tr>
89
          <td>[% 'Lock bookings' | $T8 %]</td>
90
          <td>[% L.yes_no_tag('locked', 0) %]</td>
91
      </tr>
92
    </tbody>
93
  </table>
94
  
95
</div><!-- /.col -->
118 96

  
119 97
<input type=hidden name=beraternr value="[% beraternr %]">
120 98
<input type=hidden name=dfvkz value="[% dfvkz %]">
......
124 102
<input type=hidden name=datentraegernr value="[% datentraegernr %]">
125 103
<input type=hidden name=exportformat value="[% exportformat %]">
126 104
<input type=hidden name=abrechnungsnr value="[% abrechnungsnr %]">
127

  
128 105
<input type=hidden name=exporttype value="[% exporttype %]">
129 106

  
107
</div><!-- /.wrapper -->
130 108
</form>
templates/webpages/datev/export_stammdaten.html
12 12
      <table>
13 13
        <tr>
14 14
          <td align=left>[% 'Von Konto: ' | $T8 %]</td>
15
          <td align=left><input name=accnofrom size=8 maxlength=8></td>
15
          <td align=left><input type="text" name=accnofrom size=8 maxlength=8></td>
16 16
        </tr>
17 17
        <tr>
18 18
          <td align=left>[% 'Bis Konto: ' | $T8 %]</td>
19
          <td align=left><input name=accnoto size=8 maxlength=8></td>
19
          <td align=left><input type="text" name=accnoto size=8 maxlength=8></td>
20 20
        </tr>
21 21
      </table>
22 22
    </td>
templates/webpages/delivery_plan/_filter.html
1
[%- USE T8 %]
2
[%- USE L %]
3
[%- USE LxERP %]
4
[%- USE HTML %]
1
[% USE T8 %]
2
[% USE L %]
3
[% USE LxERP %]
4
[% USE HTML %]
5

  
5 6
<form action='controller.pl' method='post' id='filter_form'>
6
<div class='filter_toggle'>
7
<a href='#' onClick='javascript:$(".filter_toggle").toggle()'>[% 'Show Filter' | $T8 %]</a>
8
  [% SELF.filter_summary | html %]
9
</div>
10
<div class='filter_toggle' style='display:none'>
11
<a href='#' onClick='javascript:$(".filter_toggle").toggle()'>[% 'Hide Filter' | $T8 %]</a>
12
 <table id='filter_table'>
13
  <tr>
14
   <th align="right">[% 'Number' | $T8 %]</th>
15
   <td>[% L.input_tag('filter.order.ordnumber:substr::ilike', filter.order.ordnumber_substr__ilike, size = 20) %]</td>
16
  </tr>
17
  <tr>
18
   <th align="right">[% 'Document Project Number' | $T8 %]</th>
19
   <td>[% L.input_tag('filter.order.globalproject.projectnumber:substr::ilike', filter.order.globalproject.projectnumber_substr__ilike, size = 20) %]</td>
20
  </tr>
21
  <tr>
22
   <th align="right">[% 'Part Number' | $T8 %]</th>
23
   <td>[% L.input_tag('filter.part.partnumber:substr::ilike', filter.part.partnumber_substr__ilike, size = 20) %]</td>
24
  </tr>
25
  <tr>
26
   <th align="right">[% 'Part Description' | $T8 %]</th>
27
   <td>[% L.input_tag('filter.description:substr::ilike', filter.description_substr__ilike, size = 20) %]</td>
28
  </tr>
29
  <tr>
30
   <th align="right">[% 'Delivery Date' | $T8 %] [% 'From Date' | $T8 %]</th>
31
   <td>[% L.date_tag('filter.reqdate:date::ge', filter.reqdate_date__ge) %]</td>
32
  </tr>
33
  <tr>
34
   <th align="right">[% 'Delivery Date' | $T8 %] [% 'To Date' | $T8 %]</th>
35
   <td>[% L.date_tag('filter.reqdate:date::le', filter.reqdate_date__le) %]</td>
36
  </tr>
37
  <tr>
38
   <th align="right">[% 'Quantity' | $T8 %]</th>
39
   <td>[% L.input_tag('filter.qty:number', filter.qty_number, size = 20) %]</td>
40
  </tr>
41
[% IF SELF.vc == 'customer' %]
7

  
8
<div class="wrapper">
9

  
10
[% BLOCK filter_toggle_panel %]
11
<div class="wrapper">
12
<table id='filter_table' class="tbl-horizontal">
13
  <caption>[% 'Order & Articles' | $T8 %]</caption>
14
	<colgroup> <col class="wi-small"><col class="wi-normal"> </colgroup>
15
  <tbody>
16
    <tr>
17
      <th>[% 'Number' | $T8 %]</th>
18
      <td>[% L.input_tag('filter.order.ordnumber:substr::ilike', filter.order.ordnumber_substr__ilike, class='wi-normal') %]</td>
19
    </tr>
20
    <tr>
21
      <th>[% 'Document Project Number' | $T8 %]</th>
22
      <td>[% L.input_tag('filter.order.globalproject.projectnumber:substr::ilike', filter.order.globalproject.projectnumber_substr__ilike, class='wi-normal') %]</td>
23
    </tr>
24
    <tr>
25
      <th>[% 'Part Number' | $T8 %]</th>
26
      <td>[% L.input_tag('filter.part.partnumber:substr::ilike', filter.part.partnumber_substr__ilike, class='wi-normal') %]</td>
27
    </tr>
42 28
    <tr>
43
     <th align="right">[% 'Customer' | $T8 %]</th>
44
     <td>[% L.input_tag('filter.order.customer.name:substr::ilike', filter.order.customer.name_substr__ilike, size = 20) %]</td>
45
   </tr>
46
   <tr>
47
    <th align="right">[% 'Customer Number' | $T8 %]</th>
48
    <td>[% L.input_tag('filter.order.customer.customernumber:substr::ilike', filter.order.customer.customernumber_substr__ilike, size = 20) %]</td>
49
   </tr>
50
[% ELSE %]  <tr>
51
    <th align="right">[% 'Vendor' | $T8 %]</th>
52
    <td>[% L.input_tag('filter.order.vendor.name:substr::ilike', filter.order.vendor.name_substr__ilike, size = 20) %]</td>
53
   </tr>
54
   <tr>
55
    <th align="right">[% 'Vendor Number' | $T8 %]</th>
56
    <td>[% L.input_tag('filter.order.vendor.vendornumber:substr::ilike', filter.order.vendor.vendornumber_substr__ilike, size = 20) %]</td>
57
   </tr>
58
[% END %]
59
  <tr>
60
   <th align="right">[% 'Customer type' | $T8 %]</th>
61
   <td>
62
     [% L.select_tag('filter.order.customer.business_id', SELF.all_businesses,
63
                     default    => filter.order.customer.business_id,
64
                     title_key  => 'description',
65
                     value_key  => 'id',
66
                     with_empty => 1,
67
                     style      => 'width: 200px') %]
68
   </td>
69
  </tr>
70
  <tr>
71
   <th align="right">[% 'Employee' | $T8 %]</th>
72
   <td>
73
     [% L.select_tag('filter.order.employee_id', SELF.all_employees,
74
                     default    => filter.order.employee_id,
75
                     title_key  => 'name',
76
                     value_key  => 'id',
77
                     with_empty => 1,
78
                     style      => 'width: 200px') %]
79
   </td>
80
  </tr>
81
  [%- IF SELF.all_departments.size %]
29
      <th>[% 'Part Description' | $T8 %]</th>
30
      <td>[% L.input_tag('filter.description:substr::ilike', filter.description_substr__ilike, class='wi-normal') %]</td>
31
    </tr>
82 32
    <tr>
83
      <th align="right">[% 'Department' | $T8 %]</th>
33
      <th>[% 'Quantity' | $T8 %]</th>
34
      <td>[% L.input_tag('filter.qty:number', filter.qty_number, class='wi-normal') %]</td>
35
    </tr>
36
    <tr>
37
      <th>[% 'Type' | $T8 %]</th>
84 38
      <td>
85
        [% L.select_tag('filter.order.department_id', SELF.all_departments, default=filter.order.department_id, title_key='description', with_empty=1, style='width:200px') %]
39
        [% L.checkbox_tag('filter.part.part_type[]', checked=filter.part.part_type_.part,     value='part',     label=LxERP.t8('Part')) %]
40
        [% L.checkbox_tag('filter.part.part_type[]', checked=filter.part.part_type_.service,  value='service',  label=LxERP.t8('Service')) %]
41
        [% L.checkbox_tag('filter.part.part_type[]', checked=filter.part.part_type_.assembly, value='assembly', label=LxERP.t8('Assembly')) %]
42
        [% IF INSTANCE_CONF.get_feature_experimental_assortment %]
43
          [% L.checkbox_tag('filter.part.part_type[]', checked=filter.part.part_type_.assortment, value='assortment', label=LxERP.t8('Assortment')) %]
44
        [% END %]
86 45
      </td>
87 46
    </tr>
88
  [%- END %]
89
  <tr>
90
   <th align="right">[% 'Type' | $T8 %]</th>
91
   <td>
92
     [% L.checkbox_tag('filter.part.part_type[]', checked=filter.part.part_type_.part,     value='part',     label=LxERP.t8('Part')) %]
93
     [% L.checkbox_tag('filter.part.part_type[]', checked=filter.part.part_type_.service,  value='service',  label=LxERP.t8('Service')) %]
94
     [% L.checkbox_tag('filter.part.part_type[]', checked=filter.part.part_type_.assembly, value='assembly', label=LxERP.t8('Assembly')) %]
95
     [%- IF INSTANCE_CONF.get_feature_experimental_assortment %]
96
       [% L.checkbox_tag('filter.part.part_type[]', checked=filter.part.part_type_.assortment, value='assortment', label=LxERP.t8('Assortment')) %]
97
     [% END %]
98
   </td>
99
  </tr>
100
  <tr>
101
   <th align="right">[% 'Query Type' | $T8 %]</th>
102
   <td>
103
     [% L.checkbox_tag('use_linked_items', checked=use_linked_items, value='1', label=LxERP.t8('Use linked items')) %]
104
   </td>
105
  </tr>
106
 </table>
47
  </tbody>
48
</table>
49

  
50
<table class="tbl-horizontal">
51
	<caption>[% IF SELF.vc == 'customer' %][% 'Customer' | $T8 %][% ELSE %][% 'Vendor' | $T8 %][% END %]</caption>
52
	<colgroup> <col class="wi-small"><col class="wi-mediumsmall"> </colgroup>
53
	<tbody>
54
    [% IF SELF.vc == 'customer' %]
55
      <tr>
56
        <th>[% 'Customer' | $T8 %]</th>
57
        <td>[% L.input_tag('filter.order.customer.name:substr::ilike', filter.order.customer.name_substr__ilike, class='wi-mediumsmall') %]</td>
58
      </tr>
59
      <tr>
60
        <th>[% 'Customer Number' | $T8 %]</th>
61
        <td>[% L.input_tag('filter.order.customer.customernumber:substr::ilike', filter.order.customer.customernumber_substr__ilike, class='wi-mediumsmall') %]</td>
62
      </tr>
63
      <tr>
64
        <th>[% 'Customer type' | $T8 %]</th>
65
        <td>[% L.select_tag('filter.order.customer.business_id', SELF.all_businesses,
66
             default    => filter.order.customer.business_id,
67
             title_key  => 'description',
68
             value_key  => 'id',
69
             with_empty => 1,
70
             class      => 'wi-mediumsmall') %]
71
        </td>
72
      </tr>
73
    [% ELSE %]
74
      <tr>
75
        <th>[% 'Vendor' | $T8 %]</th>
76
        <td>[% L.input_tag('filter.order.vendor.name:substr::ilike', filter.order.vendor.name_substr__ilike, class='wi-mediumsmall') %]</td>
77
      </tr>
78
      <tr>
79
        <th>[% 'Vendor Number' | $T8 %]</th>
80
        <td>[% L.input_tag('filter.order.vendor.vendornumber:substr::ilike', filter.order.vendor.vendornumber_substr__ilike, class='wi-mediumsmall') %]</td>
81
      </tr>
82
    [% END %]
83
	</tbody>
84
</table>
85

  
86
<table class="tbl-horizontal">
87
	<caption>[% 'Handling' | $T8 %]</caption>
88
	<colgroup> <col class="wi-small"><col class="wi-normal"> </colgroup>
89
	<tbody>
90
    <tr>
91
      <th>[% 'Delivery Date' | $T8 %] [% 'From Date' | $T8 %]</th>
92
      <td class="wi-date">[% L.date_tag('filter.reqdate:date::ge', filter.reqdate_date__ge) %]</td>
93
    </tr>
94
    <tr>
95
      <th>[% 'Delivery Date' | $T8 %] [% 'To Date' | $T8 %]</th>
96
      <td class="wi-date">[% L.date_tag('filter.reqdate:date::le', filter.reqdate_date__le) %]</td>
97
    </tr>
98
    [% IF SELF.all_departments.size %]
99
      <tr>
100
        <th>[% 'Department' | $T8 %]</th>
101
        <td>[% L.select_tag('filter.order.department_id', SELF.all_departments, default=filter.order.department_id, title_key='description', with_empty=1, class='wi-lightwide') %]</td>
102
      </tr>
103
    [% END %]
104
    <tr>
105
      <th>[% 'Employee' | $T8 %]</th>
106
      <td>[% L.select_tag('filter.order.employee_id', SELF.all_employees,
107
           default    => filter.order.employee_id,
108
           title_key  => 'name',
109
           value_key  => 'id',
110
           with_empty => 1,
111
           class      => 'wi-lightwide') %]
112
      </td>
113
    </tr>
114
	</tbody>
115
</table>
116

  
117
</div><!-- /.wrapper -->
118

  
119
<div class="wrapper">
120
  <table class="tbl-horizontal">
121
    <colgroup> <col class="wi-small"><col class="wi-lightwide"> </colgroup>
122
    <tbody>
123
      <tr>
124
        <th>[% 'Query Type' | $T8 %]</th>
125
        <td>[% L.checkbox_tag('use_linked_items', checked=use_linked_items, value='1', label=LxERP.t8('Use linked items')) %]</td>
126
      </tr>
127
    </tbody>
128
  </table>
129
</div><!-- /.wrapper -->
107 130

  
108 131
[% L.hidden_tag('sort_by', FORM.sort_by) %]
109 132
[% L.hidden_tag('sort_dir', FORM.sort_dir) %]
110 133
[% L.hidden_tag('page', FORM.page) %]
111 134
[% L.hidden_tag('vc', SELF.vc) %]
112 135
[% L.hidden_tag('mode', SELF.mode) %]
113
[% L.button_tag('$("#filter_form").resetForm()', LxERP.t8('Reset')) %]
136
<div class="buttons">
137
  [% L.button_tag('$("#filter_form").resetForm()', LxERP.t8('Reset'), class='neutral') %]
114 138
</div>
115 139

  
140
[% END # /BLOCK filter_toggle_panel %]
141

  
142
[% INCLUDE 'common/toggle_panel.html' %]
143

  
144
</div><!-- /.wrapper -->
145

  
116 146
</form>
templates/webpages/delivery_plan/report_bottom.html
1 1
[% USE L %]
2
[%- L.paginate_controls(models=models) %]
2
[% L.paginate_controls(models=models) %]
templates/webpages/delivery_plan/report_top.html
1
[%- USE L %]
2
[%- PROCESS 'delivery_plan/_filter.html' filter=SELF.models.filtered.laundered use_linked_items=SELF.use_linked_items %]
3
 <hr>
1
[% USE L %]
2

  
3
[% PROCESS 'delivery_plan/_filter.html' filter=SELF.models.filtered.laundered use_linked_items=SELF.use_linked_items %]
4

  
templates/webpages/delivery_term/form.html
1 1
[% USE HTML %][% USE T8 %][% USE L %][% USE LxERP %][%- USE P -%]
2 2
<h1>[% FORM.title %]</h1>
3 3

  
4
 <form method="post" action="controller.pl" id="form">
5

  
6
[%- INCLUDE 'common/flash.html' %]
7

  
8
  <table>
9
   <tr>
10
    <td>[%- 'Description' | $T8 %]</td>
11
    <td>
12
     [% P.input_tag("delivery_term.description", SELF.delivery_term.description, size="60", "data-validate"="required", "data-title"=LxERP.t8("Description")) %]
13
    </td>
14
   </tr>
15

  
16
   <tr>
17
    <td>[%- 'Long Description' | $T8 %]</td>
18
    <td>
19
     [% P.input_tag("delivery_term.description_long", SELF.delivery_term.description_long, size="60", "data-validate"="required", "data-title"=LxERP.t8("Long Description")) %]
20
    </td>
21
   </tr>
22

  
23
   [%- FOREACH language = SELF.languages %]
24
    <tr>
25
     <td>[%- HTML.escape(language.description) %] ([%- LxERP.t8('Translation') %])</td>
26
     <td>
27
      <input name="translation_[% language.id %]" value="[%- HTML.escape(SELF.delivery_term.translated_attribute('description_long', language, 1)) %]" size="60">
28
     </td>
29
    </tr>
30
   [%- END %]
31
  </table>
32

  
33
  [% P.hidden_tag("id", SELF.delivery_term.id) %]
34
 </form>
4
 
5
<div class="wrapper">
6
  <form method="post" action="controller.pl" id="form">
7
    [%- INCLUDE 'common/flash.html' %] 
8
    <table class="tbl-horizontal">
9
      <tr>
10
        <th> [%- 'Description' | $T8 %] </th>
11
        <td> [% P.input_tag("delivery_term.description", SELF.delivery_term.description, size="60", "data-validate"="required", "data-title"=LxERP.t8("Description")) %] </td>
12
      </tr>
13
      <tr>
14
        <th> [%- 'Long Description' | $T8 %] </th>
15
        <td> [% P.input_tag("delivery_term.description_long", SELF.delivery_term.description_long, size="60", "data-validate"="required", "data-title"=LxERP.t8("Long Description")) %] </td>
16
      </tr>
17
      [%- FOREACH language = SELF.languages %] 
18
      <tr>
19
        <th> [%- HTML.escape(language.description) %] ([%- LxERP.t8('Translation') %]) </th>
20
        <td> 
21
          <input type="text" name="translation_[% language.id %]" value="[%- HTML.escape(SELF.delivery_term.translated_attribute('description_long', language, 1)) %]" size="60"> </td>
22
      </tr>
23
      [%- END %] 
24
    </table>
25
    [% P.hidden_tag("id", SELF.delivery_term.id) %] 
26
  </form>
27
</div>
templates/webpages/delivery_term/list.html
1
[% USE HTML %][% USE T8 %][% USE L %][% USE LxERP %]
1
[% USE HTML %]
2
[% USE T8 %]
3
[% USE L %]
4
[% USE LxERP %]
2 5
<h1>[% FORM.title %]</h1>
3 6

  
4 7
[%- INCLUDE 'common/flash.html' %]
5 8

  
6
 <form method="post" action="controller.pl" id="form">
7
  [% IF !DELIVERY_TERMS.size %]
8
   <p>
9
    [%- 'No delivery term has been created yet.' | $T8 %]
10
   </p>
9
<form method="post" action="controller.pl" id="form">
10
<div class="wrapper">
11 11

  
12
  [%- ELSE %]
13
   <table id="delivery_term_list">
12
  [% IF !DELIVERY_TERMS.size %] 
13
  <p>
14
    [%- 'No delivery term has been created yet.' | $T8 %] 
15
  </p>
16
  [%- ELSE %] 
17
  <table id="delivery_term_list" class="tbl-list wi-moderate">
14 18
    <thead>
15
    <tr class="listheading">
16
     <th align="center"><img src="image/updown.png" alt="[%- LxERP.t8('reorder item') %]"></th>
17
     <th>[%- 'Description' | $T8 %]</th>
18
     <th>[%- 'Long Description' | $T8 %]</th>
19
    </tr>
19
      <tr>
20
        <th class="center"> <img src="image/updown.png" alt="[%- LxERP.t8('reorder item') %]"> </th>
21
        <th> [%- 'Description' | $T8 %] </th>
22
        <th> [%- 'Long Description' | $T8 %] </th>
23
      </tr>
20 24
    </thead>
21

  
22 25
    <tbody>
23
    [%- FOREACH delivery_term = DELIVERY_TERMS %]
24
    <tr class="listrow[% loop.count % 2 %]" id="delivery_term_id_[% delivery_term.id %]">
25
     <td align="center" class="dragdrop"><img src="image/updown.png" alt="[%- LxERP.t8('reorder item') %]"></td>
26
     <td>
27
      <a href="[% SELF.url_for(action => 'edit', id => delivery_term.id) %]">
28
       [%- HTML.escape(delivery_term.description) %]
29
      </a>
30
     </td>
31
     <td>[%- HTML.escape(delivery_term.description_long) %]</td>
32
    </tr>
33
    [%- END %]
26
      [%- FOREACH delivery_term = DELIVERY_TERMS %] 
27
      <tr id="delivery_term_id_[% delivery_term.id %]">
28
        <td class="center" class="dragdrop"> <img src="image/updown.png" alt="[%- LxERP.t8('reorder item') %]"> </td>
29
        <td> <a href="[% SELF.url_for(action => 'edit', id => delivery_term.id) %]"> [%- HTML.escape(delivery_term.description) %] </a> </td>
30
        <td> [%- HTML.escape(delivery_term.description_long) %] </td>
31
      </tr>
32
      [%- END %] 
34 33
    </tbody>
35
   </table>
36
  [%- END %]
37
 </form>
34
  </table>
35
  [%- END %] 
36
</div>
37
</form>
38 38

  
39
 [% L.sortable_element('#delivery_term_list tbody', url => 'controller.pl?action=DeliveryTerm/reorder', with => 'delivery_term_id') %]
39
[% L.sortable_element('#delivery_term_list tbody', url => 'controller.pl?action=DeliveryTerm/reorder', with => 'delivery_term_id') %]
templates/webpages/delivery_value_report/_filter.html
1
[%- USE T8 %]
2
[%- USE L %]
3
[%- USE LxERP %]
4
[%- USE HTML %]
5
<form action='controller.pl' method='post' id='filter_form'>
6
<div class='filter_toggle'>
7
<a href='#' onClick='javascript:$(".filter_toggle").toggle()'>[% 'Show Filter' | $T8 %]</a>
8
  [% SELF.filter_summary | html %]
9
</div>
10
<div class='filter_toggle' style='display:none'>
11
<a href='#' onClick='javascript:$(".filter_toggle").toggle()'>[% 'Hide Filter' | $T8 %]</a>
12
 <table id='filter_table'>
13
  <tr>
14
   <th align="right">[% 'Number' | $T8 %]</th>
15
   <td>[% L.input_tag('filter.order.ordnumber:substr::ilike', filter.order.ordnumber_substr__ilike, size = 20) %]</td>
16
  </tr>
17
  <tr>
18
   <th align="right">[% 'Document Project Number' | $T8 %]</th>
19
   <td>[% L.input_tag('filter.order.globalproject.projectnumber:substr::ilike', filter.order.globalproject.projectnumber_substr__ilike, size = 20) %]</td>
20
  </tr>
21
  <tr>
22
   <th align="right">[% 'Part Number' | $T8 %]</th>
23
   <td>[% L.input_tag('filter.part.partnumber:substr::ilike', filter.part.partnumber_substr__ilike, size = 20) %]</td>
24
  </tr>
25
  <tr>
26
   <th align="right">[% 'Part Description' | $T8 %]</th>
27
   <td>[% L.input_tag('filter.description:substr::ilike', filter.description_substr__ilike, size = 20) %]</td>
28
  </tr>
29
  <tr>
30
   <th align="right">[% 'Delivery Date' | $T8 %] [% 'From Date' | $T8 %]</th>
31
   <td>[% L.date_tag('filter.reqdate:date::ge', filter.reqdate_date__ge) %]</td>
32
  </tr>
33
  <tr>
34
   <th align="right">[% 'Delivery Date' | $T8 %] [% 'To Date' | $T8 %]</th>
35
   <td>[% L.date_tag('filter.reqdate:date::le', filter.reqdate_date__le) %]</td>
36
  </tr>
37
  <tr>
38
   <th align="right">[% 'Quantity' | $T8 %]</th>
39
   <td>[% L.input_tag('filter.qty:number', filter.qty_number, size = 20) %]</td>
40
  </tr>
41
[% IF SELF.vc == 'customer' %]
1
[% USE T8 %]
2
[% USE L %]
3
[% USE LxERP %]
4
[% USE HTML %]
5

  
6
<form action="controller.pl" method="post" id="filter_form">
7
<div class="wrapper">
8

  
9
[% BLOCK filter_toggle_panel %]
10
<table id="filter_table" class="tbl-horizontal">
11
  <caption>[% 'Order' | $T8 %] & [% IF SELF.vc == 'customer' %][% 'Customer' | $T8 %][% ELSE %][% 'Vendor' | $T8 %][% END %]</caption>
12
  <colgroup><col class="wi-small"><col class="wi-normal"></colgroup>
13
  <tbody>
14
    <tr>
15
     <th>[% 'Order Number' | $T8 %]</th>
16
     <td>[% L.input_tag('filter.order.ordnumber:substr::ilike', filter.order.ordnumber_substr__ilike, class='wi-normal') %]</td>
17
    </tr>
42 18
    <tr>
43
     <th align="right">[% 'Customer' | $T8 %]</th>
44
     <td>[% L.input_tag('filter.order.customer.name:substr::ilike', filter.order.customer.name_substr__ilike, size = 20) %]</td>
45
   </tr>
46
   <tr>
47
    <th align="right">[% 'Customer Number' | $T8 %]</th>
48
    <td>[% L.input_tag('filter.order.customer.customernumber:substr::ilike', filter.order.customer.customernumber_substr__ilike, size = 20) %]</td>
49
   </tr>
50
[% ELSE %]  <tr>
51
    <th align="right">[% 'Vendor' | $T8 %]</th>
52
    <td>[% L.input_tag('filter.order.vendor.name:substr::ilike', filter.order.vendor.name_substr__ilike, size = 20) %]</td>
53
   </tr>
54
   <tr>
55
    <th align="right">[% 'Vendor Number' | $T8 %]</th>
56
    <td>[% L.input_tag('filter.order.vendor.vendornumber:substr::ilike', filter.order.vendor.vendornumber_substr__ilike, size = 20) %]</td>
57
   </tr>
58
[% END %]
59
  <tr>
60
   <th align="right">[% 'Customer type' | $T8 %]</th>
61
   <td>
62
     [% L.select_tag('filter.order.customer.business_id', SELF.all_businesses,
63
                     default    => filter.order.customer.business_id,
64
                     title_key  => 'description',
65
                     value_key  => 'id',
66
                     with_empty => 1,
67
                     style      => 'width: 200px') %]
68
   </td>
69
  </tr>
70
  <tr>
71
   <th align="right">[% 'Employee' | $T8 %]</th>
72
   <td>
73
     [% L.select_tag('filter.order.employee_id', SELF.all_employees,
74
                     default    => filter.order.employee_id,
75
                     title_key  => 'name',
76
                     value_key  => 'id',
77
                     with_empty => 1,
78
                     style      => 'width: 200px') %]
79
   </td>
80
  </tr>
81
  <tr>
82
   <th align="right">[% 'Type' | $T8 %]</th>
83
   <td>
84
     [% L.checkbox_tag('filter.part.part_type[]', checked=filter.part.part_type_.part,     value='part',     label=LxERP.t8('Part')) %]
85
     [% L.checkbox_tag('filter.part.part_type[]', checked=filter.part.part_type_.service,  value='service',  label=LxERP.t8('Service')) %]
86
     [% L.checkbox_tag('filter.part.part_type[]', checked=filter.part.part_type_.assembly, value='assembly', label=LxERP.t8('Assembly')) %]
87
     [%- IF INSTANCE_CONF.get_feature_experimental_assortment %]
88
       [% L.checkbox_tag('filter.part.part_type[]', checked=filter.part.part_type_.assortment, value='assortment', label=LxERP.t8('Assortment')) %]
89
     [% END %]
90
   </td>
91
  </tr>
92
 </table>
19
     <th>[% 'Document Project Number' | $T8 %]</th>
20
     <td>[% L.input_tag('filter.order.globalproject.projectnumber:substr::ilike', filter.order.globalproject.projectnumber_substr__ilike, class='wi-normal') %]</td>
21
    </tr>
22
    [% IF SELF.vc == 'customer' %]
23
      <tr>
24
        <th>[% 'Customer' | $T8 %]</th>
25
        <td>[% L.input_tag('filter.order.customer.name:substr::ilike', filter.order.customer.name_substr__ilike, class='wi-normal') %]</td>
26
     </tr>
27
      <tr>
28
        <th>[% 'Customer Number' | $T8 %]</th>
29
        <td>[% L.input_tag('filter.order.customer.customernumber:substr::ilike', filter.order.customer.customernumber_substr__ilike, class='wi-normal') %]</td>
30
      </tr>
31
    [% ELSE %]
32
      <tr>
33
        <th>[% 'Vendor' | $T8 %]</th>
34
        <td>[% L.input_tag('filter.order.vendor.name:substr::ilike', filter.order.vendor.name_substr__ilike, class='wi-normal') %]</td>
35
       </tr>
36
      <tr>
37
        <th>[% 'Vendor Number' | $T8 %]</th>
38
        <td>[% L.input_tag('filter.order.vendor.vendornumber:substr::ilike', filter.order.vendor.vendornumber_substr__ilike, class='wi-normal') %]</td>
39
      </tr>
40
    [% END %]
41
    <tr>
42
     <th>[% 'Customer type' | $T8 %]</th>
43
     <td>
44
       [% L.select_tag('filter.order.customer.business_id', SELF.all_businesses,
45
                       default    => filter.order.customer.business_id,
46
                       title_key  => 'description',
47
                       value_key  => 'id',
48
                       with_empty => 1,
49
                       class      => 'wi-normal') %]
50
     </td>
51
    </tr>
52
  </tbody>
53
</table>
93 54

  
94
[% L.hidden_tag('sort_by', FORM.sort_by) %]
95
[% L.hidden_tag('sort_dir', FORM.sort_dir) %]
96
[% L.hidden_tag('page', FORM.page) %]
97
[% L.hidden_tag('vc', SELF.vc) %]
98
[% L.button_tag('$("#filter_form").resetForm()', LxERP.t8('Reset')) %]
55
<table class="tbl-horizontal">
56
	<caption>[% 'Article' | $T8 %]</caption>
57
	<colgroup> <col class="wi-small"><col class="wi-normal"> </colgroup>
58
	<tbody>
59
    <tr>
60
      <th>[% 'Part Number' | $T8 %]</th>
61
      <td>[% L.input_tag('filter.part.partnumber:substr::ilike', filter.part.partnumber_substr__ilike, class='wi-normal') %]</td>
62
    </tr>
63
    <tr>
64
      <th>[% 'Part Description' | $T8 %]</th>
65
      <td>[% L.input_tag('filter.description:substr::ilike', filter.description_substr__ilike, class='wi-normal') %]</td>
66
    </tr>
67
    <tr>
68
      <th>[% 'Quantity' | $T8 %]</th>
69
      <td>[% L.input_tag('filter.qty:number', filter.qty_number, class='wi-normal') %]</td>
70
    </tr>
71
    <tr>
72
      <th>[% 'Type' | $T8 %]</th>
73
      <td>
74
       [% L.checkbox_tag('filter.part.part_type[]', checked=filter.part.part_type_.part,     value='part',     label=LxERP.t8('Part')) %]
75
       [% L.checkbox_tag('filter.part.part_type[]', checked=filter.part.part_type_.service,  value='service',  label=LxERP.t8('Service')) %]
76
       [% L.checkbox_tag('filter.part.part_type[]', checked=filter.part.part_type_.assembly, value='assembly', label=LxERP.t8('Assembly')) %]
77
       [% IF INSTANCE_CONF.get_feature_experimental_assortment %]
78
         [% L.checkbox_tag('filter.part.part_type[]', checked=filter.part.part_type_.assortment, value='assortment', label=LxERP.t8('Assortment')) %]
79
       [% END %]
80
     </td>
81
    </tr>
82
	</tbody>
83
</table>
84

  
85
<table class="tbl-horizontal">
86
	<caption>[% 'Handling & Dates' | $T8 %]</caption>
87
	<colgroup> <col class="wi-small"><col class="wi-lightwide"> </colgroup>
88
	<tbody>
89
    <tr>
90
      <th>[% 'Delivery Date' | $T8 %] [% 'From Date' | $T8 %]</th>
91
      <td class="wi-date">[% L.date_tag('filter.reqdate:date::ge', filter.reqdate_date__ge) %]</td>
92
    </tr>
93
    <tr>
94
       <th>[% 'Delivery Date' | $T8 %] [% 'To Date' | $T8 %]</th>
95
       <td class="wi-date">[% L.date_tag('filter.reqdate:date::le', filter.reqdate_date__le) %]</td>
96
    </tr>
97
    <tr>
98
       <th>[% 'Employee' | $T8 %]</th>
99
       <td>
100
       [% L.select_tag('filter.order.employee_id', SELF.all_employees,
101
                       default    => filter.order.employee_id,
102
                       title_key  => 'name',
103
                       value_key  => 'id',
104
                       with_empty => 1,
105
                       class      => 'wi-lightwide') %]
106
     </td>
107
    </tr>
108
	</tbody>
109
</table>
110

  
111
<div class="buttons">
112
  [% L.hidden_tag('sort_by', FORM.sort_by) %]
113
  [% L.hidden_tag('sort_dir', FORM.sort_dir) %]
114
  [% L.hidden_tag('page', FORM.page) %]
115
  [% L.hidden_tag('vc', SELF.vc) %]
116
  [% L.button_tag('$("#filter_form").resetForm()', LxERP.t8('Reset'), class='neutral') %]
99 117
</div>
118
[% END # /BLOCK filter_toggle_panel %]
119

  
120
[% INCLUDE 'common/toggle_panel.html' %]
100 121

  
122
</div><!-- /.wrapper -->
101 123
</form>
templates/webpages/delivery_value_report/report_bottom.html
1 1
[% USE L %]
2
[%- L.paginate_controls(models=models) %]
2
[% L.paginate_controls(models=models) %]
templates/webpages/delivery_value_report/report_top.html
1
[%- USE L %]
2
[%- PROCESS 'delivery_value_report/_filter.html' filter=SELF.models.filtered.laundered %]
3
 <hr>
1
[% USE L %]
2
[% PROCESS 'delivery_value_report/_filter.html' filter=SELF.models.filtered.laundered %]
templates/webpages/drafts/form.html
1
[%- USE T8 %]
2
[%- USE L %]
3
[%- USE LxERP %]
4
[%- USE HTML %]
1
[% USE T8 %]
2
[% USE L %]
3
[% USE LxERP %]
4
[% USE HTML %]
5 5

  
6 6
[% INCLUDE 'common/flash.html' %]
7 7

  
8
[%- IF FORM.id %]
8
[% IF FORM.id %]
9 9
<h3>[% 'Update this draft.' | $T8 %]</h3>
10
[%- ELSE %]
10
[% ELSE %]
11 11
<h3>[% 'Save as a new draft.' | $T8 %]</h3>
12
[%- END %]
12
[% END %]
13 13

  
14 14
[% L.hidden_tag('', FORM.id, id='new_draft_id') %]
15 15
[% 'Description' | $T8 %]: [% L.input_tag('new_draft_description', FORM.description) %]
16 16
[% L.button_tag('kivi.Draft.save("' _ HTML.escape(SELF.module) _ '", "' _ HTML.escape(SELF.submodule) _ '")', LxERP.t8('Save draft')) %]
17 17

  
18
[%- IF drafts_list.size %]
18
[% IF drafts_list.size %]
19 19
<h3>[% 'Load an existing draft' | $T8 %]</h3>
20 20

  
21 21
<p>[% 'Warning! Loading a draft will discard unsaved data!' | $T8 %]</p>
22 22

  
23 23
<table>
24
 <tr class="listheading">
24
 <tr>
25 25
  <th>[% 'Date' | $T8 %]</th>
26 26
  <th>[% 'Description' | $T8 %]</th>
27 27
 </tr>
......
30 30
 <tr class="listrow">
31 31
  <td>[% row.date | html %]</td>
32 32
  <td>
33
  [%- IF row.id == FORM.id %]
33
  [% IF row.id == FORM.id %]
34 34
   <b>[% row.description | html %]</b>
35
  [%- ELSE %]
35
  [% ELSE %]
36 36
   [% L.link(SELF.url_for(action='load',id=row.id), row.description) %]
37
  [%- END %]
37
  [% END %]
38 38
  </td>
39 39
  <td>[% L.html_tag('span', LxERP.t8('Delete'), class='cursor-pointer interact', onclick="kivi.Draft.delete('" _ row.id _ "')") %]</a></td>
40 40
 </tr>
41 41
[% END %]
42 42
</table>
43
[%- END %]
43
[% END %]
templates/webpages/dunning/add.html
1
[%- USE T8 %]
2
[% USE HTML %]<script type="text/javascript" src="js/common.js"></script>
1
[% USE T8 %]
2
[% USE HTML %]
3

  
4
<script type="text/javascript" src="js/common.js"></script>
5

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

  
5
 <form method="post" name="search" action="dn.pl" id="form">
6

  
7
  <table>
8
   <tr>
9
    <th align="right">[% 'Customer' | $T8 %]</th>
10
    <td colspan="3">
11
      <input name="customer" size="35" class="initial_focus">
12
    </td>
13
   </tr>
14

  
15
   [% IF SHOW_DUNNING_LEVEL_SELECTION %]
16
    <tr>
17
     <th align="right">[% 'Next Dunning Level' | $T8 %]</th>
18
     <td colspan="3">
19
      <select name="dunning_level">
20
       <option></option>
21
       [% FOREACH row = DUNNING %]<option value="[% HTML.escape(row.id) %]">[% HTML.escape(row.dunning_description) %]</option>[% END %]
22
      </select>
23
     </td>
24
    </tr>
25
   [% END %]
26

  
27
   <tr>
28
    <th align="right" nowrap>[% 'Invoice Number' | $T8 %]</th>
29
    <td colspan="3"><input name="invnumber" size="20"></td>
30
   </tr>
31

  
32
   <tr>
33
    <th align="right" nowrap>[% 'Order Number' | $T8 %]</th>
34
    <td colspan="3"><input name="ordnumber" size="20"></td>
35
   </tr>
36

  
37
   <tr>
38
    <th align="right" nowrap>[% 'Notes' | $T8 %]</th>
39
    <td colspan="3"><input name="notes" size="40"></td>
40
   </tr>
41
   <tr>
42
    <th align="right" nowrap>[% 'Country' | $T8 %]</th>
43
    <td colspan="3"><input name="country" size="40"></td>
44
   </tr>
45

  
46
   <tr><td colspan="2"><hr size="3" noshade></td></tr>
47

  
48
   <tr>
49
    <th align="right" nowrap>[% 'Minimum Amount' | $T8 %]</th>
50
    <td><input name="minamount" size="6"></td>
51
   </tr>
52

  
53
   <tr>
54
    <th align="right" nowrap><label for="groupinvoices">[% 'Group Invoices' | $T8 %]</label></th>
55
    <td><input type="checkbox" value="1" id="groupinvoices" name="groupinvoices" checked></td>
56
   </tr>
57

  
58
   <tr>
59
    <th align="right" nowrap><label for="l_include_direct_debit">[% 'Include invoices with direct debit' | $T8 %]</label></th>
60
    <td><input type="checkbox" value="1" id="l_include_direct_debit" name="l_include_direct_debit"></td>
61
   </tr>
62
  </table>
63
 </form>
8
<form method="post" name="search" action="dn.pl" id="form">
9

  
10
<div class="wrapper">
11

  
12
<table class="tbl-horizontal">
13
  <colgroup> <col class="wi-mediumsmall"><col class="wi-lightwide"> </colgroup>
14
  <tbody>
15
    <tr>
16
      <th>[% 'Customer' | $T8 %]</th>
17
      <td><input type="text" name="customer" class="initial_focus wi-lightwide"></td>
18
    </tr>
19
    [% IF SHOW_DUNNING_LEVEL_SELECTION %]
20
    <tr>
21
      <th>[% 'Next Dunning Level' | $T8 %]</th>
22
      <td>
23
        <select name="dunning_level" class="wi-lightwide">
24
          <option></option>
25
          [% FOREACH row = DUNNING %]
26
            <option value="[% HTML.escape(row.id) %]">[% HTML.escape(row.dunning_description) %]</option>
27
          [% END %]
28
        </select>
29
      </td>
30
    </tr>
31
    [% END %]
32
    <tr>
33
      <th>[% 'Invoice Number' | $T8 %]</th>
34
      <td><input type="text" name="invnumber" class="wi-lightwide"></td>
35
    </tr>
36
    <tr>
37
      <th>[% 'Order Number' | $T8 %]</th>
38
      <td><input type="text" name="ordnumber" class="wi-lightwide"></td>
39
    </tr>
40
    <tr>
41
      <th>[% 'Notes' | $T8 %]</th>
42
      <td><input type="text" name="notes" class="wi-lightwide"></td>
43
    </tr>
44
    <tr class="separator below">
45
      <th>[% 'Country' | $T8 %]</th>
46
      <td><input type="text" name="country"  class="wi-lightwide"></td>
47
    </tr>
48
    <tr>
49
      <th>[% 'Minimum Amount' | $T8 %]</th>
50
      <td><input type="text" name="minamount" class="wi-lightwide"></td>
51
    </tr>
52
    <tr>
53
      <th><label for="groupinvoices">[% 'Group Invoices' | $T8 %]</label></th>
54
      <td><input type="checkbox" value="1" id="groupinvoices" name="groupinvoices" checked></td>
55
    </tr>
56
    <tr>
57
      <th><label for="l_include_direct_debit">[% 'Include invoices with direct debit' | $T8 %]</label></th>
58
      <td><input type="checkbox" value="1" id="l_include_direct_debit" name="l_include_direct_debit"></td>
59
    </tr>
60
  </tbody>
61
</table>
62

  
63
</div><!-- /.wrapper -->
64

  
65

  
66
</form>
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>
templates/webpages/dunning/search.html
1
[%- USE T8 %]
2
[%- USE HTML %]
3
[%- USE L %][%- USE P -%]
1
[% USE T8 %]
2
[% USE HTML %]
3
[% USE L %]
4
[% USE P %]
5

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

  
6 8
[% INCLUDE 'common/flash.html' %]
7 9

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

  
10
  <table width="100%">
11
   <tr>
12
    <td>
13
     <table>
14
      <tr>
15
       <th align="right">[% 'Customer' | $T8 %]</th>
16
       <td colspan="3">[% P.input_tag("customer", "", size="35", class="initial_focus") %]</td>
17
      </tr>
12
<div class="wrapper">
18 13

  
19
      [% IF SHOW_DUNNING_LEVELS %]
20
       <tr>
21
        <th align="right" nowrap>[% 'Dunning Level' | $T8 %]</th>
22
        <td colspan="3">
23
         <select name="dunning_level">
14
<table class="tbl-horizontal">
15
  <caption>[% 'Order data' | $T8 %]</caption>
16
  <tbody>
17
    <tr>
18
      <th>[% 'Customer' | $T8 %]</th>
19
      <td>[% P.input_tag("customer", "", class="initial_focus wi-lightwide") %]</td>
20
    </tr>
21
    [% IF SHOW_DUNNING_LEVELS %]
22
    <tr>
23
      <th>[% 'Dunning Level' | $T8 %]</th>
24
      <td>
25
      <select name="dunning_level" class="wi-lightwide">
26
        <option value=""></option>
27
        [% FOREACH row = DUNNING %]
... Dieser Diff wurde abgeschnitten, weil er die maximale Anzahl anzuzeigender Zeilen überschreitet.

Auch abrufbar als: Unified diff