Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
intranet-timesheet2-invoices
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
project-open
intranet-timesheet2-invoices
Commits
7d524b39
Commit
7d524b39
authored
Aug 15, 2007
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- small fixes before reinisch meeting
parent
cc853e1d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
new-3.tcl
www/invoices/new-3.tcl
+5
-3
No files found.
www/invoices/new-3.tcl
View file @
7d524b39
...
...
@@ -42,7 +42,8 @@ set org_company_id $company_id
set
number_format
"99990.099"
set
date_format
"YYYY-MM-DD"
set
cost_type_invoice
[
im_cost_type_invoice
]
set
target_cost_type
[
im_category_from_id
$target
_cost_type_id
]
set
target_cost_type_mangle
[
lang::util::suggest_key
$target
_cost_type
]
if
{
""
==
$return
_url
}
{
set
return_url
[
im_url_with_query
]
}
...
...
@@ -134,8 +135,9 @@ set invoice_office_id [db_string company_main_office_info "select main_office_id
# Calculate the next invoice number by calculating the maximum of
# the "reasonably build numbers" currently available
set
button_text
"
[
_ intranet-timesheet2-invoices.Create_Invoice
]
"
set
page_title
"
[
_ intranet-timesheet2-invoices.New_Invoice
]
"
set
button_text
[
lang::message::lookup
""
intranet-timesheet2-invoices.Create_$target_cost_type_mangle
"Create
$target
_cost_type"
]
set
page_title
[
lang::message::lookup
""
intranet-timesheet2-invoices.New_$target_cost_type_mangle
"New
$target
_cost_type"
]
set
context_bar
[
im_context_bar
[
list
/intranet/invoices/
"
[
_ intranet-timesheet2-invoices.Invoices
]
"
]
$page
_title
]
set
invoice_id
[
im_new_object_id
]
set
invoice_nr
[
im_next_invoice_nr -invoice_type_id
$target
_cost_type_id
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment