OrderController: Stammdaten editieren als Link im neuen Tab anbieten
authorJan Büren <jan@kivitendo.de>
Fri, 28 Jan 2022 11:19:45 +0000 (12:19 +0100)
committerJan Büren <jan@kivitendo.de>
Fri, 28 Jan 2022 11:19:45 +0000 (12:19 +0100)
templates/webpages/order/tabs/basic_data.html

index 490f9ac..4314902 100644 (file)
@@ -17,6 +17,7 @@
             <td>
               [% P.customer_vendor.picker("order.${SELF.cv}" _ '_id', SELF.order.$cv_id, type=SELF.cv, style='width: 300px') %]
               [% P.button_tag("kivi.Order.show_vc_details_dialog()", LxERP.t8("Details (one letter abbreviation)")) %]
+              [% P.link_tag(SELF.url_for(controller='CustomerVendor', action='edit', 'id'=SELF.order.$cv_id, 'db'=SELF.cv), LxERP.t8('Edit'), target="_blank", title=LxERP.t8('Open in new window')) %]
             </td>
           </tr>