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
180a7835
Commit
180a7835
authored
Nov 19, 2015
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Fixed export_vars brace vs. brackets
parent
ff225b0e
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
intranet-timesheet2-invoices-procs.tcl
tcl/intranet-timesheet2-invoices-procs.tcl
+2
-2
new.tcl
www/invoices/new.tcl
+1
-1
price-action.tcl
www/price-lists/price-action.tcl
+1
-1
upload-prices-2.tcl
www/price-lists/upload-prices-2.tcl
+1
-1
No files found.
tcl/intranet-timesheet2-invoices-procs.tcl
View file @
180a7835
...
...
@@ -134,8 +134,8 @@ order by
</form>
<ul>
<li>
<a href=/intranet-timesheet2-invoices/price-lists/upload-prices?
[
export_
url_vars company_id return_url
]
>
[
_ intranet-timesheet2-invoices.Upload_prices
]
</A>
<a href=/intranet-timesheet2-invoices/price-lists/upload-prices?
[
export_
vars -url
{
company_id return_url
}
]
>
[
_ intranet-timesheet2-invoices.Upload_prices
]
</A>
[
_ intranet-timesheet2-invoices.lt_for_this_company_via_
]
<li>
[
_ intranet-timesheet2-invoices.lt_Check_this_sample_pra
]
...
...
www/invoices/new.tcl
View file @
180a7835
...
...
@@ -117,7 +117,7 @@ set end_idx [expr $start_idx + $how_many - 1]
if
{
!
[
empty_string_p
$project
_id
]
&&
$project
_id != 0
}
{
set invoice_currency
$default
_currency
ad_returnredirect
"/intranet-timesheet2-invoices/invoices/new-2?select_project=
$project
_id&
[
export_
url_vars target_cost_type_id invoice_currency
]
"
ad_returnredirect
"/intranet-timesheet2-invoices/invoices/new-2?select_project=
$project
_id&
[
export_
vars -url
{
target_cost_type_id invoice_currency
}
]
"
set page_body
""
return
}
...
...
www/price-lists/price-action.tcl
View file @
180a7835
...
...
@@ -32,7 +32,7 @@ if {$return_url == ""} {
# "Add New" button pressed?
# => Redirect to new.tcl page
if
{
""
!=
$add
_new
}
{
ad_returnredirect
"new?
[
export_
url_vars company_id return_url
]
"
ad_returnredirect
"new?
[
export_
vars -url
{
company_id return_url
}
]
"
return
}
...
...
www/price-lists/upload-prices-2.tcl
View file @
180a7835
...
...
@@ -38,7 +38,7 @@ if ![regexp {([^//\\]+)$} $upload_file match company_filename] {
if
{[
regexp
{
\.\.
}
$company
_filename
]}
{
set error
"<#_ Filename contains forbidden characters#>"
ad_returnredirect
"/error.tcl?
[
export_
url_vars error
]
"
ad_returnredirect
"/error.tcl?
[
export_
vars -url
{
error
}
]
"
}
if
{
!
[
file
readable
$tmp
_filename
]}
{
...
...
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