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 = (); |
templates/webpages/oe/sales_order_de.html | ||
---|---|---|
11 | 11 |
|
12 | 12 |
[% FOREACH row = ROWS %] |
13 | 13 |
<tr valign="top" class="listrow[% loop.count % 2 %]">[% FOREACH row1 = row.ROW1 %] |
14 |
<td align="[% row1.align %]">[% row1.value %]</td>[% END %] |
|
14 |
<td align="[% row1.align %]"[% IF row1.nowrap %] nowrap[% END %]>[% row1.value %]</td>[% END %]
|
|
15 | 15 |
</tr> |
16 | 16 |
|
17 | 17 |
[% FOREACH hidden = row.HIDDENS %][% hidden.value %] |
templates/webpages/oe/sales_order_master.html | ||
---|---|---|
11 | 11 |
|
12 | 12 |
[% FOREACH row = ROWS %] |
13 | 13 |
<tr valign="top" class="listrow[% loop.count % 2 %]">[% FOREACH row1 = row.ROW1 %] |
14 |
<td align="[% row1.align %]">[% row1.value %]</td>[% END %] |
|
14 |
<td align="[% row1.align %]"[% IF row1.nowrap %] nowrap[% END %]>[% row1.value %]</td>[% END %]
|
|
15 | 15 |
</tr> |
16 | 16 |
|
17 | 17 |
[% FOREACH hidden = row.HIDDENS %][% hidden.value %] |
Auch abrufbar als: Unified diff
Automatischen Zeilenumbruch in bestimmten Tabellenzellen in Einkaufs- und Verkaufsmasken verhindern.