cc5af67c48
fix(core-flows): use transform as input to account holder step ( #12430 )
...
* fix(core-flows): use transform as input to account holder step
* chore: add a simple test
* chore: add comment
* chore: Fix tests
---------
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
Co-authored-by: olivermrbl <oliver@mrbltech.com >
2025-05-11 18:45:44 +02:00
Riqwan Thamir and GitHub
db9483140a
fix(medusa): Fix store return API ( #12284 )
...
what:
- fixes the middleware to point to the right API route
- adds a test to store return API
2025-04-24 13:25:22 +00:00
Riqwan Thamir and GitHub
c870a7a1ba
fix(utils,promotion): fix case where mutliple percentage promotions werent applied ( #11992 )
...
what:
- fix case where mutliple percentage promotions werent applied
2025-03-26 22:46:50 +00:00
Riqwan Thamir and GitHub
1f8fab3636
feat(core-flows,types,order,cart): assign tax lines only to regular products ( #11994 )
...
what:
- assign tax lines only to regular products
2025-03-26 22:26:34 +00:00
Riqwan Thamir and GitHub
c3440e5e38
feat(medusa,types): add enabled plugins route ( #11876 )
2025-03-17 20:11:46 +01:00
Riqwan Thamir and GitHub
9dd62d93bd
feat(core-flows,types,utils): make payment optional when cart balance is 0 ( #11872 )
...
what:
- make payment optional when cart balance is 0
2025-03-17 19:03:22 +00:00
Riqwan Thamir and GitHub
5ab15a2988
feat(dashboard,js-sdk,admin-shared): add customer addresses + layout change ( #11871 )
...
what:
- changes customer layout from 1 layout to 2
- adds ability to create and delete customer addresses
- adds 2 customer widget locations
- adds is_giftcard=false by default to products list
<img width="1663" alt="Screenshot 2025-03-08 at 21 34 02" src="https://github.com/user-attachments/assets/e66f05da-718c-4c25-81ce-67ba0a814ca3 " />
2025-03-17 16:16:27 +00:00
Riqwan Thamir and GitHub
cb6249320e
fix(types,order,medusa): Create credit lines + hooks ( #11569 )
...
what:
- api/workflows to create credit lines
- hooks to enable extending credit lines
2025-03-17 15:20:59 +00:00
Riqwan Thamir and GitHub
67b308c8eb
fix(promotion): percentage value is accounted for in buyget promotions ( #11799 )
...
what:
- allows percentage value to be considered for buy get percentage
FIXES https://github.com/medusajs/medusa/issues/11259
2025-03-13 17:09:46 +00:00
Riqwan Thamir and GitHub
f00bb8efcf
fix(core-flows): conditionally create, update or delete products when input is present ( #11758 )
...
what:
- runs create / update /delete workflows for bulk workflow conditionally
FIXES https://github.com/medusajs/medusa/issues/11749
depends on https://github.com/medusajs/medusa/pull/11756
2025-03-06 13:41:20 +00:00
Riqwan Thamir and GitHub
ab96ad3b82
feat(utils): add error message when manager is not found in context ( #11693 )
2025-03-03 15:50:34 +01:00
Riqwan Thamir and GitHub
51b0af193c
fix(types,medusa): calculate taxes for original price ( #11692 )
2025-03-03 14:20:48 +01:00
Riqwan Thamir and GitHub
954136f13a
fix(dashboard): bust variant inventory cache on inventory update ( #11690 )
2025-03-03 12:53:34 +01:00
Riqwan Thamir and GitHub
38beeb157e
fix(core-flows): support 0 as a valid unit price for custom line items ( #11631 )
2025-02-26 19:32:35 +01:00
Riqwan Thamir and GitHub
a515e6e0c9
fix(promotion): scope uniqueness index to non deleted promotions ( #11624 )
...
what:
- scopes uniqueness index to only non deleted records
- explicit sorting of buy get promotions
- This error popped up as we removed the uniqueness constraint which seems to have kept a specific order.
RESOLVES https://github.com/medusajs/medusa/issues/11606
2025-02-26 14:25:43 +00:00
Riqwan Thamir and GitHub
fb2e86484a
feat(core-flows,types,cart): add credit lines to cart ( #11419 )
...
* feat(core-flows,types,cart): add credit lines to cart
* chore: fix specs
* chore: credit lines hook
* chore: update types
* chore: added credit line totals
* chore: add totals fields to query config
* chore: add complete cart hook
* chore: add credit lines creation to order
* chore: pr ready for review
* chore: fix tests
* Apply suggestions from code review
* chore: fix types
* chore: adjust summary calculations with new totals
2025-02-24 14:34:36 +01:00
Riqwan Thamir and GitHub
30171f3dc4
fix(core-flows): add no_notification to fulfillment created event ( #11507 )
...
what:
- passes no notification toggle to events - fulfillment created and canceled
fixes https://github.com/medusajs/medusa/issues/11505
2025-02-19 08:05:52 +00:00
Riqwan Thamir and GitHub
cf788ec49e
chore(types,framework): pick ssl types from tls lib ( #11381 )
...
* chore(types,framework): pick ssl types from tls lib
* chore: call from node:tls directly
2025-02-11 09:52:33 +01:00
Riqwan Thamir and GitHub
8af4fb0ba7
feat(medusa): add sku to variant query params ( #11151 )
...
what:
- adds sku to variant query params
2025-01-28 10:26:29 +00:00
Riqwan Thamir and GitHub
8119d9964b
fix(promotion): eval conditions for rules are made accurate ( #10915 )
...
what:
- fixes eval conditions for promotion rules
RESOLVES CMRC-851
2025-01-21 21:26:20 +00:00
Riqwan Thamir and GitHub
5eab9e7399
feat(promotion,dashboard,types,utils,medusa): Add statuses to promotions ( #10950 )
...
what:
- adds a status column to promotion table
- introduce active promotion query
- scope revert, register and compute actions to active promotions
- admin to create and update promotion with statuses
RESOLVES CMRC-845
RESOLVES CMRC-846
RESOLVES CMRC-847
RESOLVES CMRC-848
RESOLVES CMRC-849
RESOLVES CMRC-850
2025-01-16 19:17:22 +00:00
Riqwan Thamir and GitHub
1758bfb8d0
fix(dashboard, core-flows): improvements to order page on canceled orders ( #10888 )
...
what:
- Remove pending payment for canceled orders
- Hide unfulfilled items for canceled orders
- Disable non refundable payments from being refunded
- Populate refund created_by
- Disable order edit when canceled
- Fix bug https://github.com/medusajs/medusa/issues/10852
RESOLVES CMRC-842
2025-01-13 16:51:38 +00:00
Riqwan Thamir and GitHub
7232a8a930
fix(core-flows): return refunded when all captured payments have been refunded ( #10923 )
...
what:
- returns refunded when all captured payments have been refunded
2025-01-13 16:25:39 +00:00
Riqwan Thamir and GitHub
3fec01ab49
fix(pricing): add null conditions for deleted at during price calculations ( #10896 )
2025-01-09 15:32:57 +01:00
Riqwan Thamir and GitHub
47594192b7
feat(dashboard,core-flows,types,utils,medusa): Order cancelations will refund payments ( #10667 )
...
* feat(order, types): Add Credit Line to order module
* chore: add action to inject credit lines
* WIP
* chore: add fixes + observe
* chore: fix balances
* chore: add canceled badge
* chore: fix i18n schema
* chore: remove redunddant query
* chore: add changeset
* chore: add credit lines for all cancel cases
* chore: add accounting total
* chore: address review & cleanup
2025-01-07 07:56:28 +01:00
Riqwan Thamir and GitHub
99a06102a2
fix(stock-location,core-flows,types): updates existing address when updating stock location ( #10832 )
...
* fix(stock-location,core-flows,types): updates existing address when updating stock location address
* chore: use hasOne instead of hasMany
2025-01-07 07:55:28 +01:00
Riqwan Thamir and GitHub
f7ffa3540f
fix(promotion): don't evaluate rule condition if conditions to evaluate is empty ( #10795 )
2025-01-06 09:31:58 +01:00
Riqwan Thamir and GitHub
6d989bc8cd
fix(pricing): pricing context calculations only takes into account existing rule attributes ( #10771 )
...
* fix(pricing): pricing context calculations only takes into account existing rule attributes
* chore: add changeset
2025-01-02 10:17:09 +01:00
Riqwan Thamir and GitHub
d08b71f9b8
fix(product): updating collections with products fix ( #10668 )
2024-12-19 16:31:45 +01:00
Riqwan Thamir and GitHub
5d1098ceb9
fix(core-flows): refresh payment collections upon shipping changes ( #10673 )
...
* fix(core-flows): refresh payment collections upon shipping changes
* chore: fix spec
2024-12-19 16:31:17 +01:00
Riqwan Thamir and GitHub
3f4d574748
feat(order, types): Add Credit Line to order module ( #10636 )
...
* feat(order, types): Add Credit Line to order module
* chore: add action to inject credit lines
2024-12-19 10:36:59 +01:00
Riqwan Thamir and GitHub
632c340bf5
chore(utils): add comments + cleanup util functions ( #10628 )
...
remnants from https://github.com/medusajs/medusa/pull/10579
2024-12-17 14:22:33 +00:00
6367bccde8
feat(medusa,pricing): Cart pricing context with customer group ( #10579 )
...
* fix(carts): Fixes cart modifications not accounting for certain price lists (#10493 )
*What*
* Fixes #10490
* Expands any available customer_id into its customer_group_ids for cart
updates that add line items.
*Why*
* Cart updates from the storefront were overriding any valid price lists
that were correctly being shown in the storefront's product pages.
*How*
* Adds a new workflow step that expands an optional customer_id into the
customer_group_ids it belongs to.
* Uses this step in the addToCartWorkflow and
updateLineItemInCartWorkflow workflows.
*Testing*
* Using medusa-dev to test on a local backend.
* Adds integration tests for the addToCart and updateLineItemInCart
workflows.
Co-authored-by: Riqwan Thamir <rmthamir@gmail.com >
* chore: update cart workflows to accept new pricing context
* chore: add transfer specs
* chore: fix specs
* chore: modify types + specs
* chore: add data migration + dashboard changes
* chore: fix update line item workflow
* chore: add changeset + unskip spec
---------
Co-authored-by: Sergio Campamá <sergiocampama@gmail.com >
2024-12-17 11:10:30 +01:00
Riqwan Thamir and GitHub
90ad2566fd
feat(types,fulfillment): ability to delete a canceled fulfillment ( #10602 )
2024-12-16 11:17:45 +01:00
Riqwan Thamir and GitHub
429c57095b
fix(core-flows): use customer create workflow to reuse the emit event ( #10601 )
...
what:
- uses the create customer workflow instead to reuse the event emit.
RESOLVES CMRC-792
2024-12-13 14:40:46 +00:00
Riqwan Thamir and GitHub
a04238a7f1
fix(payment): ensure that payment error is captured in logger ( #10506 )
...
what:
- when an error occurs upon retrieving a provider, log the original error through the logger
Helps https://github.com/medusajs/medusa/issues/10500 in debugging.
2024-12-09 16:44:32 +00:00
Riqwan Thamir and GitHub
f8f5d57c7c
chore(types): add price types for shipping option endpoints ( #10509 )
...
what:
- adds missing price types for shipping options
2024-12-09 16:30:31 +00:00
9e797dc3d2
feat(core-flows, types): update shipping methods upon cart ops ( #10382 )
...
* feat(core-flows,framework,medusa): list shipping options pass in cart as pricing context
* chore: add test for shipping options returning free shipping
* feat(core-flows, types): update shipping methods upon cart ops
* chore: fix specs
* chore: fix bugs + specs
* Update update-shipping-methods.ts
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
* Update mutations.ts
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
* chore: undo refresh changes
* chore: merge with latest
* chore: address PR comments
* chore: fix conflicts
* chore: fix specs
* chore: address reviews
---------
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
2024-12-08 14:06:50 +01:00
Riqwan Thamir and GitHub
f95c4e240c
fix(promotion, core-flows): updating cart with removed promotion removes adjustments ( #10489 )
2024-12-08 13:13:31 +01:00
Riqwan Thamir and GitHub
11bd556133
feat(core-flows,framework,medusa): list shipping options pass in cart as pricing context ( #10374 )
...
* feat(core-flows,framework,medusa): list shipping options pass in cart as pricing context
* chore: add test for shipping options returning free shipping
2024-12-01 20:59:26 +01:00
Riqwan Thamir and GitHub
5719e825ca
feat(core-flows,types,medusa): ability to update/create custom shipping prices ( #10368 )
2024-11-29 15:04:33 +01:00
Riqwan Thamir and GitHub
324b4ab438
feat(pricing, types): add price rule operators to price calculations ( #10350 )
...
what:
- adds price rule operators when doing price calculations
- rules now accepts a key where the value can be an array of objects `({ operator: string, value: number })`
- validation for available types of operator and value to be a number
```
await service.createPriceSets({
prices: [
{
amount: 50,
currency_code: "usd",
rules: {
region_id: "de",
cart_total: [
{ operator: "gte", value: 400 },
{ operator: "lte", value: 500 },
]
},
},
]
})
```
- price calculations will now account for the operators - lte, gte, lt, gt when the price context is a number
RESOLVES CMRC-747
2024-11-28 20:48:00 +00:00
Riqwan Thamir and GitHub
3b1a63eca7
feat(pricing,utils,types): add operator field to price rule ( #10315 )
...
what:
- adds an operator field to price rule with specific operator fields
RESOLVES CMRC-746
2024-11-28 09:23:26 +00:00
Riqwan Thamir and GitHub
6486f2bcce
feat(core-flows,medusa): remove cart customer validation + rename workflow ( #10207 )
...
what:
- removes cart customer takeover validation
- change workflow from update to transfer
2024-11-21 16:57:03 +00:00
Riqwan Thamir and GitHub
2a8811edd9
feat(medusa): skip draft orders on order list ( #10195 )
2024-11-21 14:09:23 +01:00
Riqwan Thamir and GitHub
d91da7b418
feat(medusa): enable price list prices for product endpoints ( #10197 )
2024-11-21 14:08:42 +01:00
Riqwan Thamir and GitHub
6680f69588
fix: move transfer cart under cart ( #10175 )
...
made a whoopsie!
2024-11-20 11:12:49 +00:00
Riqwan Thamir and GitHub
1185be31c4
fix: incorrect changeset breaks preview builds ( #10173 )
2024-11-20 09:41:40 +00:00
Riqwan Thamir and GitHub
3c4a9b85d8
chore(medusa): remove unfinished update order endpoint ( #10169 )
2024-11-20 08:44:49 +00:00
Riqwan Thamir and GitHub
495c381709
feat(types, js-sdk): add updateCustomer to js-sdk ( #10158 )
...
what:
- adds new `POST /store/cart/:id/customer` endpoint to js sdk
2024-11-19 18:32:49 +00:00
Riqwan Thamir and GitHub
85f9c2b85a
fix(framework,types): correct example of database driver options ( #10166 )
2024-11-19 16:32:31 +00:00
Riqwan Thamir and GitHub
2783bed8ae
fix(dashboard): updated variant title is used when creating product ( #10155 )
2024-11-19 16:22:34 +01:00
Riqwan Thamir and GitHub
b7044bb3b0
feat(core-flows,medusa): Add API to update cart's customer ( #10151 )
...
what:
- adds an endpoint that updates a cart's customer
RESOLVES CMRC-718
2024-11-19 11:44:25 +00:00
Riqwan Thamir and GitHub
d1ce6d4321
Revert "feat(core-flows,medusa): Add customer validation on cart update" ( #9724 )
2024-10-22 18:26:01 +00:00
Riqwan Thamir and GitHub
0d803b3f2d
feat(core-flows,medusa): Add customer validation on cart update ( #9662 )
2024-10-22 12:19:12 +02:00
Riqwan Thamir and GitHub
3b50c6d019
feat(core-flows,types,medusa): Add tax region update API ( #9634 )
...
* feat(core-flows,types,medusa): Add tax region update API
* chore: added specs
2024-10-17 14:19:29 +02:00
Riqwan Thamir and GitHub
449168578d
fix(dashboard): Set correct method value on promotion ( #9610 )
...
<img width="1441" alt="Screenshot 2024-10-16 at 14 17 05" src="https://github.com/user-attachments/assets/7a2e2196-5ca6-4532-9bf0-a4b693c6babc ">
RESOLVES CC-601
2024-10-16 12:31:39 +00:00
537567b679
chore: add compare_at_unit_price when price list price is retrieved ( #9564 )
...
* chore: add compare_at_unit_price when price list price is retrieved
* chore: add test for update item + more fixes along the way
* chore: fix tests
* chore: add refresh spec
* Apply suggestions from code review
Co-authored-by: Adrien de Peretti <adrien.deperetti@gmail.com >
* chore: use undefined checker
* chore: switch to map
---------
Co-authored-by: Adrien de Peretti <adrien.deperetti@gmail.com >
2024-10-15 13:05:14 +02:00
Riqwan Thamir and GitHub
20d19c1d67
chore: update slack message ( #9290 )
2024-10-15 07:47:13 +00:00
Riqwan Thamir and GitHub
70564c3c66
fix(medusa): use transform order for store order endpoints ( #9489 )
...
* fix(medusa): use transform order for store order endpoints
* chore: update amount when unit price is present
2024-10-07 13:55:06 +02:00
Riqwan Thamir and GitHub
2d1f4bcabc
feat(dashboard,core-flows,types,order): change order accepts price updates ( #9476 )
...
* chore: change order can accept price updates
* chore: add changes to transformed order
* chore: fix transform
* chore: transform raw unit price
2024-10-07 10:54:21 +02:00
Riqwan Thamir and GitHub
fbbfb0cb62
feat(framework,medusa): Ensure publishable key middleware is set for all store endpoints ( #9429 )
...
* feat(framework,medusa): Ensure publishable key middleware is set for all store endpoints
* chore: fix tests
2024-10-02 18:01:50 +02:00
Riqwan Thamir and GitHub
56fcec3bac
chore: notify slack on failed release ( #9289 )
2024-09-24 17:22:18 +00:00
Riqwan Thamir and GitHub
2d202ae0f7
chore: notify slack on failed release ( #9287 )
2024-09-24 18:56:40 +02:00
Riqwan Thamir and GitHub
69f6645716
feat(core-flows,dashboard,types,fulfillment,medusa): uses requires shipping throughout lifecycle ( #9170 )
...
what:
- uses requires shipping throughout lifecycle
https://github.com/user-attachments/assets/d5ba89d3-5ea0-49c4-b2d5-490c4764933e
2024-09-24 08:26:22 +00:00
Riqwan Thamir and GitHub
0bce09f0a2
fix(framework): throw when middleware fails to register ( #9211 )
2024-09-22 14:46:52 +02:00
Riqwan Thamir and GitHub
987d007ba8
fix(core-flows): fixes case where inventory attempts delete when input is empty ( #9156 )
...
what:
- when an empty array is passed to the workflow, it attempts to delete all inventory locations. This PR adds a conditional to prevent it from happening.
RESOLVES CC-477
Fixes https://github.com/medusajs/medusa/issues/9154
2024-09-17 08:04:48 +00:00
Riqwan Thamir and GitHub
aa0928d437
feat(dashboard,types): added inbound shipping placeholder + shipping summary details ( #9150 )
...
what:
- shipping summary
<img width="1018" alt="Screenshot 2024-09-16 at 18 05 37" src="https://github.com/user-attachments/assets/d7e3d73c-bf11-42e5-90fb-03069437e96c ">
- No Shipping options placeholder
<img width="781" alt="Screenshot 2024-09-16 at 18 06 11" src="https://github.com/user-attachments/assets/05ed682a-97cd-4e66-9af1-f1e77d3d47cb ">
2024-09-16 20:50:41 +00:00
Riqwan Thamir and GitHub
3e97a64b21
feat(core-flows,medusa,utils,types): adds delivered_quantity to order ( #9130 )
...
what:
- adds delivered_quantity to order
https://github.com/user-attachments/assets/709b1727-08ed-4a88-ae29-38f13540e301
2024-09-16 09:59:01 +00:00
Riqwan Thamir and GitHub
64d5b74c12
feat(api-key,js-sdk,dashboard): allow deleting api keys only once its revoked ( #9118 )
...
what:
- module only deletes api keys once its revoked
- disables ui elements
https://github.com/user-attachments/assets/437821ae-497e-4b59-b02c-4a6ff36e6a30
RESOLVES CC-106
RESOLVES CC-105
RESOLVES CC-104
2024-09-12 10:16:15 +00:00
Riqwan Thamir and GitHub
24704f420a
feat(core-flows,dashboard,types,medusa): delete shipping methods when all inbound/outbound items are deleted ( #9106 )
...
* feat(core-flows,dashboard,types,medusa): delete shipping methods when all inbound/outbound items are deleted
* chore: fix specs
2024-09-11 21:24:01 +02:00
Riqwan Thamir and GitHub
a729fb3fbb
feat(utils,types,framework,medusa): store endpoints should require publishable key ( #9068 )
...
* feat(utils,types,framework,medusa): store endpoints should require publishable key
* chore: fix specs
* chore: fix more specs
* chore: update js-sdk
* chore: fix specs wrt to default SC
* chore: revert custom headers + change error message
* chore: fix specs
* chore: fix new store specs
2024-09-11 15:08:37 +02:00
Riqwan Thamir and GitHub
d398009d3f
feat(payment): Payment providers are upserted upon loading ( #9090 )
2024-09-11 09:01:24 +02:00
Riqwan Thamir and GitHub
c097931469
feat(core-flows,types,medusa): validate deleting location level when quantities exist ( #9086 )
...
what:
- adds validation in workflow to prevent deleting a location level when reserved or stocked quantity exists
- disabled delete button when quantities exist
- consolidate delete workflows
<img width="1079" alt="Screenshot 2024-09-10 at 16 39 02" src="https://github.com/user-attachments/assets/cf1f4b2e-75ea-4f7c-9b97-24622396c632 ">
RESOLVES CC-120
2024-09-10 17:59:03 +00:00
Riqwan Thamir and GitHub
e9e0267aa8
fix: broken order page due to missing inventory ( #9083 )
2024-09-10 13:24:13 +00:00
Riqwan Thamir and GitHub
3593bdfebe
fix(promotion): handle promotion buy X get X scenario ( #9002 )
...
* fix(promotion): handle promotion buy X get X scenario
* chore: fix qualifiication rules
2024-09-10 15:12:56 +02:00
Riqwan Thamir and GitHub
afd0921326
fix(utils,medusa,order,cart): fix totals when promotions are included ( #9014 )
...
* fix(utils): fix totals when promotions are included
* chore: update totals calc
* chore: ignore taxes when taxable amount is 0
* chore: use subtotals everywhere
* chore: fix shipping totals + tests
2024-09-10 10:59:22 +02:00
Riqwan Thamir and GitHub
0573bb924a
chore: Remove typeORM ( #9005 )
...
* chore: rename js files to txt
* chore: rename ts files to txt
* chore: delete environment helpers
* chore: convert global setup & teardown to txt
* chore: rename helper js/ts files to txt
* chore: rename seeder js/ts files to txt
* chore: remove typeorm
* chore: reintroduce used helpers
2024-09-05 15:45:30 +02:00
5d7179b7d0
feat(core-flows,types,promotion): register promotion campaign usage upon cart completion ( #8970 )
...
* feat(core-flows,types,promotion): register promotion campaign usage upon cart completion
* Apply suggestions from code review
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
---------
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
2024-09-05 10:43:29 +02:00
de6f61b05f
feat: added totals tests for end 2 end RMA flow ( #8906 )
...
what:
I've added some specs and comments in the specs for where I think totals are incorrect.
Lets get this test merged in as the status quo and proceed to fix these issues one by one.
Additionally, this also removes the temporary_difference as its not something we use.
RESOLVES CC-346
Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com >
2024-09-04 13:11:04 +00:00
Riqwan Thamir and GitHub
ff623f8b00
fix(order,utils): fix outstanding amount stuck on long orders ( #8968 )
2024-09-03 18:48:47 +02:00
Riqwan Thamir and GitHub
e49d004fef
chore: remove promotions in campaign validators + move tests to http ( #8965 )
2024-09-03 14:19:42 +02:00
230acb700b
feat(core-flows,types): Refunds can only be performed when order is imbalanced ( #8944 )
...
* feat(core-flows,types): Refunds can only be performed when order is imbalanced
* Apply suggestions from code review
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
* chore: fix tests
---------
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
2024-09-03 13:53:20 +02:00
Riqwan Thamir and GitHub
25367734c7
fix(dashboard): fix campaign end date ( #8935 )
...
what:
- scopes the conditional to the right date attribute
<img width="1027" alt="Screenshot 2024-09-02 at 11 47 09" src="https://github.com/user-attachments/assets/87048b93-e118-4548-80ee-2564bc2e56e5 ">
RESOLVES CC-68
2024-09-02 09:59:24 +00:00
Riqwan Thamir and GitHub
2a6c6fe590
feat(dashboard,types): split damaged activity from received ( #8859 )
...
what:
- split damaged activity from received
- adds a popover to view return details
<img width="1661" alt="Screenshot 2024-08-28 at 23 23 10" src="https://github.com/user-attachments/assets/064e982c-f850-452d-a60d-e5c267d0075a ">
RESOLVES CC-363
2024-08-29 14:04:00 +00:00
Riqwan Thamir and GitHub
8fbfb1445d
fix(dashboard): align items inside quick view popover ( #8847 )
...
* fix(dashboard): align items inside quick view popover
* chore: remove unwanted w-* classes
2024-08-28 14:37:35 +02:00
Riqwan Thamir and GitHub
c72b4847b9
fix(dashboard,js-sdk): fixes from rma flows testing ( #8826 )
2024-08-28 10:59:36 +02:00
Riqwan Thamir and GitHub
2ee374fafc
fix(order): run migration before setting not null ( #8831 )
2024-08-28 10:10:35 +02:00
Riqwan Thamir and GitHub
531285c1e9
feat(dashboard,types): add active order change panel - claims, exchanges & returns ( #8738 )
...
* feat(dashboard,types): add active order change panel - claims, exchanges & returns
* Apply suggestions from code review
2024-08-23 13:24:38 +02:00
Riqwan Thamir and GitHub
59599ac237
feat(core-flows,dashboard): adds item validations for claims, returns and exchanges ( #8735 )
...
what:
- adds item validations for claims, returns and exchanges
- prevents autofocus on item add
- reset item quantity when error
2024-08-23 09:30:27 +00:00
Riqwan Thamir and GitHub
02c6574e01
fix(admin-next,types): fixes order page from breaking in admin server ( #8730 )
2024-08-23 08:07:04 +02:00
Riqwan Thamir and GitHub
4219674ead
fix: enable next actions bar when refund is available ( #8719 )
2024-08-22 10:02:43 +00:00
Riqwan Thamir and GitHub
335061d8cd
feat(medusa,types,core-flows): apply created_by values - claims, exchanges, returns, fulfillment ( #8712 )
...
what:
- Applies created_by values - claims, exchanges, returns, fulfillment
RESOLVES CC-96
2024-08-21 18:15:55 +00:00
Riqwan Thamir and GitHub
cb6cc79018
feat(fulfillment,order): add created_by fields to fulfillment, return, claim, exchange ( #8711 )
...
what:
- add created_by fields to fulfillment, return, claim, exchange
2024-08-21 17:59:42 +00:00
Riqwan Thamir and GitHub
01583baf6d
chore(order): align mikroorm <> order module ( #8710 )
...
what:
- aligns the order module migrations with mikroorm snapshot
2024-08-21 17:37:17 +00:00
Riqwan Thamir and GitHub
a5707fd3bc
feat(dashboard): add activities for order - claim, exchange, payment ( #8702 )
...
what:
- add activities for order - claim, exchange, payment
<img width="382" alt="Screenshot 2024-08-21 at 16 12 31" src="https://github.com/user-attachments/assets/56627d63-69b4-4b9c-b9db-c670fe49bfc9 ">
RESOLVES CC-344
2024-08-21 14:38:18 +00:00
Riqwan Thamir and GitHub
de7848f68d
fix(core-flows): account for unfulfilled items while generating order status ( #8698 )
...
what:
- account for unfulfilled items while generating order status
RESOLVES CC-314
2024-08-21 14:33:43 +00:00
Riqwan Thamir and GitHub
0da9445d80
fix(dashboard): bust order preview cache to reset fulfilled quantity ( #8687 )
2024-08-21 16:23:49 +02:00
Riqwan Thamir and GitHub
a7d03ec562
feat(dashboard,core-flows): ability to refund payment post RMA flow ( #8685 )
2024-08-21 09:58:09 +02:00
8bd284779e
feat(dashboard,core-flows,js-sdk,types): ability to mark payment as paid ( #8679 )
...
* feat(core-flows): create or update payment collections in RMA flows
* chore: change ui to pick payment link from unpaid payment collection
* Apply suggestions from code review
Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com >
* chore: fix mathbn
* feat(dashboard,core-flows,js-sdk,types): ability to mark payment as paid
* chore: add captured bt
---------
Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com >
2024-08-20 22:58:28 +02:00