=item last_pull - time of last data pull from vendor/telco
-=item notes
-
-DSL order notes placed by staff or vendor/telco on the vendor/telco order
-
=back
'monitored' => { label => 'Monitored',
type => 'checkbox', %dis2 },
'last_pull' => { label => 'Last Pull', type => 'disabled' },
- 'notes' => { label => 'Order Notes', %dis1 },
},
};
}
return $self->svcnum;
}
+=item notes
+
+Returns the set of FS::dsl_notes associated with this service
+
+=cut
+sub notes {
+ my $self = shift;
+ qsearch( 'dsl_note', { 'svcnum' => $self->svcnum } );
+}
+
=item insert
Adds this record to the database. If there is an error, returns the error,
|| $self->ut_textn('staticips')
|| $self->ut_enum('monitored', [ '', 'Y' ])
|| $self->ut_numbern('last_pull')
- || $self->ut_textn('notes')
;
return $error if $error;