1 [% USE HTML %][% USE L %][% USE LxERP %]
4 <form method="post" action="controller.pl">
5 <div class="listtop">[% FORM.title %]</div>
7 [%- INCLUDE 'common/flash.html' %]
11 <td>[%- LxERP.t8('Description') %]</td>
12 <td>[% L.input_tag("business.description", SELF.business.description, "size", 30) %]</td>
16 <td>[%- LxERP.t8('Discount') %]</td>
17 <td>[% L.input_tag("business.discount_as_percent", SELF.business.discount_as_percent, "size", 5) %]%</td>
21 <td>[%- LxERP.t8('Customernumberinit') %]</td>
22 <td>[% L.input_tag("business.customernumberinit", SELF.business.customernumberinit, "size", 10) %]</td>
25 [%- IF LXCONFIG.features.vertreter %]
27 <td>[%- LxERP.t8('Representative') %]</td>
28 <td>[% L.checkbox_tag("business.salesman", "value", 1, "checked", SELF.business.salesman) %]</td>
34 [% L.hidden_tag("id", SELF.business.id) %]
35 [% L.hidden_tag("action", "Business/dispatch") %]
36 [% L.submit_tag("action_" _ (SELF.business.id ? "update" : "create"), LxERP.t8('Save')) %]
37 [%- IF SELF.business.id %]
38 [% L.submit_tag("action_destroy", LxERP.t8("Delete"), "confirm", LxERP.t8("Are you sure you want to delete this business?")) %]
40 <a href="[% SELF.url_for(action => 'list') %]">[%- LxERP.t8('Abort') %]</a>