Revision ef6c2653
Von Philip Reetz vor etwa 18 Jahren hinzugefügt
bin/mozilla/io.pl | ||
---|---|---|
|
||
sub select_item {
|
||
$lxdebug->enter_sub();
|
||
@column_index = qw(ndx partnumber description onhand sellprice);
|
||
@column_index = qw(ndx partnumber description onhand unit sellprice);
|
||
|
||
$column_data{ndx} = qq|<th> </th>|;
|
||
$column_data{partnumber} =
|
||
... | ... | |
qq|<th class=listheading>| . $locale->text('Price') . qq|</th>|;
|
||
$column_data{onhand} =
|
||
qq|<th class=listheading>| . $locale->text('Qty') . qq|</th>|;
|
||
|
||
$column_data{unit} =
|
||
qq|<th class=listheading>| . $locale->text('Unit') . qq|</th>|;
|
||
# list items with radio button on a form
|
||
$form->header;
|
||
|
||
... | ... | |
qq|<td align=right><input name="new_onhand_$i" type=hidden value=$ref->{onhand}>|
|
||
. $form->format_amount(\%myconfig, $ref->{onhand}, '', " ")
|
||
. qq|</td>|;
|
||
|
||
$column_data{unit} =
|
||
qq|<td>$ref->{unit}</td>|;
|
||
$j++;
|
||
$j %= 2;
|
||
print qq|
|
Auch abrufbar als: Unified diff
Bei der Auswahl von Artikeln wird die Einheit mit angezeigt