-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Front- and back-end for all the cards on the buyer and farmer pages + editing of the same + table-lists to replace some cards #132
base: develop
Are you sure you want to change the base?
Conversation
…id's design for the supplier card and decide on a prettier way for the Edit function to be triggered.
…ment David's design for the supplier card and decide on a prettier way for the Edit function to be triggered." This reverts commit ec60759.
…it from this one. Same supplier edit functionality as before.
…better Edit button for the supplies.
…k-end endpoints to carry out the updates.
…. Everything works correctly now.
'BuyerTypesListingFactory', 'OpenTransactionsFactory', 'TransactionsFactory', 'RepFactory', 'CropsFactory', 'UnitsFactory', | ||
'BuyerDemandFactory', 'DemandsFactory', | ||
'BuyerTypesListingFactory', 'OpenTransactionsFactory', 'TransactionsFactory', 'RepFactory', 'RepEditFactory', 'CropsFactory', 'UnitsFactory', | ||
'BuyerDemandFactory', 'DemandEditFactory', 'DemandsFactory', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nick22891 A suggestion here, instead of write more services/factories (DemandEditFactory), we could add the update verb to the DemandFactory already in place, since the DemandFactory shows a Demand by id. Less lines of code = Less bugs.
This pull request can be reviewed again now. |
$scope.editDemandForm = function (index) { | ||
|
||
$scope.edit_demand = !$scope.edit_demand; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why the extra line break for every line?
Mostly to do with updating different things and the corresponding front-ends/cards. Some other small miscellaneous fixes too as per issues in Waffle.
This is the big upcoming pull request I was talking about. Will definitely keep them smaller and on separate branches for each feature going forward as advised.