From bfd6b6f47491c03d8d2ea312424407fe6574bea9 Mon Sep 17 00:00:00 2001 From: JoshuaLicense Date: Fri, 10 May 2024 14:47:39 +0100 Subject: [PATCH] chore: revert "fix: only show valid fees for licences (#137)" (#143) This reverts commit da9a96b372c75de86178759f6617d13160802db1. --- composer.json | 2 +- module/Olcs/src/Controller/FeesController.php | 8 +------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/composer.json b/composer.json index 87930d1a3..1ba45e3a4 100644 --- a/composer.json +++ b/composer.json @@ -34,7 +34,7 @@ "olcs/olcs-auth": "^8.0", "olcs/olcs-common": "^7.2.0", "olcs/olcs-logging": "^7.2", - "olcs/olcs-transfer": "^7.1.1", + "olcs/olcs-transfer": "^7.0", "olcs/olcs-utils": "^6.0.0", "psr/container": "^1.1|^2", "aws/aws-sdk-php": "^3.300" diff --git a/module/Olcs/src/Controller/FeesController.php b/module/Olcs/src/Controller/FeesController.php index 1883ca65e..2756fc973 100644 --- a/module/Olcs/src/Controller/FeesController.php +++ b/module/Olcs/src/Controller/FeesController.php @@ -216,13 +216,7 @@ public function receiptAction(): ViewModel protected function getOutstandingFeeDataForOrganisation(?int $organisationId) { - $query = OutstandingFees::create( - [ - 'id' => $organisationId, - 'hideExpired' => true, - 'onlySubmitted' => true, - ], - ); + $query = OutstandingFees::create(['id' => $organisationId, 'hideExpired' => true]); $response = $this->handleQuery($query); $this->disableCardPayments = $response->getResult()['disableCardPayments'];