Einkaufs-Lieferplan
[kivitendo-erp.git] / templates / webpages / requirement_spec / _form.html
index 5512294..20bf7a1 100644 (file)
    <td>[% L.input_tag("requirement_spec.title", SELF.requirement_spec.title, id=id_prefix _ '_title') %]</td>
   </tr>
 
-[%- UNLESS SELF.requirement_spec.is_template %]
-
   <tr>
    <td>[% LxERP.t8("Requirement Spec Type") %]</td>
    <td>[% L.select_tag("requirement_spec.type_id",  SELF.types, default=SELF.requirement_spec.type_id, title_key="description", id=id_prefix _ '_type_id') %]</td>
   </tr>
 
+[%- UNLESS SELF.requirement_spec.is_template %]
+
   <tr>
    <td>[% LxERP.t8("Requirement Spec Status") %]</td>
    <td>[% L.select_tag("requirement_spec.status_id",  SELF.statuses, default=SELF.requirement_spec.status_id, title_key="description", id=id_prefix _ '_status_id') %]</td>
  [%- L.hidden_tag('copy_source_id', SELF.copy_source.id) %]
 
  <p>
-  [%- LxERP.t8("The new requirement spec will be a copy of '#1' for customer '#2'.", SELF.copy_source.title, SELF.copy_source.customer.name) %]
+  [%- IF SELF.requirement_spec.is_template %]
+   [%- LxERP.t8("The new requirement spec template will be a copy of '#1'.", SELF.copy_source.title) %]
+  [%- ELSE %]
+   [%- LxERP.t8("The new requirement spec will be a copy of '#1' for customer '#2'.", SELF.copy_source.title, SELF.copy_source.customer.name) %]
+  [%- END %]
  </p>
 [%- END %]