Merge branch 'b-3.6.1' of ../kivitendo-erp_20220811
[kivitendo-erp.git] / templates / webpages / cp / form_header.html
index 4b519b8..e460924 100644 (file)
@@ -2,7 +2,7 @@
 [%- USE HTML %]
 [%- USE T8 %]
 [%- USE LxERP %][%- USE P -%]
-<form method=post action=cp.pl>
+<form method="post" action="cp.pl" id="form">
 
 [% SET vc_id = vc _ '_id'
        style = "width: 250px" %]
@@ -25,7 +25,7 @@
         <tr>
           <th align=right>[% is_customer ? LxERP.t8('Customer') : LxERP.t8('Vendor') %]</th>
           <td>
-           [% P.customer_vendor_picker(vc_id, $vc_id, type=vc, class="initial_focus", style=style) %]
+           [% P.customer_vendor.picker(vc_id, $vc_id, type=vc, class="initial_focus", style=style) %]
            [% P.hidden_tag("previous_" _ vc_id, $vc_id) %]
           </td>
         </tr>