Commit 25c1ef63 authored by Frank Bergmann's avatar Frank Bergmann

- added the current project to "select_project" list - reversing

  change from CTP.
parent f9defc3e
...@@ -394,7 +394,7 @@ if {[string equal $invoice_mode "new"]} { ...@@ -394,7 +394,7 @@ if {[string equal $invoice_mode "new"]} {
</td> </td>
</tr> </tr>
<input type=hidden name=item_project_id.$ctr value='$project_id'> <input type=hidden name=item_project_id.$ctr value='$project_id'>
" "
incr ctr incr ctr
} }
} }
...@@ -442,10 +442,9 @@ for {set i 0} {$i < 3} {incr i} { ...@@ -442,10 +442,9 @@ for {set i 0} {$i < 3} {incr i} {
# and causes trouble (adding an additional project to the list of # and causes trouble (adding an additional project to the list of
# related projects). Did this code (own_project_related) make ever # related projects). Did this code (own_project_related) make ever
# sense? # sense?
#
# if {0 != $project_id} { set own_project_related "UNION select :project_id as project_id" }
set own_project_related "" set own_project_related ""
if {0 != $project_id} { set own_project_related "UNION select :project_id as project_id" }
set related_project_sql " set related_project_sql "
select object_id_one as project_id select object_id_one as project_id
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment