| @@ -5,8 +5,9 @@ | ||
| 5 | 5 | use FluentBooking\App\App; |
| 6 | 6 | use FluentBooking\App\Services\GlobalModules\GlobalModules; |
| 7 | 7 | use FluentBooking\App\Hooks\Handlers\AdminMenuHandler; |
| 8 | 8 | use FluentBooking\App\Services\Helper; |
| 9 | +use FluentBooking\App\Services\CurrenciesHelper; | |
| 9 | 10 | use FluentBooking\App\Services\Libs\Countries; |
| 10 | 11 | use FluentBooking\App\Services\OnboardingService; |
| 11 | 12 | use FluentBooking\Framework\Http\Request\Request; |
| 12 | 13 | use FluentBooking\Framework\Support\Arr; |
| @@ -81,9 +82,9 @@ | ||
| 81 | 82 | 'email_footer' => [ |
| 82 | 83 | 'wrapper_class' => 'fc_full_width fc_mb_0 fc_wp_editor', |
| 83 | 84 | 'type' => 'wp-editor-field', |
| 84 | 85 | 'label' => __('Email Footer for Booking related emails (Optional)', 'fluent-booking'), |
| 85 | - 'inline_help' => __('You may include your business name, address etc here, for example: <br />You have received this email because signed up for an event or made a booking on our website.', 'fluent-booking') | |
| 86 | + 'inline_help' => __('You may include your business name, address, etc. here. For example: <br />You have received this email because you signed up for an event or made a booking on our website.', 'fluent-booking') | |
| 86 | 87 | ] |
| 87 | 88 | ]; |
| 88 | 89 | |
| 89 | 90 | $settings['all_countries'] = Countries::get(); |
| @@ -131,8 +132,10 @@ | ||
| 131 | 132 | 'is_active' => $isActive == 'yes' ? 'yes' : 'no', |
| 132 | 133 | 'number_format' => $numberFormat == 'comma_separated' ? 'comma_separated' : 'dot_separated', |
| 133 | 134 | 'currency_position' => sanitize_text_field($currencyPosition) |
| 134 | 135 | ], 'no'); |
| 136 | + | |
| 137 | + CurrenciesHelper::getGlobalCurrencySettings(true); | |
| 135 | 138 | |
| 136 | 139 | return [ |
| 137 | 140 | 'message' => __('Settings updated successfully', 'fluent-booking') |
| 138 | 141 | ]; |