[frontend] Removed scopes/dynamic.rb

The price_scopes_for method defined in this does not appear to be used anywhere
Fix issue where cancelling a line item delete didn't actually cancel it

Fixes #3862