-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
implement the viewing of orders on the account
ported over the html and cleaned it up quite a bit. removed useless styling and logic. now it's a much cleaner solution compared to the original ran into a small issue however, when i originally specified the "on delete" action on the address in the order, i mistakenly specified a one-to-one relationship between the order and address which is inaccurate. one address could appear on many orders but one order cannot contain many addresses so that adjustment was made. what would happen is that the relationship would be severed after one order with the same address used on retrieving the orders from the database. it did continue to work when it is added to the database however
- Loading branch information
1 parent
7be304a
commit b09d30c
Showing
5 changed files
with
42 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters