|
@@ -356,7 +356,7 @@ class AppointmentService
|
|
->where('appointment_id', '<>', $params['appointment_id'])
|
|
->where('appointment_id', '<>', $params['appointment_id'])
|
|
->get()
|
|
->get()
|
|
->toArray();
|
|
->toArray();
|
|
- if ($goods->is_support_appointment == 'Y' && !empty($goods->goods_attribute_json)) {
|
|
|
|
|
|
+ if ($goods->is_support_appointment == 'Y' && !empty($goods->goods_attribute_json) && $appointment->appointment_category != 'GREENWAY') {
|
|
$extendJson = json_decode($goods->goods_attribute_json, true);
|
|
$extendJson = json_decode($goods->goods_attribute_json, true);
|
|
foreach ($extendJson['times'] as $key => $time) {
|
|
foreach ($extendJson['times'] as $key => $time) {
|
|
if ($time['duration'] == $params['appointment_times']) {
|
|
if ($time['duration'] == $params['appointment_times']) {
|