weenhanceit / autism-funding

A Web App to Help Manage BC Autism Funding
MIT License
0 stars 0 forks source link

TypeError in Invoices#edit #74

Closed philcarrillo closed 7 years ago

philcarrillo commented 7 years ago

Deleted an application (from a double displayed invoice), saved and when I went back to edit the invoice got an application error

app/models/invoice_allocation.rb:41:in amount_available' app/views/invoices/_invoice_allocation.html.erb:13:in_app_views_invoicesinvoice_allocation_htmlerb2609109141747637865_69810927133860' app/views/invoices/_invoice_allocation_wrapper.html.erb:12:in block in _app_views_invoices__invoice_allocation_wrapper_html_erb__2629032078826882742_69811110965440' app/views/invoices/_invoice_allocation_wrapper.html.erb:10:in_app_views_invoicesinvoice_allocation_wrapper_html_erb2629032078826882742_69811110965440' app/views/invoices/_enter_invoice_form.html.erb:109:in block in _app_views_invoices__enter_invoice_form_html_erb__1431314722395196002_69811083385260' app/views/invoices/_enter_invoice_form.html.erb:5:in_app_views_invoicesenter_invoice_form_html_erb1431314722395196002_69811083385260' app/views/invoices/edit.html.erb:3:in `_app_views_invoices_edit_html_erb__4040823873232800996_69811084422860'

lcreid commented 7 years ago

I assume you meant "deleted an allocation". Do you mean you deleted it on the back end or via the console? What are the steps to reproduce?

lcreid commented 7 years ago

Can't reproduce, so closing.