From 607049246275e00a0ecd4721e8ed8688424c2dce Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 17 Mar 2020 09:47:46 +0100 Subject: [PATCH] Bug 18177: remove aqbooksellers.bookselleremail Signed-off-by: Martin Renvoize Signed-off-by: Marcel de Rooy Signed-off-by: Martin Renvoize --- C4/Letters.pm | 1 - Koha/Acquisition/Bookseller.pm | 1 - t/db_dependent/Bookseller.t | 1 - 3 files changed, 3 deletions(-) diff --git a/C4/Letters.pm b/C4/Letters.pm index 9e583cd5ae..c75767e26c 100644 --- a/C4/Letters.pm +++ b/C4/Letters.pm @@ -449,7 +449,6 @@ sub SendAlerts { my @email; my @cc; - push @email, $databookseller->{bookselleremail} if $databookseller->{bookselleremail}; push @email, $datacontact->{email} if ( $datacontact && $datacontact->{email} ); unless (@email) { warn "Bookseller $dataorders->[0]->{booksellerid} without emails"; diff --git a/Koha/Acquisition/Bookseller.pm b/Koha/Acquisition/Bookseller.pm index b5a2fa6a65..a9683cba0a 100644 --- a/Koha/Acquisition/Bookseller.pm +++ b/Koha/Acquisition/Bookseller.pm @@ -85,7 +85,6 @@ on the API. sub to_api_mapping { return { - bookselleremail => undef, currency => undef, listprice => 'list_currency', invoiceprice => 'invoice_currency', diff --git a/t/db_dependent/Bookseller.t b/t/db_dependent/Bookseller.t index 095151d99e..5ee992cfc4 100644 --- a/t/db_dependent/Bookseller.t +++ b/t/db_dependent/Bookseller.t @@ -765,7 +765,6 @@ sub field_filter { my ($struct) = @_; for my $field ( - 'bookselleremail', 'currency', 'invoiceprice', 'listprice', 'contacts' ) -- 2.39.5