Revision 8e77bd29
Von Bernd Bleßmann vor mehr als 6 Jahren hinzugefügt
templates/webpages/order/tabs/basic_data.html | ||
---|---|---|
108 | 108 |
</tr> |
109 | 109 |
[% END %] |
110 | 110 |
|
111 |
[%- IF (SELF.type == "sales_order" || SELF.type == "purchase_order") -%] |
|
111 | 112 |
<tr> |
112 | 113 |
<th width="70%" align="right" nowrap>[% 'Order Number' | $T8 %]</th> |
113 | 114 |
<td>[% L.input_tag('order.ordnumber', SELF.order.ordnumber, size = 11) %]</td> |
114 | 115 |
</tr> |
116 |
[%- END -%] |
|
115 | 117 |
|
118 |
[%- IF (SELF.type == "sales_order" || SELF.type == "sales_quotation") -%] |
|
119 |
[%- SET quo_nr_txt = 'Quotation Number' -%] |
|
120 |
[%- ELSE -%] |
|
121 |
[%- SET quo_nr_txt = 'RFQ Number' -%] |
|
122 |
[%- END -%] |
|
116 | 123 |
<tr> |
117 |
<th width="70%" align="right" nowrap>[% 'Quotation Number' | $T8 %]</th>
|
|
124 |
<th width="70%" align="right" nowrap>[% quo_nr_txt | $T8 %]</th>
|
|
118 | 125 |
<td>[% L.input_tag('order.quonumber', SELF.order.quonumber, size = 11) %]</td> |
119 | 126 |
</tr> |
120 | 127 |
|
128 |
[%- IF (SELF.type == "sales_order" || SELF.type == "purchase_order") -%] |
|
121 | 129 |
<tr> |
122 | 130 |
<th width="70%" align="right" nowrap>[% 'Customer Order Number' | $T8 %]</th> |
123 | 131 |
<td>[% L.input_tag('order.cusordnumber', SELF.order.cusordnumber, size = 11) %]</td> |
124 | 132 |
</tr> |
125 |
|
|
133 |
[%- END -%] |
|
134 |
|
|
135 |
[%- IF (SELF.type == "sales_order" || SELF.type == "purchase_order") -%] |
|
136 |
[%- SET transdate_txt = 'Order Date' -%] |
|
137 |
[%- ELSIF SELF.type == "sales_quotation" -%] |
|
138 |
[%- SET transdate_txt = 'Quotation Date' -%] |
|
139 |
[%- ELSE -%] |
|
140 |
[%- SET transdate_txt = 'RFQ Date' -%] |
|
141 |
[%- END -%] |
|
126 | 142 |
<tr> |
127 |
<th width="70%" align="right" nowrap>[% 'Order Date' | $T8 %]</th>
|
|
143 |
<th width="70%" align="right" nowrap>[% transdate_txt | $T8 %]</th>
|
|
128 | 144 |
<td>[% L.date_tag('order.transdate', SELF.order.transdate) %]</td> |
129 | 145 |
</tr> |
130 | 146 |
|
147 |
[%- IF (SELF.type == "sales_order" || SELF.type == "purchase_order") -%] |
|
148 |
[%- SET reqdate_txt = 'Reqdate' -%] |
|
149 |
[%- ELSIF SELF.type == "sales_quotation" -%] |
|
150 |
[%- SET reqdate_txt = 'Valid until' -%] |
|
151 |
[%- ELSE -%] |
|
152 |
[%- SET reqdate_txt = 'Required by' -%] |
|
153 |
[%- END -%] |
|
131 | 154 |
<tr> |
132 |
<th width="70%" align="right" nowrap>[% 'Reqdate' | $T8 %]</th>
|
|
155 |
<th width="70%" align="right" nowrap>[% reqdate_txt | $T8 %]</th>
|
|
133 | 156 |
<td>[% L.date_tag('order.reqdate', SELF.order.reqdate) %]</td> |
134 | 157 |
</tr> |
135 | 158 |
|
159 |
[%- IF SELF.type == "sales_quotation" -%] |
|
160 |
<tr> |
|
161 |
<th width="70%" align="right" nowrap>[% 'Order probability' | $T8 %]</th> |
|
162 |
<td>[%- L.select_tag('order.order_probability', SELF.order_probabilities, title='title', default=SELF.order.order_probability) %]%</td> |
|
163 |
</tr> |
|
164 |
<tr> |
|
165 |
<th width="70%" align="right" nowrap>[% 'Expected billing date' | $T8 %]</th> |
|
166 |
<td>[%- L.date_tag('order.expected_billing_date', SELF.order.expected_billing_date) %]</td> |
|
167 |
</tr> |
|
168 |
[%- END %] |
|
169 |
|
|
136 | 170 |
<tr> |
137 | 171 |
<th width="70%" align="right" nowrap>[% 'Insert Date' | $T8 %]</th> |
138 | 172 |
<td>[% SELF.order.itime_as_date %]</td> |
Auch abrufbar als: Unified diff
Auftrags-Controller: auch für Angebote/Anfragen