Projekt

Allgemein

Profil

Herunterladen (11,5 KB) Statistiken
| Zweig: | Markierung: | Revision:
[% USE T8 %]
[% USE HTML %]
[% USE LxERP %]
[% USE L %]
[% USE P %]

<h1>[% HTML.escape(title) %]</h1>

[% SET vclabel = vc == 'customer' ? LxERP.t8('Customer') : LxERP.t8('Vendor') %]
[% SET vcnumberlabel = vc == 'customer' ? LxERP.t8('Customer Number') : LxERP.t8('Vendor Number') %]
[% SET vctypelabel = vc == 'customer' ? LxERP.t8('Customer type') : LxERP.t8('Vendor type') %]
[% SET vcdefault = 'old' _ vc %]
[% SET style="width: 250px" %]

<form method="post" action="oe.pl" id="form">

<div class="wrapper">

<table class="tbl-horizontal">
<caption>[% HTML.escape(vclabel) %]</caption>
<tbody>
<tr>
<th>[% HTML.escape(vclabel) %]</th>
<td>[% L.input_tag(vc, $vcdefault, class="initial_focus wi-normal") %]</td>
</tr>
<tr>
<th>[% 'Contact Person' | $T8 %]</th>
<td>[% L.input_tag("cp_name", '', class="wi-normal") %]</td>
</tr>
[% UNLESS ALL_BUSINESS_TYPES.size == 0 %]
<tr>
<th>[% vctypelabel %]</th>
<td> [% L.select_tag('business_id', ALL_BUSINESS_TYPES, title_key = 'description', with_empty = 1, class="wi-normal") %]</td>
</tr>
[% END %]
</tbody>
</table>

<table class="tbl-horizontal">
<caption>[% 'Request Quotation' | $T8 %]</caption>
<colgroup> <col class="wi-mediumsmall"><col class="wi-wide"> </colgroup>
<tbody>
<tr>
<th>[% HTML.escape(ordlabel) %]</th>
<td>[% L.input_tag(ordnrname, "", class="wi-lightwide") %]</td>
</tr>
[% IF is_order %]
<tr>
<th>[% LxERP.t8("Customer Order Number") %]</th>
<td>[% L.input_tag("cusordnumber", '', class="wi-lightwide") %]</td>
</tr>
[% END %]
<tr>
<th>[% 'Steuersatz' | $T8 %]</th>
<td>[% L.select_tag('taxzone_id', ALL_TAXZONES, with_empty=1, title_key='description', class="wi-lightwide") %]</td>
</tr>
<tr>
<th>[% 'Shipping Point' | $T8 %]</th>
<td>[% L.input_tag('shippingpoint', '', class="wi-lightwide") %]</td>
</tr>
<tr>
<th>[% 'Transaction description' | $T8 %]</th>
<td>[% L.input_tag("transaction_description", "", class="wi-lightwide") %]</td>
</tr>
<tr>
<th>[% 'Project' | $T8 %]</th>
<td>[% P.project.picker("project_id", '', class="wi-lightwide") %]</td>
</tr>
<tr>
<th>[% IF is_order %][% 'Order Date' | $T8 %][% ELSE %][% 'Quotation Date' | $T8 %][% END %] [% 'From' | $T8 %]</th>
<td>[% L.date_tag('transdatefrom','', class='wi-date') %] [% 'Bis' | $T8 %] [% L.date_tag('transdateto','', class='wi-date') %]</td>
</tr>
<tr>
<th>[% IF is_order %][% 'Delivery Date' | $T8 %][% ELSE %][% 'Valid until' | $T8 %][% END %] [% 'From' | $T8 %]</th>
<td>[% L.date_tag('reqdatefrom','', class='wi-date') %] [% 'Bis' | $T8 %] [% L.date_tag('reqdateto','', class='wi-date') %]</td>
</tr>
[% IF type == 'sales_order' %]
<tr>
<th>[% 'Insert Date' | $T8 %] [% 'From' | $T8 %]</th>
<td>[% L.date_tag('insertdatefrom','', class='wi-date') %] [% 'Bis' | $T8 %] [% L.date_tag('insertdateto','', class='wi-date') %]</td>
</tr>
[% END %]
[% IF type == 'sales_quotation' %]
<tr>
<th>[% 'Expected billing date' | $T8 %] [% 'From' | $T8 %]</th>
<td>[% L.date_tag('expected_billing_date_from', '', class='wi-date') %] [% 'Bis' | $T8 %] [% L.date_tag('expected_billing_date_to', '', class='wi-date') %]</td>
</tr>
<tr>
<th>[% 'Order probability' | $T8 %]</th>
<td>[% L.select_tag('order_probability_op', [[ 'ge', '>=' ], [ 'le', '<=' ]]) %] [% L.select_tag('order_probability_value', ORDER_PROBABILITIES, title='title', with_empty=1) %]</td>
</tr>
[% END %]
[% IF CT_CUSTOM_VARIABLES.size %]
<tr>
<th class="caption" colspan="2">[% 'Custom variables for module' | $T8 %]: [%'Customers and vendors' | $T8 %]</th>
</tr>
[% CT_CUSTOM_VARIABLES_FILTER_CODE %]
[% END %]
</tbody>
</table>


