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

Fixes issue #7 #94

Merged
merged 1 commit into from
May 29, 2017
Merged

Fixes issue #7 #94

merged 1 commit into from
May 29, 2017

Conversation

armahillo
Copy link
Collaborator

  1. Fixes deprecation warning for AppCo methods that respond to JSON requests.
  2. Adds .intake! to Donations#create (inventory was not being added).
  3. Dashboard now actually shows totals for inventory on-hand.
  4. Adds massive feature spec that ensures that dashboard totals reflect intake and distribution changes.

…ests. Adds .intake! to Donations#create (inventory was not being added. Dashboard now actually shows totals for inventory on-hand. Adds massive feature spec that ensures that dashboard totals reflect intake and distribution changes.
@armahillo armahillo added this to the MVP milestone May 28, 2017
@armahillo armahillo self-assigned this May 28, 2017
@@ -2,7 +2,8 @@ class DashboardController < ApplicationController
respond_to :html, :js

def index
@recent_donations = Donation.includes(:line_items).recent
@recent_distributions = Distribution.includes(:line_items).recent
@recent_donations = current_organization.donations.includes(:line_items).recent
Copy link
Member

Choose a reason for hiding this comment

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

Nice fix/find! I have these changed locally! So they are scoped to the organzation!

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.

None yet

2 participants