Skip to content

Nicolas Havard#40

Open
nicolashavard wants to merge 2 commits intoOptiways:masterfrom
nicolashavard:master
Open

Nicolas Havard#40
nicolashavard wants to merge 2 commits intoOptiways:masterfrom
nicolashavard:master

Conversation

@nicolashavard
Copy link

Here the work done in 4 hours.

They are many things that haven't been done.
Some of them are in mind, others not.

What I wanted to do:

  • Make a validation check at the creation of bus shift:
    • Fetch the driver and check is availability by fetching all the bus shift of the day with his ID as driver.
    • The same go for the bus, But I am not sure why the two of them are dissociated
    • Make sure that in the form at least two bus stop have been provided
      • If yes, check if the new bus shift will not overlap a previous bus shift with the bus/driver

Add two new models for the creation of bus shift with bus stop
Here the 2 attempts os the DB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant