Преглед изворни кода

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 месеци
родитељ
комит
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,
             'entrustFileName' => $entity->entrust_file_name,
             'entrustFilePath' => $entity->entrust_file_path,
             'entrustFilePath' => $entity->entrust_file_path,
         ]);
         ]);
-        $entity->status = ReceiverStatusEnum::BOUND;
+        $entity->status = ReceiverStatusEnum::BINDING;
         $entity->save();
         $entity->save();
         return $entity;
         return $entity;
     }
     }