Improved and simplified coupon form management
Removed no longer useful tests
Fixed coupon input field name
Checked coupon type before trying to get the service.
PHP-CS fixer
Added "js" parameter to intl function for a safe usage in JS string,
Changed "return_to" into "previous"
replaced ucfirst by underscoreToCamelcase for calculating method name
Fixed InvalidArgumentException: No module found for code 'default'
Changed {navigate to="return_to"} to {navigate to="previous"}
Added js=1 parameter toi {intl} calls used in javascript strings
Fixed typo.
Fixed typo.
Added new coupon types translations
Added new coupon types
The coupon type is now passed to te template
Order total may be calculated with or without discounted items
Order total may be calculated with or without discounted items
Coupon type template framgment may define a couponInputFormSetup JS function
Added new coupon type translations