projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Aufräumskript für Steuerschlüssel 18,19 - Prüfung auf Kontenrahmen
[kivitendo-erp.git]
/
templates
/
webpages
/
ap
/
search.html
diff --git
a/templates/webpages/ap/search.html
b/templates/webpages/ap/search.html
index
ba2c118
..
a676eb8
100644
(file)
--- a/
templates/webpages/ap/search.html
+++ b/
templates/webpages/ap/search.html
@@
-1,8
+1,10
@@
[%- USE T8 %]
[%- USE T8 %]
-[%- USE L %]
+[%- USE L %][%- USE P -%]
+[% SET style="width: 250px" %]
<h1>[% title %]</h1>
<h1>[% title %]</h1>
- <form method=post name="search" action=[% script %]>
+ <form method="post" name="search" action="ap.pl" id="form">
+ [% L.hidden_tag("sort", "transdate") %]
<table width=100%>
<tr>
<table width=100%>
<tr>
@@
-10,79
+12,59
@@
<table>
<tr>
<th align=right>[% 'Vendor' | $T8 %]</th>
<table>
<tr>
<th align=right>[% 'Vendor' | $T8 %]</th>
- <td colspan=3>
- [%- INCLUDE 'generic/multibox.html'
- id = 'vendor',
- name = 'vendor',
- default = oldvendor,
- style = 'width: 250px',
- class = 'initial_focus',
- DATA = ALL_VC,
- id_sub = 'vc_keys',
- label_key = 'name',
- select = vc_select,
- limit = vclimit,
- show_empty = 1,
- allow_textbox = 1,
- -%]
- </td>
+ <td>[% L.input_tag("vendor", vendor, style=style, class="initial_focus") %]</td>
</tr>
<tr>
<th align="right" nowrap>[% 'Contact Person' | $T8 %]</th>
</tr>
<tr>
<th align="right" nowrap>[% 'Contact Person' | $T8 %]</th>
- <td
colspan="3">[% L.input_tag("cp_name", '', size=20
) %]</td>
+ <td
>[% L.input_tag("cp_name", '', style=style
) %]</td>
</tr>
<tr>
<th align=right nowrap>[% 'Department' | $T8 %]</th>
</tr>
<tr>
<th align=right nowrap>[% 'Department' | $T8 %]</th>
- <td>
- [%- INCLUDE 'generic/multibox.html'
- name = 'department',
- style = 'width: 250px',
- DATA = ALL_DEPARTMENTS,
- id_key = 'id',
- label_key = 'description',
- show_empty = 1,
- allow_textbox = 0,
- -%]
- </td>
+ <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>
</tr>
<tr>
<th align=right nowrap>[% 'Invoice Number' | $T8 %]</th>
- <td
colspan=3><input name=invnumber size=20>
</td>
+ <td
>[% L.input_tag("invnumber", "", style=style) %]
</td>
</tr>
<tr>
<th align=right nowrap>[% 'Order Number' | $T8 %]</th>
</tr>
<tr>
<th align=right nowrap>[% 'Order Number' | $T8 %]</th>
- <td colspan=3><input name=ordnumber size=20></td>
+ <td>[% L.input_tag("ordnumber", "", style=style) %]</td>
+ </tr>
+ <tr>
+ <th align="right">[% 'Steuersatz' | $T8 %]</th>
+ <td>[% L.select_tag('taxzone_id', ALL_TAXZONES, with_empty=1, title_key='description', style=style) %]</td>
</tr>
</tr>
+ <tr>
+ <th align="right" nowrap>[% 'Transaction description' | $T8 %]</th>
+ <td>[% L.input_tag("transaction_description", "", style=style) %]</td>
<tr>
<th align=right nowrap>[% 'Notes' | $T8 %]</th>
<tr>
<th align=right nowrap>[% 'Notes' | $T8 %]</th>
- <td colspan=3><input name=notes size=40></td>
+ <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>
</tr>
<tr>
<th align="right">[% 'Project Number' | $T8 %]</th>
- <td colspan="3">
- [%- INCLUDE 'generic/multibox.html'
- name = 'project_id',
- style = "width: 250px",
- DATA = ALL_PROJECTS,
- id_key = 'id',
- label_key = 'projectnumber',
- limit = vclimit,
- show_empty = 1,
- allow_textbox = 0,
- -%]
- </td>
+ <td>[% P.project.picker("project_id", project_id, active="both", valid="both", style=style) %]</td>
+ <th align="right">[% 'Part Number' | $T8 %]</th>
+ <td>[% L.input_tag("parts_partnumber", "", style=style) %]</td>
</tr>
<tr>
</tr>
<tr>
- <th align=right nowrap>[% '
From
' | $T8 %]</th>
+ <th align=right nowrap>[% '
Invoice Date
' | $T8 %]</th>
<td>
[% L.date_tag('transdatefrom') %]
<td>
[% L.date_tag('transdatefrom') %]
- </td>
- <th align=right>[% 'Bis' | $T8 %]</th>
- <td>
- [% L.date_tag('transdateto') %]
+ [% 'Bis' | $T8 %]
+ [% L.date_tag('transdateto') %]
+ </td>
+ </tr>
+ <tr>
+ <th align=right nowrap>[% 'Due Date' | $T8 %]</th>
+ <td>
+ [% L.date_tag('duedatefrom') %]
+ [% 'Bis' | $T8 %]
+ [% L.date_tag('duedateto') %]
</td>
</tr>
</td>
</tr>
- <input type=hidden name=sort value=transdate>
</table>
</td>
</tr>
</table>
</td>
</tr>
@@
-136,12
+118,16
@@
<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 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_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>
+ <td align="right"><input name="l_transaction_description" id="l_transaction_description" class=checkbox type=checkbox value=Y[% IF INSTANCE_CONF.get_require_transaction_description_ps %] checked[% END %]></td>
+ <td nowrap>[% 'Transaction description' | $T8 %]</td>
</tr>
<tr>
<td align=right><input name="l_taxzone" class=checkbox type=checkbox value=Y></td>
</tr>
<tr>
<td align=right><input name="l_taxzone" class=checkbox type=checkbox value=Y></td>
@@
-149,12
+135,18
@@
<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 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>[% '
Buchungskonto
' | $T8 %]</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>
<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 align=right><input name="l_debit_chart" class=checkbox type=checkbox value=Y></td>
+ <td nowrap>[% 'Debit Account' | $T8 %]</td>
+ <td align=right><input name="l_insertdate" class=checkbox type=checkbox value=Y></td>
+ <td nowrap>[% 'Insert Date' | $T8 %]</td>
+ </tr>
<tr>
<tr>
- <td colspan=4 align=left><b>[% 'Vendor' | $T8 %]
</td>
+ <td colspan=4 align=left><b>[% 'Vendor' | $T8 %]
</b>
</td>
</tr>
<tr>
<td align=right><input name="l_vendornumber" class=checkbox type=checkbox value=Y></td>
</tr>
<tr>
<td align=right><input name="l_vendornumber" class=checkbox type=checkbox value=Y></td>
@@
-170,11
+162,5
@@
</table>
</td>
</tr>
</table>
</td>
</tr>
- <tr>
- <td><hr size=3 noshade></td>
- </tr>
</table>
</table>
- <input type=hidden name=nextsub value=[% nextsub %]>
- <br>
- <input class=submit type=submit name=action value="[% 'Continue' | $T8 %]">
</form>
</form>