mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-10 01:52:22 +03:00
found the problem
This commit is contained in:
parent
ee4a0bcc86
commit
44b4e0f55d
1 changed files with 3 additions and 4 deletions
|
@ -491,8 +491,7 @@ class Booking extends EA_Controller
|
||||||
'appointment_id' => $appointment['id'],
|
'appointment_id' => $appointment['id'],
|
||||||
'appointment_hash' => $appointment['hash'],
|
'appointment_hash' => $appointment['hash'],
|
||||||
];
|
];
|
||||||
var_dump($response);
|
|
||||||
die();
|
|
||||||
json_response($response);
|
json_response($response);
|
||||||
} catch (Throwable $e) {
|
} catch (Throwable $e) {
|
||||||
json_exception($e);
|
json_exception($e);
|
||||||
|
@ -533,8 +532,8 @@ class Booking extends EA_Controller
|
||||||
$service = $this->services_model->find($appointment['id_services']);
|
$service = $this->services_model->find($appointment['id_services']);
|
||||||
|
|
||||||
$exclude_appointment_id = $appointment['id'] ?? null;
|
$exclude_appointment_id = $appointment['id'] ?? null;
|
||||||
die();
|
|
||||||
$provider = $this->providers_model->find($post_data['id_users_provider']);
|
$provider = $this->providers_model->find($appointment['id_users_provider']);
|
||||||
|
|
||||||
|
|
||||||
$available_hours = $this->availability->get_available_hours(
|
$available_hours = $this->availability->get_available_hours(
|
||||||
|
|
Loading…
Reference in a new issue