MT 2426 : Default currency is chosen for price calculation when bookseller's listpric...
authorMatthias Meusburger <matthias.meusburger@biblibre.com>
Fri, 4 Dec 2009 10:09:13 +0000 (11:09 +0100)
committerHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Thu, 28 Jan 2010 14:11:47 +0000 (15:11 +0100)
acqui/neworderempty.pl

index 1bbb71f..9fb1870 100755 (executable)
@@ -339,7 +339,7 @@ $template->param(
     name             => $bookseller->{'name'},
     cur_active_sym   => $cur->{'symbol'},
     cur_active       => $cur->{'currency'},
-    currency         => $bookseller->{'listprice'}, # eg: 'EUR'
+    currency         => $bookseller->{'listprice'} || $cur->{'currency'}, # eg: 'EUR'
     loop_currencies  => \@loop_currency,
     orderexists      => ( $new eq 'yes' ) ? 0 : 1,
     title            => $data->{'title'},