Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

fix: Only show valid fees for licences #137

Merged
merged 1 commit into from
May 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"olcs/olcs-auth": "^8.0",
"olcs/olcs-common": "^7.2.0",
"olcs/olcs-logging": "^7.2",
"olcs/olcs-transfer": "^7.0",
"olcs/olcs-transfer": "^7.1.1",
"olcs/olcs-utils": "^6.0.0",
"psr/container": "^1.1|^2",
"aws/aws-sdk-php": "^3.300"
Expand Down
8 changes: 7 additions & 1 deletion module/Olcs/src/Controller/FeesController.php
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,13 @@ public function receiptAction(): ViewModel

protected function getOutstandingFeeDataForOrganisation(?int $organisationId)
{
$query = OutstandingFees::create(['id' => $organisationId, 'hideExpired' => true]);
$query = OutstandingFees::create(
[
'id' => $organisationId,
'hideExpired' => true,
'onlySubmitted' => true,
],
);
$response = $this->handleQuery($query);

$this->disableCardPayments = $response->getResult()['disableCardPayments'];
Expand Down
Loading