Revision 755822a8
Von Moritz Bunkus vor fast 17 Jahren hinzugefügt
bin/mozilla/io.pl | ||
---|---|---|
239 | 239 |
$linetotal = $form->round_amount(($form->{"sellprice_$i"} - $discount) / $price_factor, $decimalplaces); |
240 | 240 |
$linetotal = $form->round_amount($linetotal * $form->{"qty_$i"}, 2); |
241 | 241 |
|
242 |
# convert " to " |
|
243 |
map { $form->{"${_}_$i"} =~ s/\"/"/g } qw(partnumber description unit unit_old); |
|
244 |
|
|
245 | 242 |
$column_data{runningnumber} = $cgi->textfield(-name => "runningnumber_$i", -size => 5, -value => $i); # HuT |
246 | 243 |
$column_data{partnumber} = $cgi->textfield(-name => "partnumber_$i", -size => 12, -value => $form->{"partnumber_$i"}); |
247 | 244 |
$column_data{description} = ((($rows = $form->numtextrows($form->{"description_$i"}, 30, 6)) > 1) # if description is too large, use a textbox instead |
Auch abrufbar als: Unified diff
Doppeltes Umwandeln von " in " verhindern.