X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fpart_pkg_taxclass.pm;h=055c778ba2a8be6ad9cadfe2b6fcbaaaf7cda805;hp=6e3acf2868ea2053bf1372deb0c705e2d63328f5;hb=674cb2d9d7105f4cc2871539b2e9f7088cdaa750;hpb=40a7b3dc653e099f7bd0bd762b649b04c4432db2 diff --git a/FS/FS/part_pkg_taxclass.pm b/FS/FS/part_pkg_taxclass.pm index 6e3acf286..055c778ba 100644 --- a/FS/FS/part_pkg_taxclass.pm +++ b/FS/FS/part_pkg_taxclass.pm @@ -2,6 +2,7 @@ package FS::part_pkg_taxclass; use strict; use vars qw( @ISA ); +use Scalar::Util qw( blessed ); use FS::UID qw( dbh ); use FS::Record; # qw( qsearch qsearchs ); use FS::cust_main_county; @@ -29,8 +30,16 @@ FS::part_pkg_taxclass - Object methods for part_pkg_taxclass records =head1 DESCRIPTION -An FS::part_pkg_taxclass object represents a tax class. FS::part_pkg_taxclass -inherits from FS::Record. The following fields are currently supported: +An FS::part_pkg_taxclass object declares the existence of a taxable sales +class. FS::part_pkg_taxclass inherits from FS::Record. + +FS::part_pkg_taxclass is not used in tax calculation. It is only used to +list a set of valid tax class names for use in the user interface. When +using internal taxes, the actual matching of tax definitions to package +tax class is a string match between tax class names. This is arguably +a bug. + +The following fields are currently supported: =over 4