Skip to content

Commit

Permalink
Fix 'Add line command' (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
verarojman authored and leio10 committed Jul 22, 2021
1 parent 60b9e79 commit 92bdf60
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def add_line_item
end

def exceeds_budget?
order.allocation_for(project) + order.total > project.budget.total_budget
order.allocation_for(project) + order.total > order.available_allocation
end

def voting_not_enabled?
Expand Down

0 comments on commit 92bdf60

Please sign in to comment.