This commit is contained in:
EnesSacid-Buker 2023-02-15 16:26:03 +03:00 committed by GitHub
parent fb00b31b6c
commit 21eaae343d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -67,7 +67,7 @@ class Bills extends BulkAction
$bills = $this->getSelectedRecords($request);
foreach ($bills as $bill) {
if (! in_array($bill->status, ['cancelled', 'draft'])) {
if (in_array($bill->status, ['cancelled', 'draft'])) {
continue;
}

View File

@ -67,7 +67,7 @@ class Invoices extends BulkAction
$invoices = $this->getSelectedRecords($request);
foreach ($invoices as $invoice) {
if (! in_array($invoice->status, ['cancelled', 'draft'])) {
if (in_array($invoice->status, ['cancelled', 'draft'])) {
continue;
}