Procházet zdrojové kódy

绿通预约取消

gorden před 8 měsíci
rodič
revize
249753290a
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      app/admin/service/order/AppointmentService.php

+ 1 - 1
app/admin/service/order/AppointmentService.php

@@ -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']) {