Projekt-Picker für Berichte: auch inaktive und ungültige Projekte zeigen
authorBernd Bleßmann <bernd@kivitendo-premium.de>
Wed, 13 Jan 2021 20:00:59 +0000 (21:00 +0100)
committerBernd Bleßmann <bernd@kivitendo-premium.de>
Fri, 15 Jan 2021 15:33:26 +0000 (16:33 +0100)
templates/webpages/ap/search.html
templates/webpages/ar/search.html
templates/webpages/oe/search.html
templates/webpages/rp/report.html
templates/webpages/vk/search_invoice.html

index 601cbb2..32ad40e 100644 (file)
@@ -37,7 +37,7 @@
      </tr>
      <tr>
       <th align="right">[% 'Project Number' | $T8 %]</th>
-      <td>[% P.project.picker("project_id", project_id, style=style) %]</td>
+      <td>[% P.project.picker("project_id", project_id, active="both", valid="both", style=style) %]</td>
       <th align="right">[% 'Part Number' | $T8 %]</th>
       <td>[% L.input_tag("parts_partnumber", "", style=style) %]</td>
      </tr>
index d7d81a9..4f03f6a 100644 (file)
@@ -56,7 +56,7 @@
      </tr>
      <tr>
       <th align="right">[% 'Project Number' | $T8 %]</th>
-      <td>[% P.project.picker("project_id", project_id, style=style) %]</td>
+      <td>[% P.project.picker("project_id", project_id, active="both", valid="both", style=style) %]</td>
      </tr>
     [% IF ALL_BUSINESS_TYPES.as_list.size > 0 %]
      <tr>
index 3f47442..b24e9dd 100644 (file)
@@ -64,7 +64,7 @@
     </tr>
     <tr>
      <th align="right">[% 'Project' | $T8 %]</th>
-     <td>[% P.project.picker("project_id", '', style=style) %]</td>
+     <td>[% P.project.picker("project_id", '', active="both", valid="both", style=style) %]</td>
      <th align="right">[% 'Part Number' | $T8 %]</th>
      <td>[% L.input_tag("parts_partnumber", "", style=style) %]</td>
     </tr>
index f28684c..6866da5 100644 (file)
 [%- BLOCK projectnumber %]
   <tr>
     <th align=right nowrap>[% 'Project' | $T8 %]</th>
-    <td colspan=3>[% P.project.picker('project_id', '') %]</td>
+    <td colspan=3>[% P.project.picker('project_id', '', active="both", valid="both") %]</td>
   </tr>
 [%- END %]
 
index 9d39515..b81cc79 100644 (file)
@@ -82,7 +82,7 @@
       </td>
 
       <th align="right">[% 'Project Number' | $T8 %]</th>
-      <td>[% P.project.picker("project_id", "", style=style) %]</td>
+      <td>[% P.project.picker("project_id", "", active="both", valid="both", style=style) %]</td>
     </tr>
 
     <tr>