diff options
author | ivan <ivan> | 2002-10-04 12:57:06 +0000 |
---|---|---|
committer | ivan <ivan> | 2002-10-04 12:57:06 +0000 |
commit | c4d2226e0cc4bdd6d9f689b061b5f4f5b9609b0b (patch) | |
tree | a2d1cfde286607ecfcded7c6a1726310098effab /FS/FS/type_pkgs.pm | |
parent | 54a27b35957baddb725e2b7544d9f134989bfd99 (diff) |
working on the road:
- easier "change package" link for changing one package to another
- sqlradius export now compatible with Pg
- indices on phone numbers
- install instructions specify Pg 7.1 (at least until ILIKE thing is changed)
- searching on phone number fragments
Diffstat (limited to 'FS/FS/type_pkgs.pm')
-rw-r--r-- | FS/FS/type_pkgs.pm | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/FS/FS/type_pkgs.pm b/FS/FS/type_pkgs.pm index 8e0d4ef56..efba60dbd 100644 --- a/FS/FS/type_pkgs.pm +++ b/FS/FS/type_pkgs.pm @@ -94,11 +94,24 @@ sub check { ''; #no error } +=item part_pkg + +Returns the FS::part_pkg object associated with this record. + +=cut + +sub part_pkg { + my $self = shift; + qsearchs( 'part_pkg', { 'pkgpart' => $self->pkgpart } ); +} + +=cut + =back =head1 VERSION -$Id: type_pkgs.pm,v 1.1 1999-08-04 09:03:53 ivan Exp $ +$Id: type_pkgs.pm,v 1.2 2002-10-04 12:57:06 ivan Exp $ =head1 BUGS |