GeorgeThoppil
898c470c00
Change enterprise visibility scope
2022-04-21 20:27:28 -04:00
Filipe
4ea1dd68af
Merge pull request #9023 from apricot12/8908-Access-Enterprise-perms-from-setting-page
...
Enterprise can access permissions from enterprise edit page
2022-04-21 13:21:27 +01:00
Cillian O'Ruanaidh
4162830bee
Switch help modals from angular templates to use ViewComponent and StimulusJs
2022-04-20 09:36:30 +10:00
Filipe
4009f3313f
Merge pull request #8814 from Matt-Yorkley/tom-select
...
Introduce new select/dropdown library
2022-04-15 18:08:08 +01:00
Nihal Mohammed
15e7a5a4df
Rename product_stock_display to product_low_stock_display
...
Rename product_stock_display to product_low_stock_display in enterprise_serializer and shop_variant_controller
2022-04-15 10:59:42 +10:00
Jean-Baptiste Bellet
143c977a19
i18n for shop preferences
2022-04-15 10:53:28 +10:00
Nihal M. Kelanthodika
356d759dbe
Add Display stock option to enterprises form
2022-04-15 10:53:28 +10:00
Nihal M. Kelanthodika
f7a767988c
Add preferred_product_stock_display to Enterprise model, serializer and permitted attributes. (Fixed alignment of guest orders radio button as well)
2022-04-15 10:53:28 +10:00
Nihal Mohammed
d23846bfa2
Add Enterprise Settings to admin enterprises edit side menu, adds redirect_function to side menu services.
2022-04-13 17:03:04 +05:30
Maikel
a4bffc61f1
Merge pull request #8997 from apricot12/8968-Group-products-by-supplier-P1
...
Sort products by supplier in invoice
2022-04-13 11:54:12 +10:00
Matt-Yorkley
09bd7126d8
Replace/remove a custom select2 Angular directive
2022-04-05 18:56:51 +01:00
Nihal Mohammed
b2613f3331
Add translations
2022-03-28 18:26:39 +05:30
Nihal Mohammed
cc120aecb6
Add radio buttons to give Enterprise choice on sorting of items by name or supplier in invoice
2022-03-21 20:29:19 +05:30
Cillian O'Ruanaidh
1c80e88758
Fix order cycle advanced settings close button so it uses new remote toggle StimulusJs controller instead of old toggleSettings method
...
Closes #9012
2022-03-17 16:30:26 +00:00
Filipe
53544ee66a
Merge pull request #8805 from cillian/remove-inline-advanced-settings-toggle-js
...
Replace inline JS for toggling order cycle advanced settings with StimulusJs controller
2022-03-17 16:05:46 +00:00
François Turbelin
23776c7a3e
Fix more specs
2022-02-16 10:23:23 +11:00
Adrien Chauve
ca46359224
More fixes
2022-02-16 10:23:22 +11:00
Matt-Yorkley
1c180299a5
Pass indexed payment method tags to PaymentMethod Serializer
2022-02-08 11:42:24 +00:00
Cillian O'Ruanaidh
b43a68d717
Merge branch 'master' into remove-inline-advanced-settings-toggle-js
2022-02-04 12:24:17 +00:00
Cillian O'Ruanaidh
05756616dd
Add a remote-toggle controller that can toggle elements outside of its scope
...
This is instead of adding the :data-controller attribute to the div#wrapper because that will wrap pretty much all content on the admin pages.
Co-authored-by: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com >
2022-02-04 12:23:24 +00:00
Cillian O'Ruanaidh
d03b52a163
Revert "Replace inline JS for toggling order cycle advanced settings with StimulusJs controller"
...
This reverts commit 67ae2e72f3 .
2022-02-04 11:47:38 +00:00
Filipe
998f7afdc4
Merge pull request #8523 from seballot/progress-for-ajax-request
...
Improve loading spinner display
2022-02-01 10:03:04 +00:00
Cillian O'Ruanaidh
67ae2e72f3
Replace inline JS for toggling order cycle advanced settings with StimulusJs controller
...
Partially addresses #8699 .
This adjusts the Stimulus toggle controller so you can toggle content in both directions via a single element. This is in addition to the previous behaviour for toggling via multiple elements like radio buttons when each element always toggles in one direction only.
If a toggle element contains a chevron icon this will automatically toggle the direction of that icon too.
Note, in order to not have to re-implement the animation provided by the slideToggle() function in standard JavaScript, this just switches the style :display between 'none' and 'block' so it is not as smooth. Perhaps it could be made more smooth later with a CSS transition.
2022-01-28 16:19:36 +00:00
Deepak Chauhan
7adc1186c6
removed transaltion or between buttons from multiple views
2022-01-19 03:16:55 +05:30
Deepak Chauhan
1ed5b3a3f6
removed translation or between buttons
2022-01-19 02:01:29 +05:30
Matt-Yorkley
54e1a8807a
Use mails_sent flag for tracking mails
2022-01-12 11:44:21 +00:00
Sebastian Castro
115dfe445b
loading-message: make them all look the same in admin
...
use font awesome spinner instead of an image
2022-01-11 21:55:07 +01:00
Matt-Yorkley
9e6082f0cf
Use old image tag for non-compiled images
2021-12-27 17:45:06 +00:00
Matt-Yorkley
2888d75cd3
Replace #image_tag helper calls with #image_pack_tag
2021-12-27 17:45:06 +00:00
Sebastian Castro
b76defc602
Improve notify producer button
...
Add icon
Better confirmation message
Adds tooltip
Adds small icon and change text if already notified
2021-12-23 20:41:49 +01:00
Sebastian Castro
eb6797220f
Lift order cycle advanced settings UI
2021-12-23 20:41:49 +01:00
Sebastian Castro
95ff3d7a11
Add automatic_notification field in advanced settings
2021-12-23 20:41:49 +01:00
Filipe
4001fa985b
Merge pull request #8612 from Matt-Yorkley/packing-reports-filtering
...
Packing reports filtering
2021-12-22 13:03:17 +00:00
Matt-Yorkley
1efaa7e726
Switch search filters from orders to line_items
2021-12-12 13:23:56 +00:00
Sinan Chaush
68908fdff5
Navigation is included only for super admin users
2021-12-02 11:53:46 +01:00
Matt-Yorkley
ce047c4255
Ensure Suppliers multiselect options persist between page loads
2021-11-04 14:55:23 +00:00
Matt-Yorkley
924f6568d6
Replace data loading with new Reports::QueryInterface
2021-11-04 14:55:23 +00:00
Matt-Yorkley
817f0942dd
Pull in reports POC work replacing Packing reports
2021-11-04 14:55:23 +00:00
Matt-Yorkley
cf5d964133
Update usages of old preference getters and setters
2021-11-04 11:48:30 +00:00
Sinan Chaush
aedacb1311
Missing navigation for super admin users only included
2021-10-24 22:34:38 +02:00
Nihal M. Kelanthodika
d85a109a21
Merge pull request #7973 from apricot12/HQ_address_in_business_details
2021-10-07 18:32:24 +05:30
Nihal M. Kelanthodika
b0dcf47481
Add translation for "Reset Form" button
2021-10-06 15:06:56 +05:30
Nihal M. Kelanthodika
06344ed7c4
Remove comments
2021-10-06 15:06:56 +05:30
Jean-Baptiste Bellet
aa58318723
Create a Reset form button that destroy the form itself
...
- Thanks to the input hidden field. Its value is false, but when clicking on Reset form, this value changes to 'true' (and then the form is cleared)
2021-10-06 15:06:56 +05:30
Jean-Baptiste Bellet
9b6cc187b6
Remove clear form checkbox (used via _destroy)
2021-10-06 15:06:56 +05:30
Nihal
912b869407
Re-order country/state selector
2021-10-06 15:06:56 +05:30
Nihal Mohammed
7ef6671e37
Add tooltip for business address
...
Fix schema
2021-10-06 15:06:56 +05:30
Nihal Mohammed
9cd0314ab3
Fix business address title and border
2021-10-06 15:06:56 +05:30
Nihal Mohammed
3cd5ed58c0
Add checkbox to clear business_address form
2021-10-06 15:06:56 +05:30
Nihal M. Kelanthodika
ed8edf0ab9
Update business_address form
...
Removes `{ "ng-controller" => "countryCtrl" }` from column element as its now on the parent div.
Co-authored-by: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com >
2021-10-06 15:06:56 +05:30