rabin пре 18 часа
родитељ
комит
a8f4e807c6
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      src/place/order/app/Lib/Notify.php

+ 2 - 2
src/place/order/app/Lib/Notify.php

@@ -40,9 +40,9 @@ class Notify
             $refund = Dever::db('porder/' . $type . '_refund')->find($refund_id);
             $refund = Dever::db('porder/' . $type . '_refund')->find($refund_id);
             if ($refund) {
             if ($refund) {
                 if ($status == 1) {
                 if ($status == 1) {
-                    Dever::db('porder/' . $type . '_refund')->update($refund_id, ['status' => 3]);
+                    Dever::db('porder/' . $type . '_refund')->update($refund_id, ['pay_status' => 3]);
                 } elseif ($status == 2) {
                 } elseif ($status == 2) {
-                    Dever::db('porder/' . $type . '_refund')->update($refund_id, ['status' => 4]);
+                    Dever::db('porder/' . $type . '_refund')->update($refund_id, ['pay_status' => 4]);
                 }
                 }
             }
             }
         }
         }