Revision ef6c2653
Von Philip Reetz vor fast 18 Jahren hinzugefügt
bin/mozilla/io.pl | ||
---|---|---|
548 | 548 |
|
549 | 549 |
sub select_item { |
550 | 550 |
$lxdebug->enter_sub(); |
551 |
@column_index = qw(ndx partnumber description onhand sellprice); |
|
551 |
@column_index = qw(ndx partnumber description onhand unit sellprice);
|
|
552 | 552 |
|
553 | 553 |
$column_data{ndx} = qq|<th> </th>|; |
554 | 554 |
$column_data{partnumber} = |
... | ... | |
559 | 559 |
qq|<th class=listheading>| . $locale->text('Price') . qq|</th>|; |
560 | 560 |
$column_data{onhand} = |
561 | 561 |
qq|<th class=listheading>| . $locale->text('Qty') . qq|</th>|; |
562 |
|
|
562 |
$column_data{unit} = |
|
563 |
qq|<th class=listheading>| . $locale->text('Unit') . qq|</th>|; |
|
563 | 564 |
# list items with radio button on a form |
564 | 565 |
$form->header; |
565 | 566 |
|
... | ... | |
617 | 618 |
qq|<td align=right><input name="new_onhand_$i" type=hidden value=$ref->{onhand}>| |
618 | 619 |
. $form->format_amount(\%myconfig, $ref->{onhand}, '', " ") |
619 | 620 |
. qq|</td>|; |
620 |
|
|
621 |
$column_data{unit} = |
|
622 |
qq|<td>$ref->{unit}</td>|; |
|
621 | 623 |
$j++; |
622 | 624 |
$j %= 2; |
623 | 625 |
print qq| |
Auch abrufbar als: Unified diff
Bei der Auswahl von Artikeln wird die Einheit mit angezeigt