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

[WIP] Suppliers #656

Merged
merged 35 commits into from
Apr 9, 2018
Merged

[WIP] Suppliers #656

merged 35 commits into from
Apr 9, 2018

Conversation

guyzohar1
Copy link
Contributor

Proposed solution

Tradeoffs

Testing Done

Copy link
Contributor

@OriHoch OriHoch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@amotenko
Copy link
Member

Looks very good, would love if we could go over the main points tomorrow together!

@amotenko amotenko changed the title Suppliers [WIP] Suppliers Mar 1, 2018
@shaniqwa
Copy link
Contributor

resolved conflict in page.jade: I have made some changes in the nav. have added suppliers to top-nav in ui-style-fix branch. should be good once they are both merged to master

shaniqwa and others added 9 commits April 1, 2018 23:51
# Conflicts:
#	app.js
#	locales/he/suppliers.json
#	migrations/20180211232239_suppliers.js
#	models/constants.js
#	models/suppliers.js
#	routes/api/api_suppliers_routes.js
#	routes/index.js
#	views/pages/suppliers/edit.jade
* Move utility function in api_camps_routes to services.
Fix linting
Replace vars with const and let.

* Initial structure (using routers and controllers)

* Refactor api_camp_routes
Refactor api_events_routes

* Refactor api_routes (auth)

* Refactor public camp routes

* Fix an error in jade file
Connect new API router to main app.

* Add comments to index

* Fix 404 redirect

* Truly fix 404

* Add S3 changes to new refactored api

* Fix lint

* Merge fixs

* Add DGS date columns to admin edit (GUI only)

* Add DGS column to camps.
Add DGS column to admin camps management table.
Add disabled logic (for both quota columns).
E2E - add dates to event, see the column is not disabled, add dgs tickets.

* Handle dates in event editing

* Add separation in camp edit statistics between ticket types
Fix counts of statistics (total in camps, allocated, allocated by ticket etc...)
Add dgs to B.E.
Validate adding tickets and removing tickets

* Fix counts

* Fix lint

* Initial work on camp edit disabling

* Implement disabling camp-manager page

* Handle no event rules found (fix test)

* continuous deployment from api-refactor-feb-2018 to sparktesting environment (#770)

* Merge DGS changes

* Merge suppliers

* Fix Lint
Fix Merge

* Fix lint

* Merge fixs

* Fix JSON

* Added Supplier entries route and initial view file

* Broken progress commit

* Initial work on supplier entries page

* Add some fields

* Add some fields

* Add functionaly to view entries
Add functionality to add/exit entry
validate data on adding entry

* Add table sorting.
Add overdue class (lines are red if supplier is overdue)

* Translation fix
Smaller sorting icon

* Lint fix
CSS add-on
* Supplier contracts - WIP

* Drop unneeded column

* Add SupplierContract model

* Add a bucket for supplier contracts

* Resolving rebase conflict

* Resolving rebase conflict

* Add checking for existing supplier; Insert or update the contract in the DB

* Add a route for GETting supplier contract (#803)

* Add a route for DELETing supplier contract (#803)

* Improvements - supplier contract management (#803)

- Change the type of supplier_id column to string
- Change the column name of contract file to `file_name`

* Improvements - supplier contract management (#803)

- Add routes documentation
- Limit access to camp admins
- Change a contract column name to `file_name`

* Delete extraneous userRole declaration (#803)
@amotenko amotenko merged commit 86317d2 into master Apr 9, 2018
@amotenko amotenko deleted the suppliers branch April 11, 2018 19:12
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.

8 participants