diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index 57e6a87..cc8c007 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -14,7 +14,7 @@ jobs: if: ${{ always() && needs.build-assets.result == 'success' }} strategy: matrix: - php: [ '8.3', '8.4' ] + php: [ '8.3', '8.4', '8.5' ] uses: tastyigniter/workflows/.github/workflows/php-tests.yml@main with: php-version: ${{ matrix.php }} diff --git a/src/Livewire/FulfillmentModal.php b/src/Livewire/FulfillmentModal.php index 35030ef..cc7cc88 100644 --- a/src/Livewire/FulfillmentModal.php +++ b/src/Livewire/FulfillmentModal.php @@ -238,6 +238,6 @@ protected function checkScheduleRestriction(?bool $isAsap = null): bool return false; } - return !($isAsap && $restriction === AbstractOrderType::LATER_ONLY); + return !$isAsap || $restriction !== AbstractOrderType::LATER_ONLY; } }