Revision 99c71e83
Von Sven Schöling vor mehr als 15 Jahren hinzugefügt
bin/mozilla/ar.pl | ||
---|---|---|
# setup customer selection
|
||
$form->all_vc(\%myconfig, "customer", "AR");
|
||
|
||
if (@{ $form->{all_customer} }) {
|
||
if (@{ $form->{all_customer} || [] }) {
|
||
map { $customer .= "<option>$_->{name}--$_->{id}\n" }
|
||
@{ $form->{all_customer} };
|
||
$customer = qq|<select name=customer><option>\n$customer</select>|;
|
Auch abrufbar als: Unified diff
all_customers kann leer sein, wenn vclimit kleiner ist als die anzahl der kunden