epic-ts
[kivitendo-erp.git] / templates / webpages / bp / search.html
1 [%- USE L %]
2 [%- USE T8 %]
3 [%- USE LxERP %]
4 [%- USE HTML %]
5 <form method=post action=bp.pl>
6
7 <h1>[% 'Print' | $T8 %] [% label.$type.title %]</h1>[% L.hidden_tag('title', LxERP.t8('Print') _ ' ' _ label.$type.title) %]
8
9 <table>
10   <tr>
11     <th align=right>[% 'Customer' | $T8 %]</th>
12     <td colspan=3>
13   [%- IF vc == 'customer' ? all_customer.size : all_vendor.size %]
14       [%- INCLUDE 'generic/multibox.html'
15            name          = vc,
16            DATA          = vc == 'customer' ? all_customer : all_vendor,
17            id_sub        = 'vc_keys',
18            label_sub     = 'vc_keys',
19            select        = vc_select,
20            limit         = vclimit,
21            show_empty    = 1,
22            allow_textbox = 1,
23       -%]
24   [%- ELSE %]
25     [% L.input_tag(vc, '', size=35) %]
26   [%- END %]
27 </td>
28   </tr>
29 [% IF show_accounts %]
30   <tr>
31     <th align=right>[% 'Account' | $T8 %]</th>
32     <td colspan=3>[% L.select_tag('account', accounts, value_title_sub=\account_sub) %]</td>
33   </tr>
34 [% END %]
35 [%- IF label.$type.invnumber %]
36   <tr>
37     <th align=right nowrap>[% 'Invoice Number' | $T8 %]</th>
38     <td colspan=3>[% L.input_tag('invnumber', '', size=20) %]</td>
39   </tr>
40 [%- END %]
41 [%- IF label.$type.ordnumber %]
42   <tr>
43     <th align=right nowrap>[% 'Order Number' | $T8 %]</th>
44     <td colspan=3>[% L.input_tag('ordnumber', '', size=20) %]</td>
45   </tr>
46 [%- END %]
47 [%- IF label.$type.quonumber %]
48   <tr>
49     <th align=right nowrap>[% 'Quotation Number' | $T8 %]</th>
50     <td colspan=3>[% L.input_tag('quonumber', '', size=20) %]</td>
51   </tr>
52 [%- END %]
53 [%- IF label.$type.donumber %]
54   <tr>
55     <th align=right nowrap>[% 'Delivery Order Number' | $T8 %]</th>
56     <td colspan=3>[% L.input_tag('donumber', '', size=20) %]</td>
57   </tr>
58 [%- END %]
59 [%- IF label.$type.chknumber %]
60   <tr>
61     <th align=right nowrap>[% 'Reference' | $T8 %]</th>
62     <td colspan=3>[% L.input_tag('chknumber', '', size=20) %]</td>
63   </tr>
64 [%- END %]
65   <tr>
66     <th align=right nowrap>[% 'From' | $T8 %]</th>
67     <td>[% L.date_tag('transdatefrom') %]</td>
68     <th align=right>[% 'Bis' | $T8 %]</th>
69     <td>[% L.date_tag('transdateto') %]</td>
70   </tr>
71 </table>
72
73 <hr size=3 noshade>
74 <br>
75
76 [% L.hidden_tag('sort', 'transdate') %]
77 [% L.hidden_tag('vc', vc) %]
78 [% L.hidden_tag('type', type) %]
79 [% L.hidden_tag('nextsub', 'list_spool') %]
80
81 [% L.submit_tag('action', LxERP.t8('Continue')) %]
82
83 </form>
84
85