Revision a20dc211
Von Moritz Bunkus vor etwa 4 Jahren hinzugefügt
templates/webpages/gl/form_header.html | ||
---|---|---|
48 | 48 |
<tr height="5"></tr> |
49 | 49 |
<tr> |
50 | 50 |
<td> |
51 |
<table width=100%>
|
|
51 |
<table> |
|
52 | 52 |
<tr> |
53 | 53 |
<td colspan="6" align="left">[% 'Previous transnumber text' | $T8 %] [% previous_id %] . [% 'Previous transdate text' | $T8 %] [% previous_gldate %]</td> |
54 | 54 |
</tr> |
55 | 55 |
<tr> |
56 |
<th align=right>[% 'Reference' | $T8 %]</th>
|
|
56 |
<th align="right">[% 'Reference' | $T8 %]</th>
|
|
57 | 57 |
<td>[% L.input_tag('reference', reference, size=20, readonly=readonly) %]</td> |
58 |
<td align=left> |
|
59 |
<table> |
|
60 |
<tr> |
|
61 |
<th align=right width=50% nowrap>[% 'Transdate' | $T8 %]</th> |
|
62 |
<td align=left>[% L.date_tag('transdate', transdate, readonly=readonly) %]</td> |
|
63 |
</tr> |
|
64 |
</table> |
|
65 |
</td> |
|
58 |
<th align="right">[% 'Transdate' | $T8 %]</th> |
|
59 |
<td>[% L.date_tag('transdate', transdate, readonly=readonly) %]</td> |
|
66 | 60 |
</tr> |
67 | 61 |
[%- IF id %] |
68 | 62 |
<tr> |
69 |
<th align=right>[% 'ID' | $T8 %]</th>
|
|
63 |
<th align="right">[% 'ID' | $T8 %]</th>
|
|
70 | 64 |
<td>[% L.input_tag('id', id, size=20, readonly=readonly) %]</td> |
71 |
<td align=left> |
|
72 |
<table> |
|
73 |
<tr> |
|
74 |
<th align=right width=50%>[% 'Gldate' | $T8 %]</th> |
|
75 |
[%-# hidden img to keep alignment -%] |
|
76 |
<td align=left>[% L.date_tag('gldate', gldate, readonly=1) %]<img class="ui-datepicker-trigger" src="image/calendar.png" alt="..." title="..." style='visibility:hidden'></td> |
|
77 |
</tr> |
|
78 |
</table> |
|
79 |
</td> |
|
65 |
<th align="right">[% 'Gldate' | $T8 %]</th> |
|
66 |
<td>[% L.date_tag('gldate', gldate, readonly=1) %]<img class="ui-datepicker-trigger" src="image/calendar.png" alt="..." title="..." style='visibility:hidden'></td> |
|
80 | 67 |
</tr> |
81 | 68 |
[%- END %] |
82 | 69 |
|
83 | 70 |
[% SET departments_style = ""; |
84 | 71 |
SET departments_style = "style='visibility:hidden'" IF ALL_DEPARTMENTS.size == 0 %] |
85 | 72 |
<tr> |
86 |
<th [%- departments_style -%]align=right nowrap>[% 'Department' | $T8 %]</th>
|
|
73 |
<th [%- departments_style -%]align="right">[% 'Department' | $T8 %]</th>
|
|
87 | 74 |
<td [%- departments_style -%]>[% L.select_tag('department_id', ALL_DEPARTMENTS, default = department_id, title_key = 'description', with_empty = 1) %]</td> |
88 |
<td align=left> |
|
89 |
<table> |
|
90 |
<tr> |
|
91 |
<th align=right width=50% nowrap>[% 'Delivery Date' | $T8 %]</th> |
|
92 |
<td align=left>[% L.date_tag('deliverydate', deliverydate) %]</td> |
|
93 |
</tr> |
|
94 |
</table> |
|
75 |
<th align=right>[% 'Delivery Date' | $T8 %]</th> |
|
76 |
<td>[% L.date_tag('deliverydate', deliverydate) %]</td> |
|
95 | 77 |
</tr> |
96 |
|
|
97 | 78 |
<tr> |
98 |
<th align=right width=1%>[% 'Description' | $T8 %]</th> |
|
99 |
<td width=1%>[% L.areainput_tag('description', description, cols=50, readonly=readonly) %]</td> |
|
100 |
<td> |
|
101 |
<table> |
|
102 |
<tr> |
|
103 |
<th align=left>[% 'MwSt. inkl.' | $T8 %]</th> |
|
104 |
<td>[% L.checkbox_tag('taxincluded', checked=taxincluded) %]</td> |
|
105 |
</tr> |
|
106 |
</table> |
|
107 |
</td> |
|
79 |
<th align="right">[% 'Description' | $T8 %]</th> |
|
80 |
<td>[% L.areainput_tag('description', description, cols=50, readonly=readonly) %]</td> |
|
81 |
<th align="right">[% 'MwSt. inkl.' | $T8 %]</th> |
|
82 |
<td>[% L.checkbox_tag('taxincluded', checked=taxincluded) %]</td> |
|
83 |
</tr> |
|
108 | 84 |
[%- IF id %] |
109 |
<td align=left> |
|
110 |
<table width=100%> |
|
111 |
<tr> |
|
112 |
<th align=right width=50%>[% 'Mitarbeiter' | $T8 %]</th> |
|
113 |
<td align=left>[% L.input_tag('employee', employee, size=20, readonly=readonly) %]</td> |
|
114 |
</tr> |
|
115 |
</table> |
|
116 |
</td> |
|
117 |
[%- END %] |
|
85 |
<tr> |
|
86 |
<th align="right">[% 'Mitarbeiter' | $T8 %]</th> |
|
87 |
<td>[% L.input_tag('employee', employee, size=20, readonly=readonly) %]</td> |
|
118 | 88 |
</tr> |
89 |
[%- END %] |
|
119 | 90 |
|
120 | 91 |
<tr> |
121 | 92 |
<td colspan=4> |
122 |
<table> |
|
123 |
<tr> |
|
124 |
<td>[% 'OB Transaction' | $T8 %] [% L.checkbox_tag('ob_transaction' checked=ob_transaction) %]</td> |
|
125 |
<td>[% 'CB Transaction' | $T8 %] [% L.checkbox_tag('cb_transaction' checked=cb_transaction) %]</td> |
|
126 |
</tr> |
|
127 |
</table> |
|
93 |
[% 'OB Transaction' | $T8 %] [% L.checkbox_tag('ob_transaction' checked=ob_transaction) %] |
|
94 |
[% 'CB Transaction' | $T8 %] [% L.checkbox_tag('cb_transaction' checked=cb_transaction) %] |
|
128 | 95 |
</td> |
129 | 96 |
</tr> |
130 | 97 |
<tr> |
Auch abrufbar als: Unified diff
Dialogbuchen: HTML-Code vereinfacht