Rachel Arnould
c4c266246c
Merge pull request #13507 from rioug/tag-rules-remove-angular
...
[Variant Tags] Remove angular from tag rule admin page
2025-10-15 23:16:05 +02:00
Maikel Linke
7a12e7426f
Pass actors instead of AR associations to Flipper
...
Apparently they removed support for checking collections of actors.
2025-10-14 13:32:51 +11:00
Maikel Linke
f2f0d954c6
Move source of truth of platforms into one place
...
The first test tokens had an inconsistent client_id and I had to
introduce multiple mappings to get the right config. But that has been
harmonised and we can put the config in one place.
2025-10-10 16:18:22 +11:00
Gaetan Craig-Riou
afdc40d230
Move helper function to component
...
It's only used in the component so there is no need to keep it as an
helper.
2025-09-24 10:40:43 +10:00
Gaetan Craig-Riou
d3ef744daf
Display existing grouped tag rules
2025-09-24 10:40:43 +10:00
Gaetan Craig-Riou
35d37639af
Refactor tag rule filter input
...
Consolidated four partials into one
2025-09-24 10:38:53 +10:00
Gaetan Craig-Riou
11006c3a60
Display default rule
2025-09-24 10:36:21 +10:00
Andrey Usyaev
3d7799df19
Fix code review remarks
2025-08-27 13:21:44 +03:00
Andrey Usyaev
5f02d88a86
Fix missed I18n translations for enterprises sells options
2025-08-27 13:21:44 +03:00
Maikel Linke
b3d3d6bf06
Allow DPM feature for specific users
2025-08-11 15:25:50 +10:00
Maikel Linke
f65e4797cf
Add feature toggle for DFC dev platform
2025-08-08 14:00:40 +10:00
Ahmed Ejaz
025fc784a8
Refactor products_return_to_url method to remove url_filters parameter and simplify usage in views
2025-07-27 06:26:12 +05:00
Gaetan Craig-Riou
dc84d32028
Disable link to inventory related settings for enterprise
...
Metrics/CyclomaticComplexity is disabled on `enterprise_side_menu_items`
because even though there is a lot of branching it's still readable
2025-07-09 11:35:26 +10:00
Cillian O'Ruanaidh
65efd3b66c
Render confirm remove image modal outside of form so a simple :button_to can be used instead of submitting via Stimulus controller.
2025-05-02 13:07:31 +01:00
Vishal Deepak
1586c8ef28
New varaints should inherit tax category in UI
2025-01-10 13:30:18 +05:30
Gaetan Craig-Riou
0695b434a2
Fix rebase issue
2024-10-14 15:01:18 +11:00
Gaetan Craig-Riou
4ad6971121
Fix Bulk product edit system spec after rebase
2024-10-14 15:01:18 +11:00
Ahmed Ejaz
5be53a40a9
11200: rename products scope
2024-09-11 11:54:38 +05:00
Ahmed Ejaz
76fdf3725a
11200: add explanations
2024-09-11 11:41:01 +05:00
Ahmed Ejaz
f8d3467d46
11200: add specs
2024-09-11 01:59:43 +05:00
Ahmed Ejaz
1580d539df
11200: coniditonally hide producer column
2024-09-11 00:56:52 +05:00
Konrad
059dceb304
Merge pull request #12735 from chahmedejaz/bugfix/12698-fix-products-stateful-navigataion
...
Fix 'Back to products list' stateful navigation
2024-08-15 10:43:13 +02:00
Ahmed Ejaz
b14cd08990
12698 - keep old UI URL as it is
2024-08-13 14:23:39 +05:00
Ahmed Ejaz
787205dcca
Merge branch 'master' into bugfix/12739-fix-number-rounding-with-hu-locale
2024-08-09 01:59:50 +05:00
Filipe
76d874d5f9
Merge pull request #12710 from chahmedejaz/bugfix/12705-fix-products-index-page
...
[BUU] Fixes Products Page ActionView::Template::Error
2024-08-08 16:20:26 +01:00
Ahmed Ejaz
6757c8df74
12739 - fix number_with_precision method
2024-08-07 18:54:35 +05:00
David Cook
254e11aa36
Use whitelist
...
It wasn't really necessary, but I'm going to need this list in a moment, so we might as well use it.
Also it allows us to ensure the options are listed in a certain order.
Also maybe it will help protect against corrupt preferences.
2024-08-06 11:26:03 +02:00
David Cook
fcea437d7e
Only show connected apps in enterprise settings, if system setting is enabled
2024-08-06 11:26:03 +02:00
Ahmed Ejaz
c101c4e42f
12698 - fix 'go back to products' stateful navigation
2024-08-05 13:51:59 +05:00
Ahmed Ejaz
1014a50aff
12705 - incorporate old UI behavior
...
- if unit_value is not present and unit_description then display unit_description only.
- if both are not present then display empty fields
2024-08-04 17:47:02 +05:00
Ahmed Ejaz
e808c7fb2b
12705 - set 1 as default for variant's unit_value
2024-07-25 23:42:03 +05:00
Ahmed Ejaz
c52c2ebfe1
12570 - fix specs
2024-07-12 18:20:19 +05:00
Ahmed Ejaz
0986971473
12570 - fix variant's display_as field being empty issue
...
- New variant unit_value is empty, so +VariantUnits::OptionValueNamer.new(variant).name+ returns ""
- Now we are making sure that new variant unit_value won't be empty
2024-07-12 17:00:42 +05:00
cyrillefr
8616847793
Update button should change status on modified white label
...
- swap position between users & white label so that user's inner form
- does not interfere with white_label own position in outer form
- modified spec so that lowermost user is clickable
2024-06-17 17:11:19 +02:00
Abdul Aziz Ali
369ea7cd16
Define tax_on_fees i8n key #11680
2024-06-03 13:04:36 +08:00
Abdul Aziz Ali
82f75e344f
Display additional tax total in order #11680
...
Add new text key admin.order.edit.additional_tax_included_in_price
Add spec file for additional tax display. Add new trait for enterprise fee and calculator factory
2024-06-03 12:50:37 +08:00
Filipe
706da37f15
Merge pull request #12507 from mkllnk/connected-apps-super-admin
...
Allow only enterprise managers to connect apps
2024-06-01 18:16:28 +02:00
Maikel Linke
4e8896d655
Clearer naming of helper method
2024-05-24 08:17:08 +10:00
Maikel Linke
7b9577b547
Allow only enterprise managers to connect apps
...
Otherwise it doesn't work because non-managers, like super admins, are
not authorised to access enterprise data via the DFC API.
2024-05-23 13:44:47 +10:00
David Cook
536b5608ab
Show edit form for new images
2024-05-22 17:08:58 +10:00
Matt-Yorkley
c01bab5f27
Wrap commonly-repeated calls to Spree::Config to reduce unnecessary cache reads
...
These config values are relatively static but in some cases they can be called many times in the same request (like rendering a report or a large list of line_items in BOM). These values will now only get fetched from Redis/Postgres once at most per request/job.
2024-03-26 13:39:16 +00:00
Maikel Linke
78e42ec664
Show Connected Apps only to enterprise managers
...
Super-admins also saw that tab but connecting an app doesn't work unless
you are a manager of that enterprise.
2024-01-11 12:20:40 +11:00
Dung Bui
ab6a7e307b
remove unused helpers
2024-01-04 00:19:15 +07:00
Gaetan Craig-Riou
9609ba4268
Don't show the banner if no ToS file uploaded
2023-12-22 13:20:14 +01:00
Gaetan Craig-Riou
aaa8f3f572
Per review, move logic to display ToS banner to a helper
...
It easier to understand when we can see the logic to display the banner
in the view.
2023-12-22 13:20:14 +01:00
Maikel Linke
d4ce3965b1
Connected apps can be enabled per user or enterprise
2023-12-15 11:22:15 +11:00
Maikel Linke
af2b65256f
Add new enterprise settings tab Connected Apps
2023-12-15 11:22:15 +11:00
Maikel Linke
f6903518c3
Remove orphaned JSON data in admin pages
...
This was left over data from commit:
- 79ba223e12
2023-11-03 15:16:22 +11:00
Maikel Linke
f83e78a5b8
Clarify adjustment data only for display
...
We are not creating a new adjustment here.
2023-10-12 15:16:38 +11:00
Maikel Linke
74c8f06e80
Simplify helper with extracted method
2023-10-12 14:17:41 +11:00