From 0d9ff747a221eb53769982f36894c755757a1491 Mon Sep 17 00:00:00 2001
From: Jonathan Druart
Date: Tue, 17 Mar 2020 09:42:37 +0100
Subject: [PATCH] Bug 18177: remove aqbooksellers.booksellerfax
Signed-off-by: Martin Renvoize
Signed-off-by: Marcel de Rooy
Signed-off-by: Martin Renvoize
---
Koha/Acquisition/Bookseller.pm | 1 -
acqui/uncertainprice.pl | 1 -
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/uncertainprice.tt | 1 -
t/db_dependent/Bookseller.t | 2 +-
4 files changed, 1 insertion(+), 4 deletions(-)
diff --git a/Koha/Acquisition/Bookseller.pm b/Koha/Acquisition/Bookseller.pm
index 6b2b248f3b..526743ad55 100644
--- a/Koha/Acquisition/Bookseller.pm
+++ b/Koha/Acquisition/Bookseller.pm
@@ -85,7 +85,6 @@ on the API.
sub to_api_mapping {
return {
- booksellerfax => undef,
bookselleremail => undef,
booksellerurl => undef,
currency => undef,
diff --git a/acqui/uncertainprice.pl b/acqui/uncertainprice.pl
index 5ecf41d83c..e41dbddc5c 100755
--- a/acqui/uncertainprice.pl
+++ b/acqui/uncertainprice.pl
@@ -108,7 +108,6 @@ $template->param( uncertainpriceorders => \@orders,
bookselleraddress3 => $bookseller->address3,
bookselleraddress4 => $bookseller->address4,
booksellerphone =>$bookseller->phone,
- booksellerfax => $bookseller->fax,
booksellerurl => $bookseller->url,
booksellernotes => $bookseller->notes,
basketcount => $bookseller->baskets->count,
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/uncertainprice.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/uncertainprice.tt
index 86d0f19c9c..81e16ccb75 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/uncertainprice.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/uncertainprice.tt
@@ -37,7 +37,6 @@
Phone:
[% booksellerphone | html %] / Fax:
- [% booksellerfax | html %]
[% FOREACH contact IN contacts %]
- Contact:
diff --git a/t/db_dependent/Bookseller.t b/t/db_dependent/Bookseller.t
index 9e3aae8dcf..f9a3ec9a08 100644
--- a/t/db_dependent/Bookseller.t
+++ b/t/db_dependent/Bookseller.t
@@ -765,7 +765,7 @@ sub field_filter {
my ($struct) = @_;
for my $field (
- 'bookselleremail', 'booksellerfax',
+ 'bookselleremail',
'booksellerurl',
'currency', 'invoiceprice',
'listprice', 'contacts'
--
2.39.2