Commit 7e6166d7 authored by Frank Bergmann's avatar Frank Bergmann

- removed debugging leftovers

parent 65258751
......@@ -51,7 +51,6 @@ if {![im_permission $user_id add_invoices]} {
# Do we need the cost_center_id for creating a new invoice?
# This is necessary if the invoice_nr depends on the cost_center_id (profit center).
set cost_center_required_p [parameter::get_from_package_key -package_key "intranet-invoices" -parameter "NewInvoiceRequiresCostCenterP" -default 0]
set cost_center_required_p 1
if {$cost_center_required_p && ($cost_center_id == "" || $cost_center_id == 0)} {
ad_returnredirect [export_vars -base "/intranet-invoices/new-cost-center-select" {
{pass_through_variables {cost_type_id customer_id provider_id project_id invoice_currency create_invoice_from_template select_project source_cost_type_id target_cost_type_id start_date end_date}}
......
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