Moved JavaScript libraries to the top of the layout. Placing them at the bottom meant nothing defined outside the layout could access them since custom scripts would appear above the libraries they depended on
Changed simulations update action. Moved function to update approx_daily_value to the transactions store action and restored SimulationsController@update to a normal update action.
Added functionality to the TransactionsController@store action. It now updates the approx_daily_value column on the new transaction's owner simulation.
Opening php tag was missing for some reason. Re-added it.
Added chart view on simulations index page. User can toggle all individual simulations from appearing on the chart.