cyrillefr
96d6718e6d
Remove true as select default first option
2025-02-21 14:20:59 +01:00
Maikel Linke
ba51641271
Symbolise hash keys in HAML files
...
This was done by the haml-up script.
2024-02-22 15:01:14 +11:00
Maikel Linke
c097f2b622
Upgrade HAML syntax with script
2024-02-22 15:01:13 +11:00
Neal Chambers
4feb8f922e
Fix Rails/HelperInstanceVariable in injection_helper.rb
2023-09-01 11:03:26 +09:00
Sinan Chaush
aedacb1311
Missing navigation for super admin users only included
2021-10-24 22:34:38 +02:00
Jean-Baptiste Bellet
434f9600b7
Enterprise fee must be linked with an enterprise
...
Add 2 validation / errorproof options:
- Add rails validation on `enterprise_id` on enterprise_fee model
- Do not add a blank option on the select: ie. user can select a blank enterprise in the form
Update tests as well
2021-07-27 15:39:40 +02:00
Matt-Yorkley
398b4a09a1
Improve enterprise fees calculator fields
2021-01-27 11:38:01 +00:00
Luis Ramos
5d6d7f7ad0
Adapt enterprise fees code and specs to new namespace of Sets::EnterpriseFeeSet
2021-01-14 09:41:07 +00:00
Luis Ramos
96a351ad0e
Adapt usage of Sets to their new location
2021-01-14 09:41:07 +00:00
Andy Brett
9ef706a201
update styles on enterprise fee UI
2020-09-21 15:21:18 -07:00
Andy Brett
96fb65600e
refactor views to oneliners without single letter variable names
2020-09-17 16:45:55 -07:00
Andy Brett
988abf7a8c
update preference field interface to be more clear
2020-09-17 08:27:45 -07:00
Andy Brett
d32ed6b48f
improve styling on calculators UI
2020-09-12 10:43:14 -07:00
luisramos0
5719455731
Make enterprise fees name placeholder translatable
2019-05-29 21:33:30 +01:00
Syed Usama Amer
75a7745736
Closes translation bug for enterprise fee settings
2019-05-01 10:43:35 -05:00
François Turbelin
88dea0f2b8
Adding i18n keys on Admin side (Rails views)
2017-01-11 10:00:06 +11:00
Maikel Linke
2a3b3b6dd2
Merge remote-tracking branch 'origin/master' into i18n-hackathon
...
Conflicts:
app/assets/javascripts/admin/enterprise_fees.js
app/assets/javascripts/admin/enterprises/controllers/side_menu_controller.js.coffee
app/views/admin/shared/_columns_dropdown.html.haml
app/views/admin/variant_overrides/_header.html.haml
app/views/admin/variant_overrides/_products.html.haml
spec/features/admin/bulk_order_management_spec.rb
spec/features/admin/variant_overrides_spec.rb
2016-03-11 15:38:28 +11:00
Maikel Linke
02cbad2697
Remove duplicate lines from merging
2016-03-09 18:49:35 +11:00
Rob Harrington
caa8818f02
Adding option to 'Inherit From Product' for enterprise_fee tax categories
2016-03-02 11:56:46 +11:00
Rob Harrington
a66582a8fb
WIP: Using directive for EnterpriseFee index select elements, to properly bind data to the model
2016-03-02 11:56:46 +11:00
Rob Harrington
0bd9dc7af0
Enterprise Fees: Splitting ng controllers and directives into separate files, reanming module and coffee-ising
2016-03-02 11:56:46 +11:00
apprenti
b58306aad8
my first translations
2015-12-21 09:47:18 +01:00
Rohan Mitchell
7af17242f9
EnterpriseFee admin interface allows selecting no fee
2015-03-16 14:05:04 +11:00
Rohan Mitchell
53fa71d1f3
Admin can set enterprise fee's tax category
2015-03-05 10:44:25 +11:00
Rob Harrington
6596e14e5d
Use shared partial for errors on EnterpriseFeeSet
2014-10-30 13:02:16 +11:00
Maikel Linke
aaa32528ea
Giving an example name for an enterprise fee.
...
The example is displayed as input placeholder. See bugherd #439 .
2014-09-05 15:10:11 +10:00
Rob H
d17a316387
remove naughty pry
2014-05-15 22:43:08 +10:00
Rob H
7cdfb4bab2
Add methods and fees to sidebar on enterprise edit page
2014-05-15 14:52:19 +10:00
Rohan Mitchell
adf4c0e387
Sort enterprises by name on enterprise fees admin page
2014-02-26 15:38:41 +11:00
Will Marshall
dec33ebda4
Fixing the HTML in the admin section
2013-11-28 16:13:13 +11:00
Rohan Mitchell
2533e52189
After saving, maintain filter on enterprise fees by enterprise
2013-10-30 17:36:54 +11:00
Rohan Mitchell
5386fa72cc
Enterprise fees admin page for a specific enterprise auto-selects that enterprise for new fees and only allows selection of managed enterprises
2013-10-30 17:00:05 +11:00
Rohan Mitchell
a6877c6981
Only render calculator HTML in enterprise fee JSON if explicitly requested. Improves load time of order cycles page.
2013-10-16 10:37:09 +11:00
Rob H
046eb256ff
Fix issues causing enterprise fee tests to break
2013-02-15 14:10:56 +11:00
Rohan Mitchell
d5310452b6
Admin list order cycles
2012-11-27 10:13:12 +11:00
Rohan Mitchell
7c5dcd6a90
Change angular_ prefix to ng_
2012-11-26 10:03:20 +11:00
Rohan Mitchell
6106f1b469
Calculator type change works, enterprise fee tests pass
2012-11-26 09:45:06 +11:00
Rohan Mitchell
c46b858563
Don't render teh bits we dont wants
2012-11-23 17:20:52 +11:00
Rohan Mitchell
5e0a5654ff
Correctly index calculator fields. Adds ng-bind-html-unsafe-compiled.
2012-11-23 17:02:58 +11:00
Rohan Mitchell
52ebe2c495
Provide proper names for angular select fields, add angular hidden field
2012-11-22 16:38:25 +11:00
Rohan Mitchell
fd0cc93e68
Add delete link
2012-11-22 16:19:10 +11:00
Rohan Mitchell
2a645d04ae
Move presentation to presenter, display calculator fields
2012-11-22 14:37:38 +11:00
Rohan Mitchell
b7bd21e498
Full-text search of form
2012-11-22 12:15:39 +11:00
Rohan Mitchell
873937db47
angular_collection_select
2012-11-22 11:45:55 +11:00
Rohan Mitchell
e64a86f5be
angular_select
2012-11-22 11:27:51 +11:00
Rohan Mitchell
ad76e66944
angular_options_for_select
2012-11-22 11:24:05 +11:00
Rohan Mitchell
216125c7a1
Start building some selects
2012-11-22 11:03:28 +11:00
Rohan Mitchell
d6802d9ae5
Generate text field with custom form builder - AngularFormBuilder
2012-11-22 09:53:26 +11:00
Rohan Mitchell
58917fe378
Convert enterprise select and name entry into form fields
2012-11-22 08:58:08 +11:00
Rohan Mitchell
dd155532f8
Add angular include, basic controller for listing enterprise fees, display fee ids using angular
2012-11-21 14:59:02 +11:00