# Sally's Flower Shop - Actions

Sally has an additional request. Her business has been more successful than ever and consequently she's been running out of stock more frequently.

Therefore, she decided to start planting more flowers. This made it difficult for her to keep track of watering times. Sally now wants to track every flower she has planted using serial numbers. Additionally, she wants to have a list tracking all her watering activities.

# To-Do's:

  • Create a new model for tracking watering times (example: flower.water)
  • Add a button on stock.lot to create and link a new record of flower.water
  • Add a constraint on stock.lot to prevent the user from watering before they're supposed to (i.e. compare the last watering date with the watering frequency)
  • For more convenience, add a server action that automatically attempts to water all the selected flowers from the stock.lot list view
  • Ensure that all flower records display their names as per the following naming convention: scientific_name (common_name)