Konrad
1a72b5b227
Merge pull request #12563 from abdulazizali77/bugfix/11326-incoming-exchange-per-item-calculator
...
Display only per_item fees for oc incoming exchange #11326
2024-08-02 03:11:27 +02:00
wandji20
0376c04ad5
Fix failing specs [OFN-12666]
2024-07-30 12:07:50 +01:00
Abdul Aziz Ali
8a1e61fd60
Fix incoming_controller_spec. Remove .order_cycle_id usage #11326
2024-07-27 17:54:39 +08:00
Gaetan Craig-Riou
6538c7adca
Fix shopping system spec
2024-07-03 11:21:28 +10:00
Gaetan Craig-Riou
b156f722f1
Fix variant override spec
2024-07-03 11:15:10 +10:00
Gaetan Craig-Riou
9f612270c7
Fix bulk update product page old style
...
and related product pages
2024-07-03 11:05:01 +10:00
Matt-Yorkley
c0864405a1
Update bulk products JS spec
2024-04-02 09:27:36 +11:00
David Cook
b872d7c308
Re-arrange spec
...
Best viewed with white-space ignored
2023-11-13 09:29:31 +01:00
Mohamed ABDELLANI
72d854487a
update VariantUnitManager#compatibleUnitScales to return units that are selected
2023-11-13 09:29:31 +01:00
Mohamed ABDELLANI
864f63b7b0
update VariantUnitManger specs
2023-11-13 09:29:31 +01:00
David Cook
224b6f514b
Remove concept of master variant
...
from old bulk product screen. Hmm I just realised we're deleting that screen soon anyway.
But this helps clean up the spec before I refactor it further.
2023-10-24 15:21:13 +11:00
Matt-Yorkley
07774c4572
Update tax category specs
2023-07-31 09:23:20 +10:00
Matt-Yorkley
42a3087cdb
Remove :available_on attribute from Product class
2023-07-06 14:36:35 +01:00
Matt-Yorkley
fefa9288a4
Remove :permalink attribute from Product
2023-06-30 11:37:57 +01:00
Matt-Yorkley
3ef7d2c9ff
Remove master variant from product
2023-06-16 21:23:44 +01:00
Matt-Yorkley
7dc1091bc2
Migrate product image from master variant to product
2023-06-16 21:23:44 +01:00
Mohamed ABDELLANI
bd0e7cdfc8
remove legacy checkout tests
2023-06-13 14:58:16 +01:00
Matt-Yorkley
c3cf79f5ef
Delete angular ordersCtrl
2023-05-21 00:15:32 +01:00
Maikel Linke
70aff98581
Remove unused product meta description from UI
2023-03-29 14:33:42 +11:00
binarygit
8f6fdf3e31
[Admin, Enterprise Settings] Remove Angular from Business Details tab
2023-03-08 10:26:05 +01:00
Maikel Linke
d05bb508de
Avoid flaky spec by avoiding variable name conflict
...
Specs were sharing the same variable and could influence each other.
2023-02-13 12:23:45 +11:00
Maikel Linke
02ba8c1bf5
Remove side-effect in JS specs via global var
...
The code used the global BulkProducts which was shared amongst a group
of specs. Some were resetting the `products` attribute, others weren't
and the product object of one spec was leaking into the next.
One spec was also referencing a wrong attribute and must have passed
accidentally.
2023-02-13 12:18:05 +11:00
Jean-Baptiste Bellet
d65b1bb386
Fix various import issue: mock bugsnag
2023-02-09 16:50:40 +01:00
Jean-Baptiste Bellet
2633ee3606
Fix various import issue: taxons
2023-02-09 16:50:40 +01:00
Jean-Baptiste Bellet
4027eacc06
Fix various import issue: module('admin.enterprises')
2023-02-09 16:50:40 +01:00
Jean-Baptiste Bellet
236e77efd4
Fix various import: CurrentUser
2023-02-09 16:50:40 +01:00
Jean-Baptiste Bellet
a486a08bfc
Fix various import issues: currentHub
2023-02-09 16:50:40 +01:00
Jean-Baptiste Bellet
bddd887dcd
Load orders only if current line_items are loaded
...
+ update spec as well
2023-02-03 12:25:47 +01:00
Filipe
ad4670705e
Merge pull request #10245 from jibees/10222-in-bom-dont-show-group-buy-info-if-equal-to-0
...
Admin, BOM: Don't display "group by size" if group by product value is actually null
2023-01-25 15:29:05 +00:00
Jean-Baptiste Bellet
1a874d6fcf
Introduce pagination for BOM page
2023-01-18 17:39:42 +01:00
Jean-Baptiste Bellet
121a4a08af
On filters reseting , set dates to undefined: range is not mandatory
...
+ send flatpickr event to reset the component
+ update specs as well
2023-01-18 17:39:09 +01:00
Jean-Baptiste Bellet
2258af9cec
Don't display "group by size" if value is actually null or empty
...
+ add spec
2023-01-06 14:39:39 +01:00
Jean-Baptiste Bellet
69faf590b0
Create a spy obj for order_cycle_form as required now by removeCoordinatorFee()
...
Based on `spec/javascripts/unit/admin/order_cycles/controllers/order_cycle_exchanges_controller_spec.js.coffee`
2022-12-07 09:37:31 +01:00
Jean-Baptiste Bellet
66a684920a
allSaved() method from LineItems needs to be spy
2022-11-03 15:55:48 +01:00
saunmanoj888
490c5afc59
Mock bigDecimal methods in specs
2022-10-25 00:05:31 +05:30
saunmanoj888
ee8454bd2c
Use js-big-decimal package for calculation
2022-10-21 21:30:00 +05:30
saunmanoj888
b40cd579bc
Fix spec failure
2022-10-19 23:18:22 +05:30
saunmanoj888
8e45b758ba
Fix unit value UI issue
2022-10-19 22:59:28 +05:30
Rachel Arnould
617a417dc2
Merge pull request #9506 from binarygit/remove-angular-from-payment-methods
...
Remove angular from payment methods
2022-10-11 13:13:26 +02:00
Manish Sharma
cd71233163
Fixed duplicates enterprises in order cycles
2022-10-10 14:30:58 +05:30
binarygit
01c477f2cb
Remove angular from Payment Methods
2022-10-08 14:20:54 +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
saunmanoj888
498d003684
Add unit specs for the js changes for unit_value
2022-09-13 23:28:27 +05:30
binarygit
90f4b1328b
Remove angular from shipping methods tab in enterprise/edit
2022-09-13 15:20:33 +05:45
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
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
Jean-Baptiste Bellet
b2a0310e6f
Handle the case when errors is a string
2022-07-05 15:48:31 +02:00
Jean-Baptiste Bellet
a68f9a71fb
When items quantities, update sumUnitValues() and sumMaxUnitValues()
...
by summing only `quantity` and `max_quantity`
+ update the specs as well
Co-Authored-By: Maikel <maikel@email.org.au >
2022-04-27 11:21:47 +02:00
Jean-Baptiste Bellet
a4afeeaa3d
When BOM is 'item', do not update sumOfUnitValues with scale
...
since scale is always `1`, but return a value
+ update tests as well
2022-04-25 15:53:38 +02:00