Auftrags-Controller: Einkaufspreis in zweiter Zeile
[kivitendo-erp.git] / templates / webpages / csv_import / form.html
index f42cdd8..3796ced 100644 (file)
@@ -10,9 +10,8 @@
   [% L.hidden_tag('form_sent', '1') %]
   [% L.hidden_tag('action', 'CsvImport/dispatch') %]
   [% L.hidden_tag('profile.type', SELF.profile.type) %]
-  [% L.hidden_tag('csv_import_access', SELF.csv_import_access) %]
 
- [%- IF SELF.csv_import_access %]
+ [%- IF SELF.profile.get('dont_edit_profile') %]
   [% L.hidden_tag('force_profile', 1) %]
   [% L.hidden_tag('profile.id', SELF.profile.id) %]
  [%- ELSE %]
 
   </div>
   <hr>
-[%- END %]
 [%- END %]
   [% L.submit_tag('action_test', LxERP.t8('Test and preview')) %]
+[%- END %]
   [% L.submit_tag('action_import', LxERP.t8('Import'), style='display:none') %]
 
  </form>