<table class="tbl-horizontal">
<caption>[% 'Article' | $T8 %]</caption>
<tbody>
<tr>
<th>[% 'Part Description' | $T8 %]</th>
<td>[% L.input_tag("parts_description", "", class="wi-normal") %]</td>
</tr>
<tr>
<th>[% 'Part Number' | $T8 %]</th>
<td>[% L.input_tag("parts_partnumber", "", class="wi-normal") %]</td>
</tr>
<tr>
<th class="caption" colspan="2"> [% 'Handling' | $T8 %] </th>
</tr>
<tr>
<th>[% 'Employee' | $T8 %]</th>
<td>[% L.select_tag('employee_id', ALL_EMPLOYEES, title_key='safe_name', with_empty=1, class="wi-normal") %]</td>
</tr>
<tr>
<th>[% 'Salesman' | $T8 %]</th>
<td>[% L.select_tag('salesman_id', ALL_EMPLOYEES, title_key='safe_name', with_empty=1, class="wi-normal") %]</td>
</tr>
[% IF ALL_DEPARTMENTS.size %]
<tr>
<th>[% 'Department' | $T8 %]</th>
<td>[% L.select_tag('department_id', ALL_DEPARTMENTS, default = department_id, title_key = 'description', with_empty = 1, class="wi-normal") %]</td>
</tr>
[% END %]
</tbody>
</table>

<table class="tbl-horizontal">
<caption>[% 'State' | $T8 %]</caption>
<tbody>
<tr>
<th>[% 'Open' | $T8 %]</th>
<td><input type="checkbox" name="open" value="1" id="open" checked></td>
</tr>
<tr>
<th>[% 'Closed' | $T8 %]</th>
<td><input type="checkbox" name="closed" value="1" id="closed"></td>
</tr>
[% IF type == 'sales_order' OR type == 'purchase_order' %]
<tr>
<th>[% 'Not delivered' | $T8 %]</th>
<td><input name="notdelivered" id="notdelivered" type="checkbox" value="1" checked></td>
</tr>
<tr>
<th>[% 'Delivery Order(s) for full qty created' | $T8 %]</th>
<td><input name="delivered" id="delivered" type="checkbox" value="1" checked></td>
</tr>
[% END %] [% IF type == 'sales_order' %]
<tr>
<th>[% 'Periodic invoices active' | $T8 %]</th>
<td>[% L.checkbox_tag("periodic_invoices_active") %]</td>
</tr>
<tr>
<th>[% 'Periodic invoices inactive' | $T8 %]</th>
<td>[% L.checkbox_tag("periodic_invoices_inactive") %]</td>
</tr>
[% END %]
</tbody>
</table>
</div><!-- /.wrapper -->


<div class="wrapper form-addition control-panel">

<h3>[% 'Include in Report' | $T8 %]</h3>

<div class="list col">
<h4>[% 'Numbers & IDs' | $T8 %]</h4>
<div>
<input name="l_[% HTML.escape(ordnrname) %]" id="l_[% HTML.escape(ordnrname) %]" type="checkbox" value="Y" checked>
<label for="l_[% HTML.escape(ordnrname) %]">[% HTML.escape(ordlabel) %]</label>
</div>
<div>
<input name="l_id" id="l_id" type="checkbox" value="Y">
<label for="l_id">[% 'ID' | $T8 %]</label>
</div>
<div>
<input name="l_globalprojectnumber" id="l_globalprojectnumber" type="checkbox" value="Y">
<label for="l_globalprojectnumber">[% 'Project Number' | $T8 %]</label>
</div>
[% IF is_order %]
<div>
<input name="l_cusordnumber" id="l_cusordnumber" type="checkbox" value="Y" checked>
<label for="l_cusordnumber">[% LxERP.t8("Customer Order Number") %]</label>
</div>
[% END %]
</div>
<div class="list col">
<h4> [% 'Handling' | $T8 %] </h4>
<div>
<input name="l_employee" id="l_employee" type="checkbox" value="Y" checked>
<label for="l_employee">[% 'Employee' | $T8 %]</label>
</div>
<div>
<input name="l_salesman" id="l_salesman" type="checkbox" value="Y">
<label for="l_salesman">[% 'Salesman' | $T8 %]</label>
</div></div>

