Works on Milestone module
This commit is contained in:
parent
c753597c02
commit
344a434374
@ -1407,19 +1407,24 @@ if ($id > 0 || ! empty($ref))
|
|||||||
*/
|
*/
|
||||||
print '<table class="noborder" width="100%">';
|
print '<table class="noborder" width="100%">';
|
||||||
|
|
||||||
// Milestone module
|
$lines = $propal->getLinesArray();
|
||||||
if ($conf->milestone->enabled)
|
|
||||||
{
|
|
||||||
$milestone = new Milestone($db);
|
|
||||||
$milestoneListArray = $milestone->getObjectMilestonesArray($propal);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Show lines
|
// Show lines
|
||||||
$lines = $propal->getLinesArray();
|
|
||||||
if (! empty($lines) )
|
if (! empty($lines) )
|
||||||
{
|
{
|
||||||
print_title_list();
|
print_title_list();
|
||||||
print_lines_list($propal, $lines);
|
|
||||||
|
// Milestone module
|
||||||
|
if ($conf->milestone->enabled)
|
||||||
|
{
|
||||||
|
$milestone = new Milestone($db);
|
||||||
|
$milestonesList = $milestone->getObjectMilestones($propal);
|
||||||
|
print_milestone_list($propal, $lines, $milestonesList);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
print_lines_list($propal, $lines);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user