Difference between revisions of "Freeside:3:Documentation:Developer/FS/location Mixin"

From Freeside
Jump to: navigation, search
m (Edit via perl MediaWiki framework (1.13))
 
(No difference)

Latest revision as of 20:05, 27 June 2012

cust_location
Returns the location object, if any (see FS::cust_location).
cust_location_or_main
If this package is associated with a location, returns the locaiton (see FS::cust_location), otherwise returns the customer (see FS::cust_main).
location_label [ OPTION => VALUE ... ]
Returns the label of the location object (see FS::cust_location).
location_hash
Returns a hash of values for the location, either from the location object, the cust_main shipping address, or the cust_main address, whichever is present first.

POD ERRORS

Hey! The above document had some coding errors, which are explained below:

Around line 7:
'=item' outside of any '=over'