From a0fe4d9624cad312558b3033e11dcfcb645b278e 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
---
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 1677aab372..623ce70699 100644
--- a/Koha/Acquisition/Bookseller.pm
+++ b/Koha/Acquisition/Bookseller.pm
@@ -82,7 +82,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 e4d24a36d4..27844d32a7 100644
--- a/t/db_dependent/Bookseller.t
+++ b/t/db_dependent/Bookseller.t
@@ -766,7 +766,7 @@ sub field_filter {
my ($struct) = @_;
for my $field (
- 'bookselleremail', 'booksellerfax',
+ 'bookselleremail',
'booksellerurl',
'currency', 'invoiceprice',
'listprice', 'contacts'
--
2.20.1