summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/am.pl6
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/am.pl b/bin/am.pl
index f92e380e..9a08092d 100644
--- a/bin/am.pl
+++ b/bin/am.pl
@@ -1471,6 +1471,12 @@ sub defaults {
'IC_income' => {name => 'IC_income', options => []},
'IC_inventory' => {name => 'IC_inventory', options => []},
'IC' => {name => 'IC', options => []},
+ 'default_country' => {name => 'default_country',
+ options => $form->{countries},
+ default_values => [$form->{'default_country'}],
+ text_attr => 'name',
+ value_attr => 'id',
+ },
);
foreach $key ( keys %{ $form->{accno} } ) {
foreach $accno ( sort keys %{ $form->{accno}{$key} } ) {