bug fixes: Ensure agent transactions exists while seeder#477
bug fixes: Ensure agent transactions exists while seeder#477beesaferoot wants to merge 0 commit intomainfrom
Conversation
|
Hey @beesaferoot Even with this change the generated data is utterly inconsistent. I think we need to need to look at the different Agent balance entries individually (as they function differently). Agent Transactions: These are already getting generated in Agent Charges: This already happens in Agent Receipt: It is not clear to me what an Agent Receipt even is. Maybe we can ignore this for now, until we have clarity. I created #478 to follow up Agent Commission: Again, this is not fully clear to me. I would assume commission is somehow related to Sold and Assigned appliances. Probably generating reasonable demo data for this is quite complicated 😅 |
Okay, this is something I will need to carefully look into. There is a bit of missing context with how they are all applied to the Agent |
|
Agent transactions seeding will be handle with #568 |
|
Hey @beesaferoot as #568 is merged. Can we close this one? |
Yes, just checking now. The balance history is being seeded properly, I believe
|

Brief summary of the change made
With this PR, we add more records to the agent balance history while also ensuring agents have transactions.
Closes: #475
Are there any other side effects of this change that we should be aware of?
Describe how you tested your changes?
Pull Request checklist
Please confirm you have completed any of the necessary steps below.