From 2279961b0dffa826dbbafc35d524e9e67c211564 Mon Sep 17 00:00:00 2001 From: Alexander Purr <purr@ub.uni-leipzig.de> Date: Tue, 12 Oct 2021 14:12:56 +0200 Subject: [PATCH] refs #20234 [fid_bbi] order editing for admins, improved order listings * adding order-list and order-edit-form configuration fid.ini * remove template acquisition-contact-details.phtml (moved to fid branch before) --- fid_bbi/config/vufind/fid.ini | 24 ++++++++++++++++++- .../record/acquisition-contact-details.phtml | 18 -------------- 2 files changed, 23 insertions(+), 19 deletions(-) delete mode 100644 themes/fid_bbi/templates/fid/record/acquisition-contact-details.phtml diff --git a/fid_bbi/config/vufind/fid.ini b/fid_bbi/config/vufind/fid.ini index fe106d21bc7..4d341b95a30 100644 --- a/fid_bbi/config/vufind/fid.ini +++ b/fid_bbi/config/vufind/fid.ini @@ -12,4 +12,26 @@ permission_options[] = 'extended_access' permission_options[] = 'full_access' [Forms] -jobTitleOptions = "0,2,3,1" \ No newline at end of file +jobTitleOptions = "0,2,3,1" + +[OrderList] +displayCols[] = 'type' +displayCols[] = 'status' +displayCols[] = 'dueDate' +displayCols[] = 'edit' +displayCols[] = 'delete' + +[pdaEdit] +form = 'complete' +statusOptions[] = 'open' +statusOptions[] = 'processing' +statusOptions[] = 'loan' +statusOptions[] = 'completed' +statusOptions[] = 'closed' + +[digitizationEdit] +form = 'basic' +statusOptions[] = 'open' +statusOptions[] = 'processing' +statusOptions[] = 'completed' +statusOptions[] = 'closed' \ No newline at end of file diff --git a/themes/fid_bbi/templates/fid/record/acquisition-contact-details.phtml b/themes/fid_bbi/templates/fid/record/acquisition-contact-details.phtml deleted file mode 100644 index 7147d5392df..00000000000 --- a/themes/fid_bbi/templates/fid/record/acquisition-contact-details.phtml +++ /dev/null @@ -1,18 +0,0 @@ -<?php -/** @var \fid\Service\DataTransferObject\User $user */ -/** @var \fid\Service\DataTransferObject\Address $address */ -$address = $this->user->getDeliveryAddress(); -?> -<h2><?=$this->translate("fid::acquisition_delivery_to")?></h2> -<table class="table table-striped"> - <tbody> - <tr> - <th><?= $this->translate("fid::acquisition_order_delivery_name") ?></th> - <td><?= $this->user->getFirstname() ?> <?= $this->user->getLastname() ?></td> - </tr> - <tr> - <th><?= $this->translate("Email Address") ?></th> - <td><?= $this->user->getUsername() ?></td> - </tr> - </tbody> -</table> -- GitLab