Skip to content

Commit

Permalink
fix: Only show valid fees for licences (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
wadedvsa authored Apr 29, 2024
1 parent d2c4873 commit 1bfc1b7
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/Query/Fee/FeeList.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,14 @@ class FeeList extends AbstractQuery implements
*/
protected $status;

/**
* @return mixed
* @Transfer\Filter("Laminas\Filter\Boolean")
* @Transfer\Optional
*/
protected $onlySubmitted;


/**
* @Transfer\ArrayInput
* @Transfer\Optional
Expand All @@ -63,6 +71,11 @@ public function getIsMiscellaneous()
return $this->isMiscellaneous;
}

public function getOnlySubmitted()
{
return $this->onlySubmitted;
}

/**
* @return string
*/
Expand Down
12 changes: 12 additions & 0 deletions src/Query/Organisation/OutstandingFees.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,23 @@ class OutstandingFees extends AbstractQuery implements CacheableShortTermQueryIn
*/
protected $hideExpired;

/**
* @return mixed
* @Transfer\Filter("Laminas\Filter\Boolean")
* @Transfer\Optional
*/
protected $onlySubmitted;

/**
* @return mixed
*/
public function getHideExpired()
{
return $this->hideExpired;
}

public function getOnlySubmitted()
{
return $this->onlySubmitted;
}
}

0 comments on commit 1bfc1b7

Please sign in to comment.