Merge branch 'b-3.6.1' of ../kivitendo-erp_20220811
[kivitendo-erp.git] / templates / webpages / business / form.html
diff --git a/templates/webpages/business/form.html b/templates/webpages/business/form.html
deleted file mode 100644 (file)
index 6fa326b..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-[% USE HTML %][% USE L %][% USE LxERP %]
-<h1>[% FORM.title %]</h1>
-
- <form method="post" action="controller.pl">
-
-[%- INCLUDE 'common/flash.html' %]
-
-  <table>
-   <tr>
-    <td>[%- LxERP.t8('Description') %]</td>
-    <td>[% L.input_tag("business.description", SELF.business.description, "size", 30) %]</td>
-   </tr>
-
-   <tr>
-    <td>[%- LxERP.t8('Discount') %]</td>
-    <td>[% L.input_tag("business.discount_as_percent", SELF.business.discount_as_percent, "size", 5) %]%</td>
-   </tr>
-
-   <tr>
-    <td>[%- LxERP.t8('Customernumberinit') %]</td>
-    <td>[% L.input_tag("business.customernumberinit", SELF.business.customernumberinit, "size", 10) %]</td>
-   </tr>
-
-   [%- IF LXCONFIG.features.vertreter %]
-    <tr>
-     <td>[%- LxERP.t8('Representative') %]</td>
-     <td>[% L.checkbox_tag("business.salesman", "value", 1, "checked", SELF.business.salesman) %]</td>
-    </tr>
-   [%- END %]
-  </table>
-
-  <p>
-   [% L.hidden_tag("id", SELF.business.id) %]
-   [% L.hidden_tag("action", "Business/dispatch") %]
-   [% L.submit_tag("action_" _  (SELF.business.id ? "update" : "create"), LxERP.t8('Save')) %]
-   [%- IF SELF.business.id %]
-    [% L.submit_tag("action_destroy", LxERP.t8("Delete"), "confirm", LxERP.t8("Are you sure you want to delete this business?")) %]
-   [%- END %]
-   <a href="[% SELF.url_for(action => 'list') %]">[%- LxERP.t8('Abort') %]</a>
-  </p>
- </form>