Commit 113bd50a authored by Frank Bergmann's avatar Frank Bergmann

- fixed missing company info query

parent c0b3001e
......@@ -68,6 +68,13 @@ set tasks_where_clause "task_id in ([join $in_clause_list ","])"
# We already know that all tasks are from the same company,
# and we asume that the company_id is set from new-2.tcl.
if { [catch {
db_1row invoices_info_query ""
} err_msg] } {
ad_return_complaint 1 [lang::message::lookup "" intranet-timesheet2-invoices.Company_not_found "We didn't find any information about company\# %company_id%."]
}
# Create the default values for a new invoice.
#
# Calculate the next invoice number by calculating the maximum of
......
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