[%- LxERP.t8('Description') %] |
[% L.input_tag("business.description", SELF.business.description, "size", 30) %] |
[%- LxERP.t8('Discount') %] |
[% L.input_tag("business.discount_as_percent", SELF.business.discount_as_percent, "size", 5) %]% |
[%- LxERP.t8('Customernumberinit') %] |
[% L.input_tag("business.customernumberinit", SELF.business.customernumberinit, "size", 10) %] |
[%- IF LXCONFIG.features.vertreter %]
[%- LxERP.t8('Representative') %] |
[% L.checkbox_tag("business.salesman", "value", 1, "checked", SELF.business.salesman) %] |
[%- END %]
[% 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 %]
[%- LxERP.t8('Abort') %]