Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision d25334c6

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

  • ID d25334c6f26a49abac9707a54e5b987bd587d96e
  • Vorgänger e7c11f83
  • Nachfolger 3740d9a0

Aenderungen hpschlaepfer

Unterschiede anzeigen:

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
[% PROCESS 'common/flash.html' %]
7 9

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

  
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>
10
<form method="post" name="search" action="dn.pl" id="form">
18 11

  
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">
12
<div class="wrapper">
13
 
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 %] 
28
          <option value="[% HTML.escape(row.id) %]">[% HTML.escape(row.dunning_description) %]</option>
29
				[% END %] 
30
			</select>
31
			</td>
32
		</tr>
33
		[% END %] 
34
		<tr>
35
			<th>[% 'Invoice Number' | $T8 %]</th>
36
			<td><input type="text" name="invnumber" class="wi-lightwide">
37
			</td>
38
		</tr>
39
		<tr>
40
			<th>[% 'Order Number' | $T8 %]</th>
41
			<td><input type="text" name="ordnumber" class="wi-lightwide">
42
			</td>
43
		</tr>
44
		<tr>
45
			<th>[% 'Notes' | $T8 %]</th>
46
			<td><input type="text" name="notes" class="wi-lightwide">
47
			</td>
48
		</tr>
49
		<tr>
50
			<th>[% 'Invdate from' | $T8 %]</th>
51
			<td><span class="wi-date"> [% L.date_tag('transdatefrom') %] [% 'To (time)' | $T8 %] [% L.date_tag('transdateto') %]</span></td>
52
		</tr>
53
		<tr>
54
			<th>[% 'Dunning Date from' | $T8 %]</th>
55
			<td><span class="wi-date"> [% L.date_tag('dunningfrom') %] [% 'To (time)' | $T8 %] [% L.date_tag('dunningto') %]</span></td>
56
		</tr>
57
		[% IF ALL_DEPARTMENTS.as_list.size %] 
58
		<tr>
59
			<th>[% 'Department' | $T8 %]</th>
60
			<td> 
61
        <select name="department_id" class="wi-lightwide">
24 62
          <option value=""></option>
25
          [% FOREACH row = DUNNING %]<option value="[% HTML.escape(row.id) %]">[% HTML.escape(row.dunning_description) %]</option>
26
          [% END %]
27
         </select>
28
        </td>
29
       </tr>
30
      [% END %]
31

  
32
      [% IF ALL_DEPARTMENTS.as_list.size %]
33
       <tr>
34
        <th align="right" nowrap>[% 'Department' | $T8 %]</th>
35
        <td colspan="3">
36
         <select name="department_id">
37
          <option value=""></option>
38
          [% FOREACH row = ALL_DEPARTMENTS %]<option value="[% HTML.escape(row.id) %]">[% HTML.escape(row.description) %]</option>
39
          [% END %]
40
         </select>
41
        </td>
42
       </tr>
43
      [% END %]
44

  
45
      <tr>
46
       <th align="right" nowrap>[% 'Invoice Number' | $T8 %]</th>
47
       <td colspan="3"><input name="invnumber" size="20"></td>
48
      </tr>
63
          [% FOREACH row = ALL_DEPARTMENTS %] 
64
            <option value="[% HTML.escape(row.id) %]">[% HTML.escape(row.description) %]</option>
65
          [% END %] 
66
        </select>
67
			</td>
68
		</tr>
69
		[% END %] 
70
		<tr>
71
			<th>[% 'Salesman' | $T8 %]</th>
72
			<td>[% L.select_tag('salesman_id', ALL_EMPLOYEES, title_key = 'safe_name', with_empty = 1, class='wi-lightwide') %]</td>
73
		</tr>
74
	</tbody>
75
</table>
49 76

  
50
      <tr>
51
       <th align="right" nowrap>[% 'Order Number' | $T8 %]</th>
52
       <td colspan="3"><input name="ordnumber" size="20"></td>
53
      </tr>
77
<table class="tbl-horizontal col">
78
	<caption>[% 'Options' | $T8 %]</caption>
79
	<tbody>
80
		<tr>
81
			<th>[% 'Show old dunnings' | $T8 %]</th>
82
			<td><input type="checkbox" value="1" name="showold">
83
			</td>
84
		</tr>
85
		<tr>
86
			<th>[% 'Show Salesman' | $T8 %]</th>
87
			<td><input type="checkbox" value="1" name="l_salesman">
88
			</td>
89
		</tr>
90
	</tbody>
91
</table>
54 92

  
55
      <tr>
56
       <th align="right" nowrap>[% 'Notes' | $T8 %]</th>
57
       <td colspan="3"><input name="notes" size="40"></td>
58
      </tr>
93
</div>
59 94

  
60
      <tr>
61
       <th align="right" nowrap>[% 'Invdate from' | $T8 %]</th>
62
       <td>
63
         [% L.date_tag('transdatefrom') %]
64
       </td>
65
       <th align="right" nowrap>[% 'To (time)' | $T8 %]</th>
66
       <td>
67
         [% L.date_tag('transdateto') %]
68
       </td>
69
      </tr>
70 95

  
71
      <tr>
72
       <th align="right" nowrap>[% 'Dunning Date from' | $T8 %]</th>
73
       <td>
74
        [% L.date_tag('dunningfrom') %]
75
       </td>
76
       <th align="right" nowrap>[% 'To (time)' | $T8 %]</th>
77
       <td>
78
        [% L.date_tag('dunningto') %]
79
       </td>
80
      </tr>
81
      <tr>
82
       <th align="right">[% 'Salesman' | $T8 %]</th>
83
       <td>[% L.select_tag('salesman_id', ALL_EMPLOYEES, title_key = 'safe_name', with_empty = 1, style = 'width:250px') %]</td>
84
      </tr>
85
     </table>
86
    </td>
87
   </tr>
88 96

  
89
   <tr><td><hr size="3" noshade></td></tr>
90 97

  
91
   <tr>
92
    <td>
93
     <table>
94
      <tr>
95
       <th align="right" nowrap>[% 'Show old dunnings' | $T8 %]</th>
96
       <td><input type="checkbox" value="1" name="showold"></td>
97
       <th align="right" nowrap>[% 'Show Salesman' | $T8 %]</th>
98
       <td><input type="checkbox" value="1" name="l_salesman"></td>
99
      </tr>
100
     </table>
101
    </td>
102
   </tr>
103
  </table>
104
 </form>
98
</form>

Auch abrufbar als: Unified diff