Bug 10613: (follow-up) fix typo supplierid vs booksellerid

GetInvoiceDetails returns a hashref with a key named booksellerid, not
supplierid.
The bookseller was not retrieved from the DB and the listincgst value
was always false.

Signed-off-by: Jacek Ablewicz <abl@biblos.pk.edu.pl>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
This commit is contained in:
Jonathan Druart 2013-10-25 13:51:03 +02:00 committed by Galen Charlton
parent b99df4f762
commit 0b67272199
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ elsif ( $op && $op eq 'delete' ) {
my $details = GetInvoiceDetails($invoiceid);
my ($bookseller) = GetBookSellerFromId($details->{supplierid});
my $bookseller = GetBookSellerFromId($details->{booksellerid});
my @orders_loop = ();
my $orders = $details->{'orders'};
my $qty_total;