Commit 6a1a038d authored by Frank Bergmann's avatar Frank Bergmann

Merge branch 'master' of https://gitlab.project-open.net/project-open/intranet-timesheet2-invoices

Conflicts:
	tcl/intranet-timesheet2-invoices-procs.tcl
parents abe27e90 102ba265
...@@ -65,10 +65,10 @@ ad_proc im_timesheet_price_component { user_id company_id return_url} { ...@@ -65,10 +65,10 @@ ad_proc im_timesheet_price_component { user_id company_id return_url} {
<table border=0> <table border=0>
<tr><td colspan=$colspan class=rowtitle align=center>[_ intranet-timesheet2-invoices.Price_List]</td></tr> <tr><td colspan=$colspan class=rowtitle align=center>[_ intranet-timesheet2-invoices.Price_List]</td></tr>
<tr class=rowtitle> <tr class=rowtitle>
<td class=rowtitle>[lang::message::lookup "" intranet-timesheet2-invoices.Project "Project"]</td>
<td class=rowtitle>[_ intranet-timesheet2-invoices.UoM]</td> <td class=rowtitle>[_ intranet-timesheet2-invoices.UoM]</td>
<td class=rowtitle>[_ intranet-timesheet2-invoices.Task_Type]</td> <td class=rowtitle>[_ intranet-timesheet2-invoices.Task_Type]</td>
<td class=rowtitle>[_ intranet-timesheet2-invoices.Material]</td> <td class=rowtitle>[_ intranet-timesheet2-invoices.Material]</td>
<td class=rowtitle>[lang::message::lookup "" intranet-timesheet2-invoices.Project "Project"]</td>
<td class=rowtitle>[lang::message::lookup "" intranet-timesheet2-invoices.From "From"]</td> <td class=rowtitle>[lang::message::lookup "" intranet-timesheet2-invoices.From "From"]</td>
<td class=rowtitle>[lang::message::lookup "" intranet-timesheet2-invoices.Through "Through"]</td> <td class=rowtitle>[lang::message::lookup "" intranet-timesheet2-invoices.Through "Through"]</td>
<td class=rowtitle>[_ intranet-timesheet2-invoices.Rate]</td> <td class=rowtitle>[_ intranet-timesheet2-invoices.Rate]</td>
...@@ -84,6 +84,7 @@ ad_proc im_timesheet_price_component { user_id company_id return_url} { ...@@ -84,6 +84,7 @@ ad_proc im_timesheet_price_component { user_id company_id return_url} {
to_char(tp.valid_from, 'YYYY-MM-DD') as valid_from, to_char(tp.valid_from, 'YYYY-MM-DD') as valid_from,
to_char(tp.valid_through, 'YYYY-MM-DD') as valid_through, 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,
p.project_name,
p.project_nr p.project_nr
from from
im_timesheet_prices tp im_timesheet_prices tp
...@@ -113,13 +114,13 @@ ad_proc im_timesheet_price_component { user_id company_id return_url} { ...@@ -113,13 +114,13 @@ ad_proc im_timesheet_price_component { user_id company_id return_url} {
append price_rows_html " append price_rows_html "
<tr $bgcolor([expr {$ctr % 2}]) nobreak> <tr $bgcolor([expr {$ctr % 2}]) nobreak>
<td><a href='$url'>$uom</a></td> <td>$project_name</td>
<td>$uom</td>
<td>$task_type</td> <td>$task_type</td>
<td>$material</td> <td>$material</td>
<td>$project_nr</td>
<td>$valid_from</td> <td>$valid_from</td>
<td>$valid_through</td> <td>$valid_through</td>
<td>[format $price_format $price] $currency</td> <td><a href='$url'>[format $price_format $price] $currency</a></td>
<td><input type=checkbox name=price_id.$price_id id=price_id.$price_id></td> <td><input type=checkbox name=price_id.$price_id id=price_id.$price_id></td>
</tr>" </tr>"
incr ctr incr ctr
......
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