}
}
$total= 0;
- $desclen= 43;
+ $desclen= 42;
foreach $item (sort keys %iteminstances) {
$why= defined $itemdesc{$item} ? $itemdesc{$item}[0].'; ' : '';
$why .= "line ".(join ",", map { $_->{LineNo} }
$avail= $bi->{Avail};
$avail{$avail}= 1;
$avail= ' '.$stockmap{$avail} if exists $stockmap{$avail};
- printf("%5d%1s %-11s %-.${desclen}s %6.2f %6.2f %s\n",
+ printf("%5d%1s %-11s %-.${desclen}s %6.2f %6.2f%1s %s\n",
$toorder, $notechar, $item, $bi->{Description},
- $bi->{Price}, $price, $avail)
+ $bi->{Price}, $price, $notechar, $avail)
or die $!;
$total += $price;
foreach $desc (@{ $itemdesc{$item} }) {
$numer += $denom/2 if !$exact;
$qty= ceil($numer / $denom);
$exact= 1;
- $notechar= '~';
+ $notechar= '/';
}
$qty =~ m/^\d+$/ or die "$qty ?";
$qty++ if !$exact;