}
$report->set_options('top_info_text' => join("\n", @options),
- 'raw_top_info_text' => $form->parse_html_template('oe/orders_top'),
- 'raw_bottom_info_text' => $form->parse_html_template('oe/orders_bottom', { 'SHOW_CONTINUE_BUTTON' => $allow_multiple_orders }),
+ 'raw_top_info_text' => $form->parse_html_template2('oe/orders_top'),
+ 'raw_bottom_info_text' => $form->parse_html_template2('oe/orders_bottom', { 'SHOW_CONTINUE_BUTTON' => $allow_multiple_orders }),
'output_format' => 'HTML',
'title' => $form->{title},
'attachment_basename' => $attachment_basename . strftime('_%Y%m%d', localtime time),
$form->{VARIABLES} = [ map { { "key" => $_, "value" => $form->{$_} } } grep { ref $_ eq "" } keys %{ $form } ];
$form->header();
- print $form->parse_html_template("oe/check_for_direct_delivery");
+ print $form->parse_html_template2("oe/check_for_direct_delivery");
$lxdebug->leave_sub();
push @ROWS, { ROW1 => \@ROW1, ROW2 => \@ROW2, HIDDENS => \@HIDDENS, colspan => $colspan, };
}
- print $form->parse_html_template('oe/sales_order', { ROWS => \@ROWS,
- HEADER => \@HEADER,
- show_details_checked => ($form->{show_details} ? "checked" : ""),
- show_details_new => !$form->{show_details},
- });
+ print $form->parse_html_template2('oe/sales_order', { ROWS => \@ROWS,
+ HEADER => \@HEADER,
+ });
if (0 != ($form->{sellprice_total} * 1)) {
$form->{marge_percent} = ($form->{sellprice_total} - $form->{lastcost_total}) / $form->{sellprice_total} * 100;