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

Commit

Permalink
chore: revert "fix: only show valid fees for licences (#137)" (#143)
Browse files Browse the repository at this point in the history
This reverts commit da9a96b.
  • Loading branch information
JoshuaLicense authored May 10, 2024
1 parent da9a96b commit bfd6b6f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
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.1.1",
"olcs/olcs-transfer": "^7.0",
"olcs/olcs-utils": "^6.0.0",
"psr/container": "^1.1|^2",
"aws/aws-sdk-php": "^3.300"
Expand Down
8 changes: 1 addition & 7 deletions module/Olcs/src/Controller/FeesController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'];
Expand Down

0 comments on commit bfd6b6f

Please sign in to comment.