my $query =
qq|SELECT s.shiptoname, i.qty, | .
qq| ${arap}.transdate, ${arap}.invnumber, ${arap}.ordnumber, | .
- qq| invoice.description, invoice.unit | .
+ qq| i.description, i.unit, i.sellprice | .
qq|FROM $arap | .
qq|LEFT JOIN shipto s ON | .
($arap eq "ar"
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 .= "
'Select a part' => 'Artikel auswählen',
'Select a project' => 'Projekt auswählen',
'Select an employee' => 'Angestellten auswählen',
+ 'Sell Price' => 'Verkaufspreis',
'Shipping Address' => 'Lieferadresse',
'Steuersatz' => 'Steuersatz',
'Storno Invoice' => 'Stornorechnung',