Revision 2e7ea276
Von Moritz Bunkus vor etwa 17 Jahren hinzugefügt
bin/mozilla/io.pl | ||
---|---|---|
142 | 142 |
$deliverydate = $locale->text('Required by'); |
143 | 143 |
|
144 | 144 |
# special alignings |
145 |
my %align = map { $_ => 'right' } qw(qty ship right sellprice_pg discount linetotal); |
|
145 |
my %align = map { $_ => 'right' } qw(qty ship right sellprice_pg discount linetotal); |
|
146 |
my %nowrap = map { $_ => 1 } qw(description unit); |
|
146 | 147 |
|
147 | 148 |
$form->{marge_total} = 0; |
148 | 149 |
$form->{sellprice_total} = 0; |
... | ... | |
249 | 250 |
$column_data{linetotal} = $form->format_amount(\%myconfig, $linetotal, 2); |
250 | 251 |
$column_data{bin} = $form->{"bin_$i"}; |
251 | 252 |
|
252 |
my @ROW1 = map { value => $column_data{$_}, align => $align{$_} }, @column_index; |
|
253 |
my @ROW1 = map { value => $column_data{$_}, align => $align{$_}, nowrap => $nowrap{$_} }, @column_index;
|
|
253 | 254 |
|
254 | 255 |
# second row |
255 | 256 |
my @ROW2 = (); |
Auch abrufbar als: Unified diff
Automatischen Zeilenumbruch in bestimmten Tabellenzellen in Einkaufs- und Verkaufsmasken verhindern.