mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
Fix missing prices in projectmanager price list widget
This commit is contained in:
parent
a4cad98e4c
commit
85aa7c76e3
@ -46,21 +46,22 @@ class etemplate_widget_projectmanager extends etemplate_widget_transformer
|
|||||||
if ($this->type)
|
if ($this->type)
|
||||||
{
|
{
|
||||||
$pm_widget = new projectmanager_widget();
|
$pm_widget = new projectmanager_widget();
|
||||||
if($this->is_readonly($cname, $form_name))
|
if($this->is_readonly($cname, $form_name))
|
||||||
{
|
{
|
||||||
// Go direct to get full erole list
|
// Go direct to get full erole list
|
||||||
$eroles = new projectmanager_eroles_bo();
|
$eroles = new projectmanager_eroles_bo();
|
||||||
foreach((array)$eroles->search(array(),false,'role_title ASC','','',false,'AND',false,array('pm_id'=>array(0,$eroles->pm_id))) as $erole)
|
foreach((array)$eroles->search(array(),false,'role_title ASC','','',false,'AND',false,array('pm_id'=>array(0,$eroles->pm_id))) as $erole)
|
||||||
{
|
{
|
||||||
self::$request->sel_options[$form_name][$erole['role_id']] = array(
|
self::$request->sel_options[$form_name][$erole['role_id']] = array(
|
||||||
'label' => $erole['role_description'],
|
'label' => $erole['role_description'],
|
||||||
'title' => lang('Element role title').': '.$erole['role_title'].$eroles->get_info($erole['role_id']),
|
'title' => lang('Element role title').': '.$erole['role_title'].$eroles->get_info($erole['role_id']),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$cell = $this->attrs;
|
$cell = $this->attrs;
|
||||||
$cell['type']=$this->type;
|
$cell['type']=$this->type;
|
||||||
$cell['readonly'] = false;
|
$cell['readonly'] = false;
|
||||||
|
$template = self::$request;
|
||||||
$pm_widget->pre_process($form_name, self::get_array(self::$request->content, $form_name),
|
$pm_widget->pre_process($form_name, self::get_array(self::$request->content, $form_name),
|
||||||
$cell,
|
$cell,
|
||||||
$garbage,
|
$garbage,
|
||||||
|
Loading…
Reference in New Issue
Block a user