Jean-Baptiste Bellet
e076e23064
Do not use ng-change on endDate but instead watch both start and end date
2022-10-08 16:36:26 +02:00
Jean-Baptiste Bellet
8942d3d17b
Clear date on custom event flatpickr_clear
2022-10-08 16:36:26 +02:00
Jean-Baptiste Bellet
ddfbcacd83
Include plugins
2022-10-08 16:36:26 +02:00
Jean-Baptiste Bellet
c3a7acf9ad
import locale
2022-10-08 16:36:26 +02:00
Jean-Baptiste Bellet
fb0d922d73
Remove datetimepicker directive + default values
2022-10-08 16:36:26 +02:00
Jean-Baptiste Bellet
c6332ab306
Remove datepicker instance
2022-10-08 16:36:26 +02:00
Jean-Baptiste Bellet
d73d6dcdb6
Do not import flatpickr via this require
...
as now flatpickr is managed by yarn and should be imported when module need it, via import
2022-10-08 16:36:26 +02:00
binarygit
25ae10dbe8
Create bulk orders cancellation feature
2022-10-04 16:57:31 +02:00
Ashwini Seshadri
edee5c693b
Changed new subscription dialog to use tom-select from select2
...
fixed z-index, text-alignment in the dropdown menu to left in new subscription modal, replaced click_link with page.find().click in subscription specs, removed href in subscription index
2022-09-28 10:47:39 +02:00
Rachel Arnould
e98d4af630
Merge pull request #9659 from saunmanoj888/fix-bulk-product-update-unit-value
...
Allow to change unit value for numbers with a comma separator on bulk product update
2022-09-21 13:04:08 +02:00
binarygit
90f4b1328b
Remove angular from shipping methods tab in enterprise/edit
2022-09-13 15:20:33 +05:45
saunmanoj888
6917125173
Allow to change unit value for numbers with a comma separator
2022-09-12 15:55:03 +05:30
Maikel
44bf63137a
Merge pull request #9606 from binarygit/remove-angular-from-address
...
Remove Angular from Address Tab
2022-09-12 13:49:54 +10:00
Jean-Baptiste Bellet
d53b2b94b9
When creating new product via /admin/products/new use BigDecimal
...
to avoid bad rounded multiplication
example here:
700*0.001 = 0.7000000000000001
+ update specs as well
2022-09-07 09:17:46 +02:00
Jean-Baptiste Bellet
4452ad2c51
Use BigDecimal to avoir multiplication/division floating errors
...
Like 28.35 * 12 / 12 = 28.350000000000005
+ in js, use parseFloat() to format `12.00` as `12`
2022-09-07 09:17:46 +02:00
Jean-Baptiste Bellet
6594419b22
Add js-big-decimal to work with division and multiplication
...
Use a lib instead of Math.round((value*100)/100)
2022-09-07 09:17:46 +02:00
binarygit
abbb61b943
Remove country controller from enterprises/new and Business Details tab
2022-09-05 09:52:27 +05:45
binarygit
8861b6d077
Replace permalinks angular ctrl with stimulus
2022-08-31 10:06:51 +05:45
binarygit
79ba223e12
Delete angular code for side_menu
2022-08-10 15:14:15 +05:45
jibees
9b1dcdcc78
Merge pull request #9412 from binarygit/optimize-notes-and-tracking-workflow
...
Optimize notes and tracking workflow
2022-07-21 17:02:03 +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
binarygit
0599acbcb8
Refactor shipments.js
2022-07-19 13:37:05 +05:45
binarygit
97dcd44662
Display alert box before deleting note/tracking info
2022-07-19 13:37:05 +05:45
Jean-Baptiste Bellet
a80cf37fa6
Handle errors message formatting
2022-07-12 18:29:28 +02:00
binarygit
6ad0749ce8
Refactor: create parent_node var to find child elements
2022-07-12 14:11:53 +05:45
binarygit
227220e2a6
Add focus to tracking when edit tracking is clicked
2022-07-09 14:40:04 +05:45
binarygit
b88c85555e
Add delete tracking feature
2022-07-09 14:39:20 +05:45
binarygit
b7a49ced39
Add focus to note when edit note is clicked
2022-07-09 14:33:01 +05:45
binarygit
dc31ebebb1
Add delete note feature
2022-07-09 13:23:38 +05:45
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
Filipe
decfbc9658
Merge pull request #9356 from jibees/9248-add-tags-to-a-producer-only-order-cycle
...
Add tags to producer-only order cycle interface
2022-07-07 23:45:02 +01:00
Filipe
040422c6c0
Merge pull request #9380 from jibees/9068-bulk-product-update-creating-new-on_demand-variant
...
Admin, Products list: fix variant creation when unit is not well formatted and on_demand is checked or on_hand is filled
2022-07-07 22:39:23 +01:00
Jean-Baptiste Bellet
b2a0310e6f
Handle the case when errors is a string
2022-07-05 15:48:31 +02:00
Jean-Baptiste Bellet
90af6bd22d
Handle note saving with a new action on existing API controller
2022-07-05 10:09:20 +02:00
Jean-Baptiste Bellet
3f1099d968
Add edit note line on an order
2022-07-05 10:09:20 +02:00
Filipe
9d39efdd7b
Merge pull request #9318 from saunmanoj888/translation-missing-order-cycle-status
...
Add translation for order-cycle-status on new order creation from admin
2022-07-01 12:03:45 +01:00
Jean-Baptiste Bellet
7a1bd660c4
Prepare ofn-drop-down to have a "disabled" state and a "prepend" element
2022-06-28 17:39:41 +02:00
Jean-Baptiste Bellet
fdba33baa3
Pass the form, and re-init() on object change
...
I can't make angularjs directive synchronized to scope object, this seems to be a hack, but it works.
Also add form in the scope (which was not added...)
2022-06-28 15:05:11 +02:00
saunmanoj888
12eff626f4
Add translation for statuses in order_controller.js.coffee
2022-06-23 01:33:51 +05:30
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
f3f0a84915
Display image upload error as alert
...
Not the nicest UX but better than nothing.
2022-06-14 15:11:26 +10:00
Filipe
ef0a346076
Merge pull request #9212 from jibees/9140-assign-a-customer-to-an-order-in-admin-section
...
When creating an order, and assigning a customer, fill all the customer inputs in the shipping/billing address form
2022-06-13 14:57:31 +01: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
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
jibees
0ed99c5ebd
Merge pull request #9132 from jibees/8540-handle-items-in-bulk-order-management-page
...
Handle `items` in bulk order management
2022-06-10 10:08:14 +02:00
Jean-Baptiste Bellet
68bd1df312
Handle rename with context menu on the first taxon ie. the root one
...
Also rename the main input field (sort of title) when updating the root taxon name with contextual menu
2022-06-02 16:03:16 +02:00
Jean-Baptiste Bellet
4bbbae68c7
Do not send parent_id is it's something else than a number
...
When moving element on top, `new_parent.attr("id")` was `taxonomy_tree` which was causing DB error
2022-06-02 15:41:44 +02:00
Jean-Baptiste Bellet
121c9eed3b
Replace Spree.url().clone() by new URL()
2022-06-02 15:41:44 +02:00
Jean-Baptiste Bellet
df1b126852
Initialize unit_value_with_description
...
+ Specify to empty field since its now filled with default value `1.0`
2022-05-30 14:54:47 +02:00
Jean-Baptiste Bellet
134202bedd
Initialize value for variant_unit_with_scale
2022-05-30 14:54:47 +02:00