]> wagnertech.de Git - mfinanz.git/blobdiff - templates/webpages/project/_basic_data.html
Belegvorlagen: Zeilen ohne Betrag beibehalten
[mfinanz.git] / templates / webpages / project / _basic_data.html
index c9dcd1d76566dad43afd3472fe05d263f5fe4156..ab8ebd57ba2f44b7208a1520a58b5d6221984cdf 100644 (file)
 
  <tr>
   <th align="right">[% 'Project Type' | $T8 %]</th>
-  <td>[% L.select_tag('project.project_type_id', SELF.ALL_PROJECT_TYPES, default=SELF.project.project_type_id, title_key='description', style='width: 300px') %]</td>
+  <td>[% L.select_tag('project.project_type_id', SELF.project_types, default=SELF.project.project_type_id, title_key='description', style='width: 300px') %]</td>
  </tr>
 
  <tr>
   <th align="right">[% 'Project Status' | $T8 %]</th>
-  <td>[% L.select_tag('project.project_status_id', SELF.ALL_PROJECT_STATUS, default=SELF.project.project_status_id, title_key='description', style='width: 300px') %]</td>
+  <td>[% L.select_tag('project.project_status_id', SELF.project_statuses, default=SELF.project.project_status_id, title_key='description', style='width: 300px') %]</td>
  </tr>
 
  <tr>
   <th align="right">[% 'Customer' | $T8 %]</th>
-  <td>[% L.select_tag('project.customer_id', ALL_CUSTOMERS, default=SELF.project.customer_id, title_key='name', with_empty=1, style='width: 300px') %]</td>
+<td>[% L.customer_vendor_picker('project.customer_id', SELF.project.customer_id, type='customer', fat_set_item=1, style='width: 300px', default=SELF.project.customer_id)%] [%- IF SELF.project.customer_id %]
+[%- END %]
+</td>
  </tr>
 
  <tr>