diff --git a/app/Services/Client/Statement.php b/app/Services/Client/Statement.php index 549fec257da0..886579d8a32c 100644 --- a/app/Services/Client/Statement.php +++ b/app/Services/Client/Statement.php @@ -236,7 +236,7 @@ class Statement private function invoiceStatuses() :array { $status = 'all'; -nlog($this->options); + if(array_key_exists('status', $this->options)) $status = $this->options['status'];