PluginProbe
Fluent Booking – The Ultimate Appointments Scheduling, Events Booking, Events Calendar Solution / trunk
Fluent Booking – The Ultimate Appointments Scheduling, Events Booking, Events Calendar Solution vtrunk
2.4.0 2.3.0 2.2.5 2.2.0 2.1.2 2.1.1 trunk 1.10.0 1.10.01 1.10.02 1.5.0 1.5.01 1.5.02 1.5.1 1.5.10 1.5.20 1.5.21 1.5.22 1.5.23 1.5.24 1.5.25 1.6.0 1.7.0 1.7.1 1.7.2 All 33 releases
← All changes | app/Http/Controllers/SettingsController.php +4 -1 1.10.02trunk View file →
@@ -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 ];