X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fpart_export.pm;h=182f47608e47e69df808b2b46c4e8661ece06a52;hb=e29d9d153375962cb431186355be0c3ad6b1bb21;hp=f3d977480398c7db83dc67d15c4b7694f784f103;hpb=e3503e19a5a6c876f410903a3946dd9f1597aa46;p=freeside.git diff --git a/FS/FS/part_export.pm b/FS/FS/part_export.pm index f3d977480..182f47608 100644 --- a/FS/FS/part_export.pm +++ b/FS/FS/part_export.pm @@ -58,6 +58,12 @@ fields are currently supported: =item nodomain - blank or "Y" : usernames are exported to this service with no domain +=item default_machine - For exports that require a machine to be selected for +each service (see L), the one to use as the default. + +=item no_suspend - Don't export service suspensions. In the future there may +be "no_*" options for the other service actions. + =back =head1 METHODS @@ -337,6 +343,7 @@ sub check { || $self->ut_textn('exportname') || $self->ut_domainn('machine') || $self->ut_alpha('exporttype') + || $self->ut_flag('no_suspend') ; if ( $self->machine eq '_SVC_MACHINE' ) { @@ -697,8 +704,12 @@ actual DIDs except at the lowest level. Generally, 'state' alone will return an array of area codes or region names in the state. -'state' and 'areacode' together will return an array of exchanges (NXX -prefixes), or for some exports, an array of ratecenter names. +'state' and 'areacode' together will return an array of either: +- exchange strings of the form "New York (212-555-XXXX)" +- ratecenter names of the form "New York, NY" + +These strings are sent back to the UI and offered as options so that the user +can choose the local calling area they like. 'areacode' and 'exchange', or 'state' and 'ratecenter', or 'region' by itself will return an array of actual DID numbers.