2 [%- SET vclabel = vc == 'customer' ? '<translate>Customer</translate>' : '<translate>Vendor</translate>' %]
5 <form method="post" action="oe.pl">
7 <p><div class="listtop">[% HTML.escape(title) %]</div></p>
14 <th align="right">[% HTML.escape(vclabel) %]</th>
16 [%- INCLUDE 'generic/multibox.html'
18 default = vc == 'customer' ? oldcustomer : oldvendor,
19 style = 'width: 250px',
30 [%- IF ALL_DEPARTMENTS.size %]
32 <th align="right" nowrap><translate>Department</translate></th>
34 [%- INCLUDE 'generic/multibox.html'
35 name = 'department_id',
36 style = 'width: 250px',
37 DATA = ALL_DEPARTMENTS,
39 label_key = 'description',
48 <th align="right">[% HTML.escape(ordlabel) %]</th>
49 <td colspan="3"><input name="[% HTML.escape(ordnrname) %]" style="width: 250px"></td>
52 <th align="right"><translate>Employee</translate></th>
54 [%- INCLUDE 'generic/multibox.html'
56 style = 'width: 250px',
59 label_sub = 'employee_labels',
68 <th align="right"><translate>Salesman</translate></th>
70 [%- INCLUDE 'generic/multibox.html'
72 style = 'width: 250px',
75 label_sub = 'salesman_labels',
83 <th align="right"><translate>Transaction description</translate></th>
84 <td colspan="3"><input name="transaction_description" style="width: 250px"></td>
87 <th align="right"><translate>Project Number</translate></th>
89 [%- INCLUDE 'generic/multibox.html'
91 style = "width: 250px",
94 label_key = 'projectnumber',
102 <th align="right"><translate>From</translate></th>
104 <input name="transdatefrom" id="transdatefrom" size="11" title="[% HTML.escape(dateformat) %]" onBlur="check_right_date_format(this)">
105 <input type="button" name="transdatefrom" id="trigger3" value="?">
107 <th align="right"><translate>Bis</translate></th>
109 <input name="transdateto" id="transdateto" size="11" title="[% HTML.escape(dateformat) %]" onBlur="check_right_date_format(this)">
110 <input type="button" name="transdateto" name="transdateto" id="trigger4" value="?">
114 <th align="right"><translate>Include in Report</translate></th>
119 <input type="checkbox" name="open" value="1" id="open" checked>
120 <label for="open"><translate>Open</translate></label>
123 <input type="checkbox" name="closed" value="1" id="closed">
124 <label for="closed"><translate>Closed</translate></label>
127 [%- IF type == 'sales_order' OR type == 'purchase_order' %]
130 <input name="notdelivered" id="notdelivered" class="checkbox" type="checkbox" value="1" checked>
131 <label for="notdelivered"><translate>Not delivered</translate></label>
134 <input name="delivered" id="delivered" class="checkbox" type="checkbox" value="1" checked>
135 <label for="delivered"><translate>Delivered</translate></label>
141 <input name="l_id" id="l_id" class="checkbox" type="checkbox" value="Y">
142 <label for="l_id"><translate>ID</translate></label>
145 <input name="l_[% HTML.escape(ordnrname) %]" id="l_[% HTML.escape(ordnrname) %]" class="checkbox" type="checkbox" value="Y" checked>
146 <label for="l_[% HTML.escape(ordnrname) %]">[% HTML.escape(ordlabel) %]</label>
151 <input name="l_transdate" id="l_transdate" class="checkbox" type="checkbox" value="Y" checked>
152 <label for="l_transdate"><translate>Date</translate></label>
155 <input name="l_reqdate" id="l_reqdate" class="checkbox" type="checkbox" value="Y" checked>
156 <label for="l_reqdate"><translate>Required by</translate></label>
161 <input name="l_name" id="l_name" class="checkbox" type="checkbox" value="Y" checked>
162 <label for="l_name">[% HTML.escape(vclabel) %]
165 <input name="l_employee" id="l_employee" class="checkbox" type="checkbox" value="Y" checked>
166 <label for="l_employee"><translate>Employee</translate></label>
169 <input name="l_shipvia" id="l_shipvia" class="checkbox" type="checkbox" value="Y">
170 <label for="l_shipvia"><translate>Ship via</translate></label>
175 <input name="l_netamount" id="l_netamount" class="checkbox" type="checkbox" value="Y">
176 <label for="l_netamount"><translate>Amount</translate></label>
179 <input name="l_tax" id="l_tax" class="checkbox" type="checkbox" value="Y">
180 <label for="l_tax"><translate>Tax</translate></label>
183 <input name="l_amount" id="l_amount" class="checkbox" type="checkbox" value="Y" checked>
184 <label for="l_amount"><translate>Total</translate></label>
189 <input name="l_marge_total" id="l_marge_total" class="checkbox" type="checkbox" value="Y">
190 <label for="l_marge_total"><translate>Ertrag</translate></label>
193 <input name="l_marge_percent" id="l_marge_percent" class="checkbox" type="checkbox" value="Y">
194 <label for="l_marge_percent"><translate>Ertrag prozentual</translate></label>
199 <input name="l_globalprojectnumber" id="l_globalprojectnumber" class="checkbox" type="checkbox" value="Y">
200 <label for="l_globalprojectnumber"><translate>Project Number</translate></label>
203 <input name="l_transaction_description" id="l_transaction_description" class="checkbox" type="checkbox" value="Y">
204 <label for="l_transaction_description"><translate>Transaction description</translate></label>
209 <input name="l_subtotal" id="l_subtotal" class="checkbox" type="checkbox" value="Y">
210 <label for="l_subtotal"><translate>Subtotal</translate></label>
213 <input name="l_salesman" id="l_salesman" class="checkbox" type="checkbox" value="Y">
214 <label for="l_salesman"><translate>Salesman</translate></label>
217 [%- IF type == 'sales_order' %]
218 <tr><td colspan="3"><hr></td></tr>
228 <script type="text/javascript">
230 Calendar.setup({ inputField : "transdatefrom", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger3" });
231 Calendar.setup({ inputField : "transdateto", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger4" });
236 <input type="hidden" name="nextsub" value="orders">
237 <input type="hidden" name="vc" value="[% HTML.escape(vc) %]">
238 <input type="hidden" name="type" value="[% HTML.escape(type) %]">
239 <input class="submit" type="submit" name="action" value="<translate>Continue</translate>">