KKlochko
|
2b8d6e3062
|
Fix README.
|
2 years ago |
KKlochko
|
e840ead1ea
|
Update the README.
|
2 years ago |
KKlochko
|
59c48d1984
|
Add the docker files.
|
2 years ago |
KKlochko
|
f944a67a24
|
Add license.
|
2 years ago |
KKlochko
|
db70255f4f
|
Fix CategoryItemAPI->saveMap to save items with parents.
|
2 years ago |
KKlochko
|
387858a2de
|
Refactor the index page in the CategoryController.
|
2 years ago |
KKlochko
|
87c921c3e3
|
Add the index page to show the cart's items.
|
2 years ago |
KKlochko
|
028dcbddd1
|
Update CategoryResource to show only item templates.
|
2 years ago |
KKlochko
|
38f99d0a84
|
Add the route to show cart items.
|
2 years ago |
KKlochko
|
78c197549d
|
Add a resource and a collection for show CartItem.
|
2 years ago |
KKlochko
|
d5cd9f4096
|
Fix the getters in Cart model for a city, a company.
|
2 years ago |
KKlochko
|
d584379888
|
Refactor names for the Company, Category, User APIs and tests.
|
2 years ago |
KKlochko
|
4d8506a3a4
|
Refactor names for the Cart API and its tests.
|
2 years ago |
KKlochko
|
5e88be6760
|
Update the index page to show only city's companies.
|
2 years ago |
KKlochko
|
e2cf7d4199
|
Update the method, saveMap, for CompanyAPI to save a city as parent.
|
2 years ago |
KKlochko
|
b371ac2773
|
Add a getter for companies in City model.
|
2 years ago |
KKlochko
|
8850d43575
|
Fix the addItemIds method in Cart model.
|
2 years ago |
KKlochko
|
5b0a1ee8f6
|
Fix methods to add/remove items from the Cart.
|
2 years ago |
KKlochko
|
50d39c7e9b
|
Add methods to City model to add, remove Company by id.
|
2 years ago |
KKlochko
|
118b9bb74c
|
Add methods to City model to get, add, remove Companies by ids.
|
2 years ago |
KKlochko
|
f7214205d8
|
Add Pivot table for the relationship between Cities and Companies.
|
2 years ago |
KKlochko
|
962b423d0d
|
Add tests for the addItem method, that add an item to a Cart.
|
2 years ago |
KKlochko
|
7636ae4715
|
Fix Cart.getItem() method.
|
2 years ago |
KKlochko
|
fd4a4bf5ea
|
Add the addItem method, that add an item to a Cart, and its route.
|
2 years ago |
KKlochko
|
6bb99c7f70
|
Add the clone method for Item model.
|
2 years ago |
KKlochko
|
ada0abd69d
|
Add the count field to Item model.
|
2 years ago |
KKlochko
|
563254c725
|
Add getItem to Cart model.
|
2 years ago |
KKlochko
|
e91b808a0f
|
Add a method to check that an item in a cart.
|
2 years ago |
KKlochko
|
73b45084b7
|
Refactor the Cart method names.
|
2 years ago |
KKlochko
|
23b0f0477a
|
Update the index page for companies to show using the User data.
|
2 years ago |
KKlochko
|
57dd0c1660
|
Update the index page for categories to show company's categories.
|
2 years ago |
KKlochko
|
3daf18f5c3
|
Add CategotyItemAPI, ItemAPI to get items from DotsAPI.
|
2 years ago |
KKlochko
|
5d0c12fac1
|
Add parent as an argument to the saveMap method for DotsAPI classes.
|
2 years ago |
KKlochko
|
6e8a34112a
|
Add tests for the Item.isBelong method.
|
2 years ago |
KKlochko
|
a7dbea1d79
|
Add getCategory, getCompany, isBelong methods to Item model.
|
2 years ago |
KKlochko
|
751921e83f
|
Add tests for the Item validations.
|
2 years ago |
KKlochko
|
aedb4d5949
|
Add the validation for Item that returns message for requests.
|
2 years ago |
KKlochko
|
65fa84344e
|
Update CategoryResource to show items of categories.
|
2 years ago |
KKlochko
|
3eff14173b
|
Add getters to Cart model to get its City or Company.
|
2 years ago |
KKlochko
|
e0ec4f1efa
|
Add foreign keys to field in Category, Item models.
|
2 years ago |
KKlochko
|
90edc9bdf4
|
Add tests for the selectCompany method.
|
2 years ago |
KKlochko
|
b3d7815f59
|
Add the selectCompany method and its route.
|
2 years ago |
KKlochko
|
399eab4cad
|
Refactor the name for the test to select another city in CartTest.
|
2 years ago |
KKlochko
|
3fe7287e06
|
Refactor the Cart model.
Moved the dropItems above its first usage.
|
2 years ago |
KKlochko
|
d90f017cbe
|
Add the getItemIds in the Cart to get ids of items.
|
2 years ago |
KKlochko
|
a8559a52c6
|
Add the setCompany method in the Cart model.
|
2 years ago |
KKlochko
|
8cdd2f2bbe
|
Add tests for the Company validations.
|
2 years ago |
KKlochko
|
65280168a4
|
Update CartTest to remove the temporary cart.
|
2 years ago |
KKlochko
|
b71073d81d
|
Update the CompanySeeder to have a second company.
|
2 years ago |
KKlochko
|
fd4a37c36a
|
Add the validation for Company that returns message for requests.
|
2 years ago |