Commit 6176d0f1 authored by Frank Bergmann's avatar Frank Bergmann

Now showing references to deleted invoices without link

parent 4ca0ddf4
...@@ -170,14 +170,17 @@ while {[llength $list] > 0 && $cnt < 10} { ...@@ -170,14 +170,17 @@ while {[llength $list] > 0 && $cnt < 10} {
set amount $amount_hash($id) set amount $amount_hash($id)
set type [im_category_from_id $type_hash($id)] set type [im_category_from_id $type_hash($id)]
set status [im_category_from_id $status_hash($id)] set status [im_category_from_id $status_hash($id)]
set link "<a href=$url>$name</a>"
} else { } else {
set name "Unknown #$id" set url ""
set name "Deleted #$id"
set amount "" set amount ""
set type "" set type ""
set status "" set status ""
set link $name
} }
append predecessor_html "<tr> append predecessor_html "<tr>
<td><a href=$url>$name</a></td> <td>$link</td>
<td>$amount</td> <td>$amount</td>
<td>$type</td> <td>$type</td>
<td>$status</td> <td>$status</td>
......
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