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
98a0be72
Commit
98a0be72
authored
Feb 06, 2024
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Now showing both material_name and material_nr in pricelist material column
parent
7cdd4b95
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
intranet-timesheet2-invoices-procs.tcl
tcl/intranet-timesheet2-invoices-procs.tcl
+4
-3
No files found.
tcl/intranet-timesheet2-invoices-procs.tcl
View file @
98a0be72
...
...
@@ -83,7 +83,8 @@ ad_proc im_timesheet_price_component { user_id company_id return_url} {
im_category_from_id(tp.task_type_id) as task_type,
to_char(tp.valid_from, 'YYYY-MM-DD') as valid_from,
to_char(tp.valid_through, 'YYYY-MM-DD') as valid_through,
im_material_nr_from_id(tp.material_id) as material,
im_material_nr_from_id(tp.material_id) as material_nr,
im_material_name_from_id(tp.material_id) as material_name,
p.project_name,
p.project_nr
from
...
...
@@ -114,10 +115,10 @@ ad_proc im_timesheet_price_component { user_id company_id return_url} {
append price_rows_html
"
<tr
$bgcolor
(
[
expr
{
$ctr
% 2
}]
) nobreak>
<td>
$project
_name
</td>
<td>
<a href='
[
export_vars -base
"/intranet/projects/view"
{
project_id
}]
' target=_>
$project
_name</a>
</td>
<td>
$uom
</td>
<td>
$task
_type</td>
<td>
$material
</td>
<td>
$material
_name (
$material
_nr)
</td>
<td>
$valid
_from</td>
<td>
$valid
_through</td>
<td><a href='
$url
'>
[
format
$price
_format
$price
]
$currency
</a></td>
...
...
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