X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Felements%2Fselect-did.html;h=dd2e8e531fcee6ee47f11b4453d192857f012c29;hp=6cc63b96176ce487b2ad282d27a2b1848b1ed21d;hb=e3a2ca0a7ef6e0931283136321ba8c1494b37c19;hpb=39bf086cae20fa746336953f46ae7b9245f3891f diff --git a/httemplate/elements/select-did.html b/httemplate/elements/select-did.html index 6cc63b961..dd2e8e531 100644 --- a/httemplate/elements/select-did.html +++ b/httemplate/elements/select-did.html @@ -99,7 +99,6 @@ Example: my %opt = @_; my $conf = new FS::Conf; -my $country = $conf->config('countrydefault') || 'US'; #false laziness w/tr-select-did.html #XXX make sure this comes through on errors too @@ -122,6 +121,10 @@ $export = $exports[0] if scalar(@exports); my $bulknum = $opt{'bulknum'} || 0; +my $country = $export->option('country') || + $conf->config('countrydefault') || + 'US'; + #my $field = $opt{'field'} || 'phonenum';