Merge branch 'b-3.6.1' of ../kivitendo-erp_20220811
[kivitendo-erp.git] / templates / webpages / business / list.html
diff --git a/templates/webpages/business/list.html b/templates/webpages/business/list.html
deleted file mode 100644 (file)
index f1e5c55..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-[% USE HTML %][% USE L %][% USE LxERP %]
-<h1>[% FORM.title %]</h1>
-
-[%- INCLUDE 'common/flash.html' %]
-
- <form method="post" action="controller.pl">
-  [% IF !BUSINESSS.size %]
-   <p>
-    [%- LxERP.t8('No business has been created yet.') %]
-   </p>
-
-  [%- ELSE %]
-   <table id="business_list" width="100%">
-    <thead>
-    <tr class="listheading">
-     <th width="80%">[%- LxERP.t8('Description') %]</th>
-     <th>[%- LxERP.t8('Discount') %]</th>
-     <th>[%- LxERP.t8('Customernumberinit') %]</th>
-     [%- IF LXCONFIG.features.vertreter %]
-      <th>[%- LxERP.t8('Representative') %]</th>
-     [%- END %]
-    </tr>
-    </thead>
-
-    <tbody>
-    [%- FOREACH business = BUSINESSS %]
-    <tr class="listrow[% loop.count % 2 %]" id="business_id_[% business.id %]">
-     <td>
-      <a href="[% SELF.url_for(action => 'edit', id => business.id) %]">
-       [%- HTML.escape(business.description) %]
-      </a>
-     </td>
-     <td align="right">[% LxERP.format_amount(business.discount * 100) %] %</td>
-     <td align="right">[%- HTML.escape(business.customernumberinit) %]</td>
-     [%- IF LXCONFIG.features.vertreter %]
-      <td>[%- IF business.salesman %][%- LxERP.t8('Yes') %][%- ELSE %][%- LxERP.t8('No') %][%- END %]</td>
-     [%- END %]
-    </tr>
-    [%- END %]
-    </tbody>
-   </table>
-  [%- END %]
-
-  <hr size="3" noshade>
-
-  <p>
-   <a href="[% SELF.url_for(action => 'new') %]">[%- LxERP.t8('Create new business') %]</a>
-  </p>
- </form>