Revision 9aaca433
Von Moritz Bunkus vor etwa 17 Jahren hinzugefügt
bin/mozilla/oe.pl | ||
---|---|---|
484 | 484 |
is_pur_ord => scalar ($form->{type} =~ /purchase_order$/), |
485 | 485 |
); |
486 | 486 |
|
487 |
print $form->parse_html_template2("oe/orders_header", { %TMPL_VAR });
|
|
487 |
print $form->parse_html_template("oe/orders_header", { %TMPL_VAR }); |
|
488 | 488 |
|
489 | 489 |
$lxdebug->leave_sub(); |
490 | 490 |
} |
... | ... | |
541 | 541 |
|
542 | 542 |
$form->{oldinvtotal} = $form->{invtotal}; |
543 | 543 |
|
544 |
print $form->parse_html_template2("oe/orders_footer", {
|
|
544 |
print $form->parse_html_template("oe/orders_footer", { |
|
545 | 545 |
%TMPL_VAR, |
546 | 546 |
webdav => $webdav, |
547 | 547 |
print_options => print_options(inline => 1), |
... | ... | |
1087 | 1087 |
} |
1088 | 1088 |
|
1089 | 1089 |
$report->set_options('top_info_text' => join("\n", @options), |
1090 |
'raw_top_info_text' => $form->parse_html_template2('oe/orders_top'),
|
|
1091 |
'raw_bottom_info_text' => $form->parse_html_template2('oe/orders_bottom', { 'SHOW_CONTINUE_BUTTON' => $allow_multiple_orders }),
|
|
1090 |
'raw_top_info_text' => $form->parse_html_template('oe/orders_top'), |
|
1091 |
'raw_bottom_info_text' => $form->parse_html_template('oe/orders_bottom', { 'SHOW_CONTINUE_BUTTON' => $allow_multiple_orders }), |
|
1092 | 1092 |
'output_format' => 'HTML', |
1093 | 1093 |
'title' => $form->{title}, |
1094 | 1094 |
'attachment_basename' => $attachment_basename . strftime('_%Y%m%d', localtime time), |
... | ... | |
1840 | 1840 |
$form->{VARIABLES} = [ map { { "key" => $_, "value" => $form->{$_} } } grep { ref $_ eq "" } keys %{ $form } ]; |
1841 | 1841 |
|
1842 | 1842 |
$form->header(); |
1843 |
print $form->parse_html_template2("oe/check_for_direct_delivery");
|
|
1843 |
print $form->parse_html_template("oe/check_for_direct_delivery"); |
|
1844 | 1844 |
|
1845 | 1845 |
$lxdebug->leave_sub(); |
1846 | 1846 |
|
... | ... | |
2199 | 2199 |
push @ROWS, { ROW1 => \@ROW1, ROW2 => \@ROW2, HIDDENS => \@HIDDENS, colspan => $colspan, }; |
2200 | 2200 |
} |
2201 | 2201 |
|
2202 |
print $form->parse_html_template2('oe/sales_order', { ROWS => \@ROWS,
|
|
2203 |
HEADER => \@HEADER,
|
|
2204 |
});
|
|
2202 |
print $form->parse_html_template('oe/sales_order', { ROWS => \@ROWS, |
|
2203 |
HEADER => \@HEADER, |
|
2204 |
}); |
|
2205 | 2205 |
|
2206 | 2206 |
if (0 != ($form->{sellprice_total} * 1)) { |
2207 | 2207 |
$form->{marge_percent} = ($form->{sellprice_total} - $form->{lastcost_total}) / $form->{sellprice_total} * 100; |
Auch abrufbar als: Unified diff
Die Funktion Form::parse_html_template2() in Form::parse_html_template() umbenannt (letztere wurde in Revision 2923 entfernt).