diff options
author | ivan <ivan> | 2002-04-10 13:42:49 +0000 |
---|---|---|
committer | ivan <ivan> | 2002-04-10 13:42:49 +0000 |
commit | 0b65ce59c7d2ee712389c27954382274ddf718a5 (patch) | |
tree | ed8d8fb079faf656fe93e5f68d98e095500c03ef /FS/FS/cust_main_invoice.pm | |
parent | fd597aef277c522889a849d78dc7dcae67d00d95 (diff) |
bulk checkin from working on the road:
- use msgcat for more error messages - should be all things that would come3
back from the signup server normally now
- signup server: don't display access number <SELECT> if there's none or one
- signup_server-realtime config option to run billing for signup server
signups immediately
- signup server: pkg available to success templates, better documentation on
success templates
- httemplate/edit/msgcat.cgi fields are properly sticky on errors
- httemplate/edit/process/msgcat.cgi - don't update identical fields
Diffstat (limited to 'FS/FS/cust_main_invoice.pm')
-rw-r--r-- | FS/FS/cust_main_invoice.pm | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/FS/FS/cust_main_invoice.pm b/FS/FS/cust_main_invoice.pm index ebbadc6..b82e2e7 100644 --- a/FS/FS/cust_main_invoice.pm +++ b/FS/FS/cust_main_invoice.pm @@ -7,6 +7,7 @@ use FS::Record qw( qsearchs ); use FS::Conf; use FS::cust_main; use FS::svc_acct; +use FS::msgcat qw(gettext); @ISA = qw( FS::Record ); @@ -111,10 +112,12 @@ sub check { =item checkdest -Checks the dest field only. If it finds that the account ends in the -same domain configured as the B<domain> configuration file, it will change the -invoice destination from an email address to a service number (see -L<FS::svc_acct>). +Checks the dest field only. + +#If it finds that the account ends in the +#same domain configured as the B<domain> configuration file, it will change the +#invoice destination from an email address to a service number (see +#L<FS::svc_acct>). =cut @@ -140,7 +143,7 @@ sub checkdest { # } $self->dest("$1\@$2"); } else { - return "Illegal destination!"; + return gettext("illegal_email_invoice_address"); } ''; #no error @@ -167,7 +170,7 @@ sub address { =head1 VERSION -$Id: cust_main_invoice.pm,v 1.10 2002-02-10 17:02:37 ivan Exp $ +$Id: cust_main_invoice.pm,v 1.11 2002-04-10 13:42:48 ivan Exp $ =head1 BUGS |