Maikel Linke
d81037d658
Simplify branching logic in SearchesController
2022-09-29 09:30:21 +02:00
Maikel Linke
12d7db3dd6
More efficient enterprise access check
2022-09-29 09:30:21 +02:00
Jean-Baptiste Bellet
cdf71b419f
Search within all enterprises if user is the super admin
2022-09-29 09:30:21 +02:00
Jean-Baptiste Bellet
86cb86e8b5
Add a flash error where no available shipping methods to the customer
...
+ update specs as well
2022-09-12 09:42:26 +02:00
Maikel
f201b9fd11
Merge pull request #9631 from mkllnk/9153-tax-recalculation
...
[Split Checkout] Recalculate tax on summary step
2022-09-08 11:39:44 +10:00
Maikel Linke
1d04510365
Update totals on summary step
2022-09-05 15:54:33 +10:00
Maikel Linke
6c7a089527
Recalculate tax on summary step
2022-09-05 15:14:08 +10:00
binarygit
8861b6d077
Replace permalinks angular ctrl with stimulus
2022-08-31 10:06:51 +05:45
Filipe
ae391f8af4
Merge pull request #9414 from Philwi/user-generates-api-key
...
Let users view and regenerates api key
2022-08-17 21:36:13 +01:00
Filipe
f28c52342c
Merge pull request #9532 from jibees/9492-translate-404,-500,-422-errors-pages
...
Translate 404, 500, 422 errors pages
2022-08-17 21:12:04 +01:00
Filipe
cedfa35a98
Merge pull request #9341 from jibees/9336-redirect-to-login_path-if-user-is-disabled
...
Disabled_at logic: redirect to login path if user is disabled
2022-08-17 20:33:57 +01:00
Filipe
b992daa1d8
Merge pull request #9510 from binarygit/convert-enterprises/edit-page-to-stimulus
...
Convert enterprises/edit page to stimulus
2022-08-17 18:11:59 +01:00
Filipe
10aa534f52
Merge pull request #9554 from apricot12/9179-Note-on-invoices
...
Add order note at the end of both invoices following current UI patterns.
2022-08-17 17:41:23 +01:00
Jean-Baptiste Bellet
77eec6e6f3
Check step params and redirect if step is inconsistent to order state
2022-08-15 16:13:37 +10:00
Filipe
dde4bd39b2
Merge pull request #9351 from vsmay98/9338-redirect-disabled-user-to-homepage
...
Redirect to homepage with flash error when disabled user trying to access any page
2022-08-12 13:52:19 +01:00
Filipe
689720b749
Merge pull request #9437 from jibees/8897-preselect-default-card-and-do-not-allow-to-charge-if-no-card-is-marked-as-default
...
User account, Credit cards: Do not allow to check "Allow charges" if no credit cards marked as default
2022-08-11 16:34:42 +01:00
Nihal Mohammed
53ee5c32eb
Add order note at the end of both invoices following current UI patterns
...
Add translation for note title in invoice
Update invoice spec to also test for order note
2022-08-10 23:02:13 +05:30
binarygit
6b56a8df0a
Display/hide side-menu items when values in primary details change
2022-08-10 15:11:53 +05:45
Jean-Baptiste Bellet
47c07831c1
Create an ErrorsController that handle errors thrown application
2022-08-08 15:36:23 +02:00
Philipp Winkler
bf53a02270
Add api key toggle view checkbox
2022-08-07 09:48:49 +02:00
Filipe
dd17f98edb
Merge pull request #9196 from jibees/8912-change-order-creation-form-steps-order
...
Admin, Order creation: Change steps ordering
2022-08-03 09:09:43 +01:00
Rachel Arnould
cf26c465cc
Merge pull request #9390 from binarygit/feature/update-orders-table
...
Feature/update orders table
2022-08-02 10:10:03 +02:00
Jean-Baptiste Bellet
e3683d25ca
Change second step order: Customer Details instead of Order Details
...
This second step comes from a first one, which is Set Distribution
2022-07-28 09:31:42 +02:00
Jean-Baptiste Bellet
34c8748b9c
Mark the next credit cards with payment profile as default
2022-07-26 14:42:55 +02:00
jibees
5eb3c486b2
Merge pull request #9383 from jibees/9382-can-send-invoice-if-ABN-is-not-required
...
Can send invoice if ABN is not required
2022-07-21 17:01:41 +02:00
jibees
20ee0d5009
Merge pull request #9301 from mkllnk/3975-unsupported-image
...
Allow SVG images for products and show errors when uploading unsupported file
2022-07-21 16:56:11 +02:00
Jean-Baptiste Bellet
753a643bf1
Simplify main method by creating two private methods
...
Include some unit tests
2022-07-19 09:50:06 +10:00
Maikel Linke
19018c2564
Split address transformation for easier reading
2022-07-19 09:49:42 +10:00
Maikel Linke
c8a65d2fac
Simplify with customer accessor
2022-07-19 09:49:42 +10:00
Maikel Linke
6c0d4cffe5
Allow customer's address update with country code
...
The customer endpoint now serves 2-letter ISO codes for countries and
accepts these for updates. It also serves and accepts region codes
(abbreviations) like VIC for Victoria.
Updates treat these fields as case-insensitive and either code or name
have to be present.
This commit also updates the Swagger documentation.
2022-07-19 09:49:42 +10:00
Jean-Baptiste Bellet
cc135c8190
API V1, Customer endpoint: region and country as object
2022-07-15 14:54:33 +02:00
binarygit
3c741f0686
Add flash after an order is cancelled
2022-07-13 18:45:43 +05:45
Jean-Baptiste Bellet
afa40ea82f
Authorize product and not @product
2022-07-13 14:26:11 +02:00
Filipe
2f550725e3
Merge pull request #9368 from jibees/9178-add-note-on-order
...
Admin, Edit order: Can add note on order
2022-07-08 12:13:18 +01:00
Jean-Baptiste Bellet
90af6bd22d
Handle note saving with a new action on existing API controller
2022-07-05 10:09:20 +02:00
Vishal Jain
3143cc9d92
skip disabled user check for session controller
2022-07-05 11:35:11 +05:30
Jean-Baptiste Bellet
e4be757d96
use the can_invoice method that check both ABN and configuration boolean
...
+ specs Specify an empty ABN number
+ update specs
2022-07-04 15:35:49 +02:00
Jean-Baptiste Bellet
3a1fde40c5
Add a Spree config option: enterprise_number_required_on_invoices
2022-06-28 09:50:12 +02:00
Vishal Jain
84b711e130
redirect disabled user to homepage
2022-06-24 18:09:15 +05:30
Jean-Baptiste Bellet
4007b17b1e
Redirect to login path also if user is disabled
...
+ update spec as well
2022-06-22 15:51:11 +02:00
Filipe
6b00319e4a
Merge pull request #9191 from jibees/9186-inverse-hide-columns-UX-by-a-columns-to-show
...
Admin, Reports: Inverting logic from "Columns to hide" to "Columns to show"
2022-06-21 17:34:31 +01:00
François Turbelin
76ea7089d9
Implement suggestions
2022-06-21 10:08:12 +02:00
François Turbelin
bc9dcc7cbc
Block disabled users from logging in
2022-06-21 10:08:12 +02:00
Maikel
553046addb
Merge pull request #9255 from jibees/fix-admin-taxonomies-interface
...
Fix admin taxonomies interface
2022-06-21 09:41:55 +10:00
Maikel Linke
5f11b6a650
Respond with errors if image upload fails
2022-06-14 15:06:17 +10:00
Maikel Linke
831aa3aae0
Simplify ProductImagesController
2022-06-14 14:50:55 +10:00
Filipe
8b7d474f4c
Merge pull request #9177 from jibees/9067-save-all-data-when-submitting-the-form
...
Admin, Create a new product: re-fill the form with fields values if any validation errors occurs when submitting
2022-06-13 14:54:02 +01:00
Jean-Baptiste Bellet
16babf8250
Don't modify params object, but use an intermediate variable
...
`@params_fields_to_show`
2022-06-13 14:39:12 +02:00
Filipe
9fee4f1554
Merge pull request #9203 from AgriculturaFamiliar/remove-closed-associated-adjustments-button
...
Remove closed associated adjustments button
2022-06-10 10:10:50 +01:00
Filipe
43888f7f3c
Merge pull request #9126 from mkllnk/active-storage
...
[Breaking] Replace Paperclip with Active Storage
2022-06-07 11:14:39 +01:00