Skip to content
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

Open
wants to merge 35 commits into
base: develop
Choose a base branch
from

Conversation

nickwleo
Copy link
Collaborator

@nickwleo nickwleo commented Sep 6, 2015

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.

Nick Williams added 17 commits August 11, 2015 11:19
…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.
@nickwleo nickwleo added the review label Sep 6, 2015
@nickwleo nickwleo changed the title Lots and lots of features + fixes Front- and back-end for the various cards on the buyer and farmer pages + editing of the same + table-lists to replace some cards Sep 7, 2015
@nickwleo nickwleo changed the title Front- and back-end for the various cards on the buyer and farmer pages + editing of the same + table-lists to replace some cards Front- and back-end for all the cards on the buyer and farmer pages + editing of the same + table-lists to replace some cards Sep 7, 2015
'BuyerTypesListingFactory', 'OpenTransactionsFactory', 'TransactionsFactory', 'RepFactory', 'CropsFactory', 'UnitsFactory',
'BuyerDemandFactory', 'DemandsFactory',
'BuyerTypesListingFactory', 'OpenTransactionsFactory', 'TransactionsFactory', 'RepFactory', 'RepEditFactory', 'CropsFactory', 'UnitsFactory',
'BuyerDemandFactory', 'DemandEditFactory', 'DemandsFactory',
Copy link
Collaborator

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.

@nickwleo
Copy link
Collaborator Author

This pull request can be reviewed again now.

$scope.editDemandForm = function (index) {

$scope.edit_demand = !$scope.edit_demand;

Copy link
Contributor

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants