$form->all_vc(\%myconfig, "customer", "AR");
$form->{title} = $locale->text('Sales Report');
- $form->{jsscript} = 1;
$form->get_lists("projects" => { "key" => "ALL_PROJECTS", "all" => 1 },
"departments" => "ALL_DEPARTMENTS",
# can't currently be configured from report, empty line between main sortings
my $addemptylines = 1;
-
+
# don't add empty lines between mainsort subtotals when only subtotal_mainsort is selected
if ($form->{l_subtotal_mainsort} eq "Y" and not defined $form->{l_headers_mainsort} and not defined $form->{l_headers_subsort} and not defined $form->{l_subtotal_subsort} ) {
- $addemptylines = 0
+ $addemptylines = 0
};
if ( $form->{customer} =~ /--/ ) {
$row{invnumber}->{link} = build_std_url("script=is.pl", 'action=edit') . "&id=" . E($ar->{id}) . "&callback=${callback}";
+ # use partdescription according to invoice in article mode
+ $row{description}->{data} = $ar->{invoice_description};
+
$report->add_data(\%row);
}