diff --git a/application/language/arabic/translations_lang.php b/application/language/arabic/translations_lang.php new file mode 100755 index 00000000..5934f0fb --- /dev/null +++ b/application/language/arabic/translations_lang.php @@ -0,0 +1,456 @@ +>>>>>> upstream/develop +======= +$lang['contact_info'] = 'Contact Info'; +>>>>>>> remotes/upstream/develop // End diff --git a/application/libraries/Captcha_builder.php b/application/libraries/Captcha_builder.php index 884439d8..14a06a9d 100644 --- a/application/libraries/Captcha_builder.php +++ b/application/libraries/Captcha_builder.php @@ -41,6 +41,10 @@ class Captcha_builder * @var array */ protected $lineColor = null; + /** + * @var array + */ + protected $background = null; /** * @var array */ diff --git a/application/models/Services_model.php b/application/models/Services_model.php index 1b67e527..074b4e07 100644 --- a/application/models/Services_model.php +++ b/application/models/Services_model.php @@ -96,7 +96,9 @@ class Services_model extends EA_Model // If a category was provided then make sure it really exists in the database. if (!empty($service['id_service_categories'])) { - $count = $this->db->get_where('categories', ['id' => $service['id_service_categories']])->num_rows(); + $count = $this->db + ->get_where('service_categories', ['id' => $service['id_service_categories']]) + ->num_rows(); if (!$count) { throw new InvalidArgumentException( @@ -387,7 +389,7 @@ class Services_model extends EA_Model foreach ($resources as $resource) { $service['category'] = match ($resource) { 'category' => $this->db - ->get_where('categories', [ + ->get_where('service_categories', [ 'id' => $service['id_service_categories'] ?? ($service['serviceCategoryId'] ?? null), ]) ->row_array(), diff --git a/application/views/components/booking_final_step.php b/application/views/components/booking_final_step.php index bd0abae1..4f696c61 100644 --- a/application/views/components/booking_final_step.php +++ b/application/views/components/booking_final_step.php @@ -11,13 +11,19 @@