Revision 803438b4
Von Hans P. Schlaepfer vor mehr als 4 Jahren hinzugefügt
templates/webpages/ap/search.html | ||
---|---|---|
|
||
<h1>[% title %]</h1>
|
||
|
||
<form method="post" name="search" action="ap.pl" id="form">
|
||
|
||
<table width=100%>
|
||
<tr>
|
||
<td>
|
||
<table>
|
||
<tr>
|
||
<th align=right>[% 'Vendor' | $T8 %]</th>
|
||
<td>[% L.input_tag("vendor", vendor, style=style, class="initial_focus") %]</td>
|
||
</tr>
|
||
<form method="post" name="search" action="ap.pl" id="form">
|
||
|
||
<div class="wrapper">
|
||
|
||
<table class="tbl-horizontal">
|
||
<caption>[% 'Vendor & Order' | $T8 %]</caption>
|
||
<colgroup> <col class="wi-small"><col class="wi-wide"> </colgroup>
|
||
<tbody>
|
||
<tr>
|
||
<th>[% 'Vendor' | $T8 %]</th>
|
||
<td>[% L.input_tag("vendor", vendor, style=style, class="initial_focus wi-normal") %]</td>
|
||
</tr>
|
||
<tr>
|
||
<th>[% 'Contact Person' | $T8 %]</th>
|
||
<td>[% L.input_tag("cp_name", '', class="wi-normal") %]</td>
|
||
</tr>
|
||
<tr>
|
||
<th>[% 'Department' | $T8 %]</th>
|
||
<td>[% L.select_tag('department_id', ALL_DEPARTMENTS, title_key = 'description', with_empty = 1, class="wi-normal") %]</td>
|
||
</tr>
|
||
<tr>
|
||
<th>[% 'Part Description' | $T8 %]</th>
|
||
<td>[% L.input_tag("parts_description", "", class="wi-normal") %]</td>
|
||
</tr>
|
||
<tr>
|
||
<th>[% 'Notes' | $T8 %]</th>
|
||
<td>[% L.input_tag("notes", "", class="wi-normal") %]</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
|
||
<table class="tbl-horizontal">
|
||
<caption>[% 'Dates & Numbers' | $T8 %]</caption>
|
||
<colgroup> <col class="wi-small"><col class="wi-wide"> </colgroup>
|
||
<tbody>
|
||
<tr>
|
||
<th>[% 'Invoice Date' | $T8 %]</th>
|
||
<td><span class="wi-date">[% L.date_tag('transdatefrom') %] [% 'Bis' | $T8 %] [% L.date_tag('transdateto') %] </span></td>
|
||
</tr>
|
||
<tr>
|
||
<th>[% 'Due Date' | $T8 %]</th>
|
||
<td><span class="wi-date">[% L.date_tag('duedatefrom') %] [% 'Bis' | $T8 %] [% L.date_tag('duedateto') %] </span></td>
|
||
</tr>
|
||
<tr>
|
||
<th align="right" nowrap>[% 'Contact Person' | $T8 %]</th>
|
||
<td>[% L.input_tag("cp_name", '', style=style) %]</td>
|
||
<th>[% 'Invoice Number' | $T8 %]</th>
|
||
<td>[% L.input_tag("invnumber", "", class="wi-small") %]</td>
|
||
</tr>
|
||
<tr>
|
||
<th align=right nowrap>[% 'Department' | $T8 %]</th>
|
||
<td>[% L.select_tag('department_id', ALL_DEPARTMENTS, title_key = 'description', with_empty = 1, style=style) %]</td>
|
||
</tr>
|
||
<tr>
|
||
<th align=right nowrap>[% 'Invoice Number' | $T8 %]</th>
|
||
<td>[% L.input_tag("invnumber", "", style=style) %]</td>
|
||
</tr>
|
||
<tr>
|
||
<th align=right nowrap>[% 'Order Number' | $T8 %]</th>
|
||
<td>[% L.input_tag("ordnumber", "", style=style) %]</td>
|
||
</tr>
|
||
<tr>
|
||
<th align=right nowrap>[% 'Notes' | $T8 %]</th>
|
||
<td>[% L.input_tag("notes", "", style=style) %]</td>
|
||
<th align="right">[% 'Part Description' | $T8 %]</th>
|
||
<td>[% L.input_tag("parts_description", "", style=style) %]</td>
|
||
</tr>
|
||
<tr>
|
||
<th align="right">[% 'Project Number' | $T8 %]</th>
|
||
<td>[% P.project.picker("project_id", project_id, style=style) %]</td>
|
||
<th align="right">[% 'Part Number' | $T8 %]</th>
|
||
<td>[% L.input_tag("parts_partnumber", "", style=style) %]</td>
|
||
</tr>
|
||
<tr>
|
||
<th align=right nowrap>[% 'Invoice Date' | $T8 %]</th>
|
||
<td>
|
||
[% L.date_tag('transdatefrom') %]
|
||
[% 'Bis' | $T8 %]
|
||
[% L.date_tag('transdateto') %]
|
||
</td>
|
||
<tr>
|
||
<th>[% 'Order Number' | $T8 %]</th>
|
||
<td>[% L.input_tag("ordnumber", "", class="wi-small") %]</td>
|
||
</tr>
|
||
<tr>
|
||
<th align=right nowrap>[% 'Due Date' | $T8 %]</th>
|
||
<td>
|
||
[% L.date_tag('duedatefrom') %]
|
||
[% 'Bis' | $T8 %]
|
||
[% L.date_tag('duedateto') %]
|
||
</td>
|
||
<tr>
|
||
<th>[% 'Part Number' | $T8 %]</th>
|
||
<td>[% L.input_tag("parts_partnumber", "", class="wi-small") %]</td>
|
||
</tr>
|
||
<input type=hidden name=sort value=transdate>
|
||
</table>
|
||
</td>
|
||
<tr>
|
||
<th>[% 'Project Number' | $T8 %]</th>
|
||
<td>[% P.project.picker("project_id", project_id, class="wi-small") %]</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
|
||
<table class="tbl-horizontal">
|
||
<caption>[% 'Status' | $T8 %]</caption>
|
||
<colgroup> <col class="wi-small"><col class="wi-wide"> </colgroup>
|
||
<tbody>
|
||
<tr>
|
||
<td>
|
||
<table>
|
||
<tr>
|
||
<th align=right nowrap>[% 'Include in Report' | $T8 %]</th>
|
||
<td>
|
||
<table width=100%>
|
||
<tr>
|
||
<td align=right><input name=open class=checkbox type=checkbox value=Y checked></td>
|
||
<td nowrap>[% 'Open' | $T8 %]</td>
|
||
<td align=right><input name=closed class=checkbox type=checkbox value=Y></td>
|
||
<td nowrap>[% 'Closed' | $T8 %]</td>
|
||
</tr>
|
||
<tr>
|
||
<td align=right><input name="l_id" class=checkbox type=checkbox value=Y></td>
|
||
<td nowrap>[% 'ID' | $T8 %]</td>
|
||
<td align=right><input name="l_invnumber" class=checkbox type=checkbox value=Y checked></td>
|
||
<td nowrap>[% 'Invoice Number' | $T8 %]</td>
|
||
<td align=right><input name="l_ordnumber" class=checkbox type=checkbox value=Y></td>
|
||
<td nowrap>[% 'Order Number' | $T8 %]</td>
|
||
</tr>
|
||
<tr>
|
||
<td align=right><input name="l_name" class=checkbox type=checkbox value=Y checked></td>
|
||
<td nowrap>[% 'Vendor' | $T8 %]</td>
|
||
<td align=right><input name="l_transdate" class=checkbox type=checkbox value=Y checked></td>
|
||
<td nowrap>[% 'Invoice Date' | $T8 %]</td>
|
||
<td align=right><input name="l_netamount" class=checkbox type=checkbox value=Y></td>
|
||
<td nowrap>[% 'Amount' | $T8 %]</td>
|
||
</tr>
|
||
<tr>
|
||
<td align=right><input name="l_tax" class=checkbox type=checkbox value=Y></td>
|
||
<td nowrap>[% 'Tax' | $T8 %]</td>
|
||
<td align=right><input name="l_amount" class=checkbox type=checkbox value=Y checked></td>
|
||
<td nowrap>[% 'Total' | $T8 %]</td>
|
||
<td align=right><input name="l_datepaid" class=checkbox type=checkbox value=Y></td>
|
||
<td nowrap>[% 'Date Paid' | $T8 %]</td>
|
||
</tr>
|
||
<tr>
|
||
<td align=right><input name="l_paid" class=checkbox type=checkbox value=Y checked></td>
|
||
<td nowrap>[% 'Paid' | $T8 %]</td>
|
||
<td align=right><input name="l_duedate" class=checkbox type=checkbox value=Y></td>
|
||
<td nowrap>[% 'Due Date' | $T8 %]</td>
|
||
<td align=right><input name="l_due" class=checkbox type=checkbox value=Y></td>
|
||
<td nowrap>[% 'Amount Due' | $T8 %]</td>
|
||
</tr>
|
||
<tr>
|
||
<td align=right><input name="l_notes" class=checkbox type=checkbox value=Y></td>
|
||
<td nowrap>[% 'Notes' | $T8 %]</td>
|
||
<td align=right><input name="l_employee" class=checkbox type=checkbox value=Y></td>
|
||
<td nowrap>[% 'Employee' | $T8 %]</td>
|
||
<td align=right><input name="l_department" class=checkbox type=checkbox value=Y></td>
|
||
<td nowrap>[% 'Department' | $T8 %]</td>
|
||
</tr>
|
||
<tr>
|
||
<td align=right><input name="l_subtotal" class=checkbox type=checkbox value=Y></td>
|
||
<td nowrap>[% 'Subtotal' | $T8 %]</td>
|
||
<td align=right><input name="l_globalprojectnumber" class=checkbox type=checkbox value=Y></td>
|
||
<td nowrap>[% 'Document Project Number' | $T8 %]</td>
|
||
</tr>
|
||
<tr>
|
||
<td align=right><input name="l_taxzone" class=checkbox type=checkbox value=Y></td>
|
||
<td nowrap>[% 'Steuersatz' | $T8 %]</td>
|
||
<td align=right><input name="l_payment_terms" class=checkbox type=checkbox value=Y></td>
|
||
<td nowrap>[% 'Payment Terms' | $T8 %]</td>
|
||
<td align=right><input name="l_charts" class=checkbox type=checkbox value=Y></td>
|
||
<td nowrap>[% 'Chart' | $T8 %]</td>
|
||
<td align=right><input name="l_direct_debit" id="l_direct_debit" class=checkbox type=checkbox value=Y></td>
|
||
<td nowrap>[% 'direct debit' | $T8 %]</td>
|
||
</tr>
|
||
<tr>
|
||
<td colspan=4 align=left><b>[% 'Vendor' | $T8 %] </td>
|
||
</tr>
|
||
<tr>
|
||
<td align=right><input name="l_vendornumber" class=checkbox type=checkbox value=Y></td>
|
||
<td nowrap>[% 'Vendor Number' | $T8 %]</td>
|
||
<td align=right><input name="l_country" class=checkbox type=checkbox value=Y></td>
|
||
<td nowrap>[% 'Country' | $T8 %]</td>
|
||
<td align=right><input name="l_ustid" class=checkbox type=checkbox value=Y></td>
|
||
<td nowrap>[% 'USt-IdNr.' | $T8 %]</td>
|
||
</tr>
|
||
</table>
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
</td>
|
||
<th>[% 'Open' | $T8 %]</th>
|
||
<td><input name="open" id="open" type="checkbox" value="Y" checked></td>
|
||
</tr>
|
||
</table>
|
||
</form>
|
||
<tr>
|
||
<th>[% 'Closed' | $T8 %]</th>
|
||
<td><input name="closed" id="closed" type="checkbox" value="Y"></td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
|
||
<input type="hidden" name="sort" value="transdate">
|
||
|
||
</div><!-- /.wrapper -->
|
||
<div class="form-addition control-panel">
|
||
|
||
<h3>[% 'Include in Report' | $T8 %]</h3>
|
||
|
||
<div class="list col">
|
||
<h4>[% 'Dates' | $T8 %]</h4>
|
||
<div>
|
||
<input name="l_transdate" id="l_transdate" type="checkbox" value="Y" checked><label for="l_transdate">[% 'Invoice Date' | $T8 %]</label>
|
||
</div>
|
||
<div>
|
||
<input name="l_datepaid" id="l_datepaid" type="checkbox" value="Y"><label for="l_datepaid">[% 'Date Paid' | $T8 %]</label>
|
||
</div>
|
||
<div>
|
||
<input name="l_duedate" id="l_duedate" type="checkbox" value="Y"><label for="l_duedate">[% 'Due Date' | $T8 %]</label>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="list col">
|
||
<h4>[% 'ID\'s & Numbers' | $T8 %]</h4>
|
||
<div>
|
||
<input name="l_id" id="l_id" type="checkbox" value="Y"><label for="l_id">[% 'ID' | $T8 %]</label>
|
||
</div>
|
||
<div>
|
||
<input name="l_invnumber" id="l_invnumber" type="checkbox" value="Y" checked><label for="l_invnumber">[% 'Invoice Number' | $T8 %]</label>
|
||
</div>
|
||
<div>
|
||
<input name="l_ordnumber" id="l_ordnumber" type="checkbox" value="Y"><label for="l_ordnumber">[% 'Order Number' | $T8 %]</label>
|
||
</div>
|
||
<div>
|
||
<input name="l_globalprojectnumber" id="l_globalprojectnumber" type="checkbox" value="Y"><label for="l_globalprojectnumber">[% 'Document Project Number' | $T8 %]</label>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="list col">
|
||
<h4>[% 'Amounts' | $T8 %]</h4>
|
||
<div>
|
||
<input name="l_netamount" id="l_netamount" type="checkbox" value="Y"><label for="l_netamount">[% 'Amount' | $T8 %]</label>
|
||
</div>
|
||
<div>
|
||
<input name="l_tax" id="l_tax" type="checkbox" value="Y"><label for="l_tax">[% 'Tax' | $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_amount" id="l_amount" type="checkbox" value="Y" checked><label for="l_amount">[% 'Total' | $T8 %]</label>
|
||
</div>
|
||
<div>
|
||
<input name="l_paid" id="l_paid" type="checkbox" value="Y" checked><label for="l_paid">[% 'Paid' | $T8 %]</label>
|
||
</div>
|
||
<div>
|
||
<input name="l_due" id="l_due" type="checkbox" value="Y"><label for="l_due">[% 'Amount Due' | $T8 %]</label>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="list col">
|
||
<h4>[% 'Handling' | $T8 %]</h4>
|
||
<div>
|
||
<input name="l_employee" id="l_employee" type="checkbox" value="Y"><label for="l_employee">[% 'Employee' | $T8 %]</label>
|
||
</div>
|
||
<div>
|
||
<input name="l_notes" id="l_notes" type="checkbox" value="Y"><label for="l_notes">[% 'Notes' | $T8 %]</label>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="list col">
|
||
<h4>[% 'Order' | $T8 %]</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_charts" id="l_charts" type="checkbox" value="Y"><label for="l_charts">[% 'Chart' | $T8 %]</label>
|
||
</div>
|
||
<div>
|
||
<input name="l_taxzone" id="l_taxzone" type="checkbox" value="Y"><label for="l_taxzone">[% 'Steuersatz' | $T8 %]</label>
|
||
</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_direct_debit" id="l_direct_debit" id="l_direct_debit" type="checkbox" value="Y"><label for="l_direct_debit">[% 'direct debit' | $T8 %]</label>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="list col">
|
||
<h4>[% 'Vendor' | $T8 %]</h4>
|
||
<div>
|
||
<input name="l_name" id="l_name" type="checkbox" value="Y" checked><label for="l_name">[% 'Vendor' | $T8 %]</label>
|
||
</div>
|
||
<div>
|
||
<input name="l_vendornumber" id="l_vendornumber" type="checkbox" value="Y"><label for="l_vendornumber">[% 'Vendor Number' | $T8 %]</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><!-- /.form-addition -->
|
||
|
||
</form>
|
Auch abrufbar als: Unified diff
Neues Design 2019 Standard-Code templates/webpages/ap/search.html