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:
parent
b99df4f762
commit
0b67272199
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue