Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 4de9e26e

Von Hans P. Schlaepfer vor fast 4 Jahren hinzugefügt

  • ID 4de9e26e07b2158d9aae0bc5645e6212c95ebbdf
  • Vorgänger 92d322f5
  • Nachfolger bb4d4dae

Neues Design 2019 Standard-Code templates/webpages/dunning/search.html

Unterschiede anzeigen:

templates/webpages/dunning/search.html
7 7

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

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

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

  
21
      [% IF SHOW_DUNNING_LEVELS %]
22
       <tr>
23
        <th align="right" nowrap>[% 'Dunning Level' | $T8 %]</th>
24
        <td colspan="3">
25
         <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 %]
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">
26 62
          <option value=""></option>
27
          [% FOREACH row = DUNNING %]<option value="[% HTML.escape(row.id) %]">[% HTML.escape(row.dunning_description) %]</option>
63
          [% FOREACH row = ALL_DEPARTMENTS %]
64
            <option value="[% HTML.escape(row.id) %]">[% HTML.escape(row.description) %]</option>
28 65
          [% END %]
29
         </select>
30
        </td>
31
       </tr>
32
      [% 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>
33 76

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

  
47
      <tr>
48
       <th align="right" nowrap>[% 'Invoice Number' | $T8 %]</th>
49
       <td colspan="3"><input name="invnumber" size="20"></td>
50
      </tr>
51

  
52
      <tr>
53
       <th align="right" nowrap>[% 'Order Number' | $T8 %]</th>
54
       <td colspan="3"><input name="ordnumber" size="20"></td>
55
      </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>
56 92

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

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

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

  
91
   <tr><td><hr size="3" noshade></td></tr>
92 97

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

Auch abrufbar als: Unified diff