Просмотр исходного кода

fix(lakala): update receiver status to binding during profit share setup

- Changed default status from BOUND to BINDING when creating profit share receivers
- Ensures proper state tracking during initial setup phase
- Aligns with expected workflow for receiver onboarding process
runphp 4 месяцев назад
Родитель
Сommit
87458fcf97
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/Entity/ProfitShareReceiverEntity.php

+ 1 - 1
src/Entity/ProfitShareReceiverEntity.php

@@ -144,7 +144,7 @@ class ProfitShareReceiverEntity extends BaseEntity
             'entrustFileName' => $entity->entrust_file_name,
             'entrustFilePath' => $entity->entrust_file_path,
         ]);
-        $entity->status = ReceiverStatusEnum::BOUND;
+        $entity->status = ReceiverStatusEnum::BINDING;
         $entity->save();
         return $entity;
     }