<div class="list col">
<h4>[% 'Amounts' | $T8 %]</h4>
<div>
<input name="l_amount" id="l_amount" type="checkbox" value="Y" checked>
<label for="l_amount">[% 'Total' | $T8 %]</label>
</div>
<div>
<input name="l_marge_total" id="l_marge_total" type="checkbox" value="Y">
<label for="l_marge_total">[% 'Ertrag' | $T8 %]</label>
</div>
<div>
<input name="l_marge_percent" id="l_marge_percent" type="checkbox" value="Y">
<label for="l_marge_percent">[% 'Ertrag prozentual' | $T8 %]</label>
</div>
<div>
<input name="l_netamount" id="l_netamount" type="checkbox" value="Y">
<label for="l_netamount">[% 'Amount' | $T8 %]</label>
</div>
<div>
<input name="l_subtotal" id="l_subtotal" type="checkbox" value="Y">
<label for="l_subtotal">[% 'Subtotal' | $T8 %]</label>
</div>
<div>
<input name="l_remaining_amount" id="l_remaining_amount" type="checkbox" value="Y">
<label for="l_remaining_amount">[% 'Remaining Amount' | $T8 %]</label>
</div>
<div>
<input name="l_remaining_netamount" id="l_remaining_netamount" type="checkbox" value="Y">
<label for="l_remaining_netamount">[% 'Remaining Net Amount' | $T8 %]</label>
</div>
</div>
<div class="list col">
<h4>[% HTML.escape(vclabel) %]</h4>
<div>
<input name="l_name" id="l_name" type="checkbox" value="Y" checked>
<label for="l_name">[% HTML.escape(vclabel) %]</label>
</div>
<div>
<input name="l_vcnumber" id="l_vcnumber" type="checkbox" value="Y">
<label for="l_vcnumber">[% HTML.escape(vcnumberlabel) %]</label>
</div>
<div>
<input name="l_country" id="l_country" type="checkbox" value="Y">
<label for="l_country">[% 'Country' | $T8 %]</label>
</div>
<div>
<input name="l_ustid" id="l_ustid" type="checkbox" value="Y">
<label for="l_ustid">[% 'USt-IdNr.' | $T8 %]</label>
</div>
</div>
<div class="list col">
<h4>[% 'Taxes' | $T8 %]</h4>
<div>
<input name="l_tax" id="l_tax" type="checkbox" value="Y">
<label for="l_tax"> [% 'Tax' | $T8 %] </label>
</div>
<div>
[% L.checkbox_tag('l_taxzone', label => LxERP.t8('Steuersatz')) %]
</div>
<div>
<h4>[% 'Date' | $T8 %]</h4>
</div>
<div>
<input name="l_transdate" id="l_transdate" type="checkbox" value="Y" checked>
<label for="l_transdate"> [% 'Date' | $T8 %] </label>
</div>
<div>
<input name="l_reqdate" id="l_reqdate" type="checkbox" value="Y" checked>
<label for="l_reqdate"> [% IF is_order %][% 'Required by' | $T8 %][% ELSE %][% 'Valid until' | $T8 %][% END %] </label>
</div>
[% IF type == 'sales_order' %]
<div>
<input name="l_insertdate" id="l_insertdate" type="checkbox" value="Y">
<label for="l_insertdate">[% 'Insert Date' | $T8 %]</label>
</div>
[% END %]
</div>
<div class="list col">
<h4>Order info</h4>
<div>
<input name="l_department" id="l_department" type="checkbox" value="Y">
<label for="l_department"> [% 'Department' | $T8 %] </label>
</div>
<div>
<input name="l_shipvia" id="l_shipvia" type="checkbox" value="Y">
<label for="l_shipvia"> [% 'Ship via' | $T8 %] </label>
</div>
<div>
[% L.checkbox_tag('l_shippingpoint', label => LxERP.t8('Shipping Point')) %]
</div>
<div>
<input name="l_payment_terms" id="l_payment_terms" type="checkbox" value="Y">
<label for="l_payment_terms">[% 'Payment Terms' | $T8 %]</label>
</div>
<div>
<input name="l_transaction_description" id="l_transaction_description" type="checkbox" value="Y" [% IF INSTANCE_CONF.get_require_transaction_description_ps %] checked[% END %]>
<label for="l_transaction_description">[% 'Transaction description' | $T8 %]</label>
</div>
[% IF type == 'sales_quotation' %]
<div>
<input name="l_order_probability_expected_billing_date" id="l_order_probability_expected_billing_date" type="checkbox" value="Y">
<label for="l_order_probability_expected_billing_date"> [% 'Order probability &amp; expected billing date' | $T8 %] </label>
</div>
[% END %]
</div>
<div class="list col">
<h4>Custom Variables</h4><!-- PENDENT: Perl-Code anpassen (es werden keine DIVs gesetzt) -->
[% CT_CUSTOM_VARIABLES_INCLUSION_CODE %]
</div>


</div>

<input type="hidden" name="vc" value="[% HTML.escape(vc) %]">
<input type="hidden" name="type" value="[% HTML.escape(type) %]">
<input type="hidden" name="action" value="orders">
</form>
(12-12/12)