- [%- END %]
+ [%- END %][%# IF SELF.profile.id %]
[%- IF SELF.all_profiles.size %]
@@ -36,7 +36,7 @@
[% L.submit_tag('action_destroy', LxERP.t8('Delete profile'), confirm => LxERP.t8('Do you really want to delete this object?')) %]
- [%- END %]
+ [%- END %][%# IF SELF.all_profiles.size %]
[%- LxERP.t8('Save settings as') %]:
@@ -65,7 +65,7 @@
[%- FOREACH p = SELF.worker.profile %]
[%- p.row_ident %]
- [%- END %]
+ [%- END %][%# FOREACH SELF.worker.profile %]
[%- FOREACH p = SELF.worker.profile %]
@@ -82,13 +82,13 @@
[%- HTML.escape(row.name) %]
[%- HTML.escape(row.description) %]
- [%- END %]
+ [%- END %][%# FOREACH SELF.displayable_columns.$ri %]
- [%- END %]
+ [%- END %][%# FOREACH SELF.worker.profile %]
- [%- ELSE %]
+ [%- ELSE %][%# IF SELF.worker.is_multiplexed %]
[%- LxERP.t8('Column name') %]
@@ -100,9 +100,9 @@
[%- HTML.escape(row.name) %]
[%- HTML.escape(row.description) %]
- [%- END %]
+ [%- END %][%# FOREACH SELF.displayable_columns %]
- [%- END %]
+ [%- END %][%# SELF.worker.is_multiplexed %]
[%- IF SELF.type == 'contacts' %]
@@ -150,7 +150,7 @@
[%- LxERP.t8('Amount and net amount are calculated by kivitendo. "verify_amount" and "verify_netamount" can be used for sanity checks.') %]
[%- LxERP.t8('If amounts differ more than "Maximal amount difference" (see settings), this item is marked as invalid.') %]
-[%- END %]
+[%- END %][%# IF SELF.type == ⦠%]
[%- L.submit_tag('action_download_sample', LxERP.t8('Download sample file')) %]
@@ -190,7 +190,7 @@
[% IF SELF.sep_char == entry.first %] [% SET custom_sep_char = '' %] [%- END %]
[% L.radio_button_tag('sep_char', value => entry.first, label => entry.last, checked => SELF.sep_char == entry.first) %]
- [%- END %]
+ [%- END %][%# FOREACH SELF.all_sep_chars %]
[% L.radio_button_tag('sep_char', value => 'custom', checked => custom_sep_char != '') %]
@@ -206,7 +206,7 @@
[% IF SELF.quote_char == entry.first %] [% SET custom_quote_char = '' %] [%- END %]
[% L.radio_button_tag('quote_char', value => entry.first, label => entry.last, checked => SELF.quote_char == entry.first) %]
- [%- END %]
+ [%- END %][%# FOREACH SELF.all_quote_chars %]
[% L.radio_button_tag('quote_char', value => 'custom', checked => custom_quote_char != '') %]
@@ -222,7 +222,7 @@
[% IF SELF.escape_char == entry.first %] [% SET custom_escape_char = '' %] [%- END %]
[% L.radio_button_tag('escape_char', value => entry.first, label => entry.last, checked => SELF.escape_char == entry.first) %]
- [%- END %]
+ [%- END %][%# FOREACH SELF.all_escape_chars %]