| @@ -1,6 +1,8 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | +defined('ABSPATH') || exit; | |
| 4 | + | |
| 3 | 5 | use FluentBooking\Framework\Support\Arr; |
| 4 | 6 | use FluentBooking\App\Services\CurrenciesHelper; |
| 5 | 7 | use FluentBooking\App\Services\DateTimeHelper; |
| 6 | 8 | |
| @@ -81,9 +83,9 @@ | ||
| 81 | 83 | if (!isset($settings['can_not_cancel'])) { |
| 82 | 84 | $enabled = Arr::get($settings, 'can_cancel') == 'no' ? true : false; |
| 83 | 85 | $settings['can_not_cancel'] = [ |
| 84 | 86 | 'enabled' => $enabled, |
| 85 | - 'message' => 'Sorry! you can not cancel this', | |
| 87 | + 'message' => 'Sorry! you cannot cancel this', | |
| 86 | 88 | 'type' => 'always', |
| 87 | 89 | 'condition' => [ |
| 88 | 90 | 'unit' => 'minutes', |
| 89 | 91 | 'value' => 30 |
| @@ -94,9 +96,9 @@ | ||
| 94 | 96 | if (!isset($settings['can_not_reschedule'])) { |
| 95 | 97 | $enabled = Arr::get($settings, 'can_reschedule') == 'no' ? true : false; |
| 96 | 98 | $settings['can_not_reschedule'] = [ |
| 97 | 99 | 'enabled' => $enabled, |
| 98 | - 'message' => 'Sorry! you can not reschedule this', | |
| 100 | + 'message' => 'Sorry! you cannot reschedule this', | |
| 99 | 101 | 'type' => 'always', |
| 100 | 102 | 'condition' => [ |
| 101 | 103 | 'unit' => 'minutes', |
| 102 | 104 | 'value' => 30 |
| @@ -191,5 +193,5 @@ | ||
| 191 | 193 | 'status' => false |
| 192 | 194 | ]; |
| 193 | 195 | return $methods; |
| 194 | 196 | }); |
| 195 | -} | |
| 197 | +} | |