$form->{fokus} = 'Form.name';
$form->header();
- print $form->parse_html_template2('ct/search');
+ print $form->parse_html_template('ct/search');
$lxdebug->leave_sub();
}
my $report = SL::ReportGenerator->new(\%myconfig, $form);
$report->set_options('top_info_text' => join("\n", @options),
- 'raw_bottom_info_text' => $form->parse_html_template2('ct/list_names_bottom'),
+ 'raw_bottom_info_text' => $form->parse_html_template('ct/list_names_bottom'),
'output_format' => 'HTML',
'title' => $form->{title},
'attachment_basename' => $attachment_basename . strftime('_%Y%m%d', localtime time),
transdate,
description,
qty,
- unit);
+ unit,
+ sellprice);
qq|<th class=listheading>| . $locale->text('Qty') . qq|</th>|;
$column_header{unit} =
qq|<th class=listheading>| . $locale->text('Unit') . qq|</th>|;
+ $column_header{sellprice} =
+ qq|<th class=listheading>| . $locale->text('Sell Price') . qq|</th>|;
$result .= qq|
<table width=100%>
} else {
map { $column_data{$_} = "<td>$ref->{$_} </td>" } @column_index;
}
-
+ $column_data{sellprice} = "<td>". $form->format_amount(\%myconfig,$ref->{sellprice},2)." </td>";
$i++;
$i %= 2;
$result .= "