Commit d1fb7ca8 authored by Frank Bergmann's avatar Frank Bergmann

- Invoice Malte:

  Added logic to add the company_contact_id if not explicitely set
parent f3921d49
......@@ -144,9 +144,9 @@ set contact_ids [db_list contact_ids "
if {[llength $contact_ids] > 0} {
set company_contact_id [lindex $contact_ids 0]
} else {
set company_contact_id $accounting_contact_id
}
if {"" == $company_contact_id} { set company_contact_id $accounting_contact_id }
if {"" == $company_contact_id} { set company_contact_id $primary_contact_id }
db_1row accounting_contact_info "
select
......
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