- $loop_type = { field => 'loop_type',
- type => 'select',
- options => [ '', '0' ],
- labels => { '' => 'Line-share', '0', => 'Standalone' },
- # onchange => "document.getElementById('svctn').value = ''",
- };
- push @fields, { field => 'isp_chg', type => 'checkbox', };
- push @fields, 'isp_prev';
- push @fields, { field => 'vendor_qual_id',
- type => 'fixed',
- value => $vendor_qual_id,
- };
- }
- else {
- push @fields, 'username';
+ my @addl_fields = (
+ { field => 'loop_type',
+ type => 'select',
+ options => [ '', '0' ],
+ labels => { '' => 'Line-share', '0', => 'Standalone' },
+ onchange => 'ikano_loop_type_changed',
+ },
+ 'password',
+ { field => 'isp_chg', type => 'checkbox', },
+ 'isp_prev',
+ { field => 'vendor_qual_id',
+ type => 'select',
+ options => \@prequalids,
+ labels => \%prequal_labels,
+ onchange => 'ikano_vendor_qual_id_changed',
+ },
+ { field => 'vendor_order_type',
+ type => 'hidden',
+ value => 'NEW' },
+ { field => 'desired_due_date',
+ type => 'fixed',
+ formatted_value =>
+ time2str($date_format,$ddd),
+ value => $ddd,
+ },
+ );
+ push @fields, @addl_fields;