Vendor/telco DSL order status (e.g. (N)ew, (A)ssigned, (R)ejected, (M)revised,
(C)ompleted, (X)cancelled, or similar)
Vendor/telco DSL order status (e.g. (N)ew, (A)ssigned, (R)ejected, (M)revised,
(C)ompleted, (X)cancelled, or similar)
-=item username
-
-If outsourced PPPoE/RADIUS, username
-
-=item password
-
-If outsourced PPPoE/RADIUS, password
+=item username - if outsourced PPPoE/RADIUS, username
- 'desired_dd' => { label => 'Desired Due Date', %dis2, },
- 'dd' => { label => 'Due Date', %dis2, },
+ 'desired_due_date' => { label => 'Desired Due Date', %dis2, },
+ 'due_date' => { label => 'Due Date', %dis2, },
'vendor_order_id' => { label => 'Vendor Order Id', %dis2, },
'vendor_qual_id' => { label => 'Vendor Qualification Id',
type => 'disabled' },
'vendor_order_id' => { label => 'Vendor Order Id', %dis2, },
'vendor_qual_id' => { label => 'Vendor Qualification Id',
type => 'disabled' },
'first' => { label => 'First Name', %dis2, },
'last' => { label => 'Last Name', %dis2, },
'company' => { label => 'Company Name', %dis2, },
'first' => { label => 'First Name', %dis2, },
'last' => { label => 'Last Name', %dis2, },
'company' => { label => 'Company Name', %dis2, },
'isp_chg' => { label => 'ISP Changing?',
type => 'checkbox', %dis2 },
'isp_prev' => { label => 'Current or Previous ISP',
'isp_chg' => { label => 'ISP Changing?',
type => 'checkbox', %dis2 },
'isp_prev' => { label => 'Current or Previous ISP',
'monitored' => { label => 'Monitored',
type => 'checkbox', %dis2 },
'last_pull' => { label => 'Last Pull', type => 'disabled' },
'monitored' => { label => 'Monitored',
type => 'checkbox', %dis2 },
'last_pull' => { label => 'Last Pull', type => 'disabled' },
|| $self->ut_alphan('vendor_order_status')
|| $self->ut_text('first')
|| $self->ut_text('last')
|| $self->ut_textn('company')
|| $self->ut_alphan('vendor_order_status')
|| $self->ut_text('first')
|| $self->ut_text('last')
|| $self->ut_textn('company')
|| $self->ut_alphan('isp_chg')
|| $self->ut_textn('isp_prev')
|| $self->ut_textn('username')
|| $self->ut_alphan('isp_chg')
|| $self->ut_textn('isp_prev')
|| $self->ut_textn('username')
|| $self->ut_textn('staticips')
|| $self->ut_enum('monitored', [ '', 'Y' ])
|| $self->ut_numbern('last_pull')
|| $self->ut_textn('staticips')
|| $self->ut_enum('monitored', [ '', 'Y' ])
|| $self->ut_numbern('last_pull')
+sub predelete_hook_first {
+ my $self = shift;
+ my @exports = $self->part_svc->part_export_dsl_pull;
+ return 'More than one DSL-pulling export attached' if scalar(@exports) > 1;
+ if ( scalar(@exports) == 1 ) {
+ my $export = $exports[0];
+ return $export->dsl_pull($self);
+ }
+ '';
+}