projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix discounts not appearing for one-time charge packages, RT#13654
[freeside.git]
/
FS
/
FS
/
part_export
/
domreg_opensrs.pm
diff --git
a/FS/FS/part_export/domreg_opensrs.pm
b/FS/FS/part_export/domreg_opensrs.pm
index
6728e8c
..
0c7a95d
100644
(file)
--- a/
FS/FS/part_export/domreg_opensrs.pm
+++ b/
FS/FS/part_export/domreg_opensrs.pm
@@
-73,6
+73,9
@@
tie %options, 'Tie::IxHash',
size => scalar(@tldlist),
options => [ @tldlist ],
default => 'com net org' },
size => scalar(@tldlist),
options => [ @tldlist ],
default => 'com net org' },
+ 'auoptions' => { label => 'Enable AU-specific registration fields',
+ type => 'checkbox'
+ },
;
%info = (
;
%info = (
@@
-396,6
+399,11
@@
sub register {
my $c = gen_contact_info($cust_main);
my $c = gen_contact_info($cust_main);
+ if ( $svc_domain->domain =~ /\.au$/ ) {
+ $c->{'registrant_name'} = $svc_domain->au_registrant_name;
+ $c->{'eligibility_type'} = $svc_domain->au_eligibility_type;
+ }
+
$err = validate_contact_info($c);
return $err if $err;
$err = validate_contact_info($c);
return $err if $err;