Dawid Tarasiuk
eb351b396a
Refunds ( #870 )
...
* 1721 - add refunds miscellaneous view (#860 )
* Create new page for Miscellaneous Refunds
* Replace refund order dialog with dedicated page
* Add data test ids
* Update order details view for refunds (#874 )
* 1719 - add refund entry to order history (#875 )
* Add refund order history entry
* Update refund event with the right query
* 1722 - add refunds product view (#873 )
* Create new page for Miscellaneous Refunds
* Replace refund order dialog with dedicated page
* Add data test ids
* Create refund products table
* Implement refund products view
* Update refund mutation with product lines input
* Fix products quantities on refund page
* Fix order refund submission
* Fix products refund submission input variables
* Filter out fulfillments on refund page
* Update refund page in storybook
* Fix test snapshots after wrong refunds rebase
* Set max refund as captured amount
* Refund queries adjustments
* Display refund values with nullish coalescing operator
* Update test snapshots with refunds
* Refactor order refund values calculation
* Create and use refund order line fragment
* Use old simple refund mutation for miscellaneous refund
* Submit for refund only lines with non-zero quantity set
* Fix showing refund error
* Fix refund details on order details page (#879 )
* Update order details view for refunds (#874 )
* 1719 - add refund entry to order history (#875 )
* Add refund order history entry
* Update refund event with the right query
* 1722 - add refunds product view (#873 )
* Create new page for Miscellaneous Refunds
* Replace refund order dialog with dedicated page
* Add data test ids
* Create refund products table
* Implement refund products view
* Update refund mutation with product lines input
* Fix products quantities on refund page
* Fix order refund submission
* Fix products refund submission input variables
* Filter out fulfillments on refund page
* Update refund page in storybook
* Fix test snapshots after wrong refunds rebase
* Set max refund as captured amount
* Refund queries adjustments
* Display refund values with nullish coalescing operator
* Update test snapshots with refunds
* Refactor order refund values calculation
* Create and use refund order line fragment
* Use old simple refund mutation for miscellaneous refund
* Submit for refund only lines with non-zero quantity set
* Fix showing refund error
* Add missing refund amount to order history
* Merge repeated order lines in fulfillment lines
* Update order history events types and test snapshots
* Update changelog with refunds changes
2020-12-01 14:13:05 +01:00
Krzysztof Wolski
07f8f4b0b8
Order confirmation ( #840 )
...
* Order confirmed webhook
* Add status chip component and update order details page header
* refactor
* refactor and update types
* Remove rebase leftovers
* Create order settings page
* Add order setting query
* Connct order settings view with api
* Show order settings update error message
* Popup menu routing to order settings
* Fix circular import error with order settings form types
* Update order settings story
* Update order settings messages
* wip
* Add order confirm mutation and types
* Add confirm order feature to order details
* Update global types
* refactor after review
* refactor after review
* update types
* Revert settings menu removal
* Add changelog entry
Co-authored-by: Tomasz Szymanski <lime129@gmail.com>
Co-authored-by: Magdalena Markusik <magdalena.markusik@mirumee.com>
Co-authored-by: Dawid Tarasiuk <tarasiukdawid@gmail.com>
2020-11-30 14:19:57 +01:00
Karolka
2970e203ee
Add transaction reference input at order page ( #837 )
...
* Add transaction reference input at order page
* Add spacer between cards in order details
Co-authored-by: Karolina Kuźniewicz <karolina.kuzniewicz@mirumee.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
2020-11-24 17:02:50 +01:00
Jakub Majorek
4eb628018d
[1611] Use modal action query params
2020-11-23 11:56:08 +01:00
Jakub Majorek
cf7329ccce
[1611] Create channel picker for draft order creation
2020-11-23 11:35:31 +01:00
Dominik Żegleń
a175fb9497
Add global channel picker ( #841 )
...
* Move theme switch to user menu
* Add global channel picker
* Fix picker styles
* Use app channel state
* Improve prop naming to indicate id vs slug
* Disable picker if no reason to pick channel
* Remove settings modal leftovers
* Remove channel settings dialog
* Remove unused props
* Skip channel fetching if user is not authenticated
* Remove channel selection from components
* Update messages
* Fix e2e tests
* Remove channel picker leftover
* Revert ChannelSettingsDialog deletion
* Update snapshots
* Update messages
2020-11-23 10:39:24 +01:00
Dominik Żegleń
6f9060144a
Multichannel ( #833 )
...
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598 )
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609 )
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655 )
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662 )
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698 )
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702 )
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715 )
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717 )
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724 )
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727 )
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739 )
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743 )
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746 )
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750 )
* update sale views with channels
* small fixes in discounts
* order views with channels (#752 )
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755 )
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762 )
* update translations
* fix translation types
* update messages
* update Availability component (#766 )
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785 )
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791 )
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801 )
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803 )
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804 )
* channels currency code select (#806 )
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 17:10:42 +01:00
Dominik Żegleń
3b5c2b26c1
Merge pull request #799 from mirumee/feature/1347-savebar-design
...
Implement new savebar design
2020-11-02 14:20:08 +01:00
dominik-zeglen
a27a029452
Pass promise to reset form state
2020-10-30 16:10:06 +01:00
Magdalena Markusik
b5d92f3c44
Refactor
2020-10-29 12:59:48 +01:00
Tomasz Szymanski
66f435bba0
Call proper mutation on address change for draft / non draft order
2020-10-28 14:11:22 +01:00
Tomasz Szymanski
6d5b3a6b57
Fix tests
2020-10-21 10:48:46 +02:00
Tomasz Szymanski
f66be95b57
Remove the finalization dialog
2020-10-20 15:19:58 +02:00
Dawid Tarasiuk
12f56b3c96
Fix order draft back button redirect
2020-10-08 12:45:39 +02:00
Dawid Tarasiuk
75586aae9f
Fix double update order addresses and unclosed dialog
2020-09-08 15:52:25 +02:00
dominik-zeglen
453410b43d
Add metadata editor to order view
2020-09-04 13:06:00 +02:00
Dominik Żegleń
df5aea6200
Add product export ( #620 )
...
* Add component backbone
* Make step component generic and typed
* Add step tabs
* Add settings view
* Encapsulate all dialog components in one directory
* Move types to separate file
* Add mutations
* Use gql types
* Add error handling
* Do not keep separate types file
* Allow products to be exported
* Fix types
* Update snapshots
* Update to latest schema
* Add disabled option
* Use wizard hook
* Update type definitions
* Queue export check task
* Fix bug causing jobs to be endless and duplicated
* Fix minor bugs
* Add accordion component
* Allow selection of fields to be exported
* Add attribute export
* Update snapshots
* Update messages
* Update changelog
* Add missing key
* Add quick peek to accordioin
* Sort imports
* Remove unused files
* Add chiips to attribute selection
* Change menu positioning
* Add product counter
* Add select all option
* Update snapshots
* Update messages
* Remove unused import
* Add chips
* Add test tags
* Update snapshots
* Change number of max chips
* Add accordion tags
* Update messages
2020-07-30 11:54:16 +02:00
dominik-zeglen
0baa065896
Fix queries
2020-07-08 10:44:37 +02:00
dominik-zeglen
a907862b82
Fix key name
2020-07-08 10:44:36 +02:00
Dawid Tarasiuk
a1624508eb
Refactor order details props types
2020-07-08 10:44:34 +02:00
Dawid Tarasiuk
3c49c28968
Remove form from OrderInvoiceEmailSendDialog
2020-07-08 10:44:33 +02:00
Dawid Tarasiuk
c88572356f
Queue invoice status check
2020-07-08 10:44:32 +02:00
Dawid Tarasiuk
18603cd97a
Update schema invoice types
2020-07-08 10:44:31 +02:00
Dawid Tarasiuk
8a756f539b
Create invoice email send dialog
2020-07-08 10:44:31 +02:00
Dawid Tarasiuk
6dfe582fe8
Display invoice actions notifications
2020-07-08 10:44:30 +02:00
Dawid Tarasiuk
a612b2dfb0
Implement send invoice email mutation
2020-07-08 10:44:30 +02:00
Dawid Tarasiuk
25b0082455
Implement generate invoice mutation
2020-07-08 10:44:29 +02:00
Dawid Tarasiuk
cd761d0990
Query invoices for order
2020-07-08 10:44:28 +02:00
Dawid Tarasiuk
624f3954df
Update invoice callback names
2020-07-08 10:44:28 +02:00
Dawid Tarasiuk
e48e0a030e
Query invoices for order
2020-07-08 10:44:27 +02:00
AlicjaSzu
1887769055
add status to notifications
2020-07-06 10:46:14 +02:00
Krzysztof Wolski
a82de30309
Add circleci config and enhance our linters ( #519 )
...
* Add circleci config
* Season linting config
* Apply code style
2020-05-14 11:30:32 +02:00
dominik-zeglen
3a81eaaf3d
Remove order bulk cancel
2020-04-28 16:53:54 +02:00
dominik-zeglen
932349a27a
Minor tweaks
2020-04-28 16:53:53 +02:00
dominik-zeglen
037ace2a1b
Handle stock errors
2020-04-28 16:53:52 +02:00
dominik-zeglen
65b9dbc483
Do not let go back to fulfillment view after success
2020-04-28 16:53:52 +02:00
dominik-zeglen
3922b315d5
Hook up components with API
2020-04-28 16:53:51 +02:00
dominik-zeglen
0c09d4b11d
wip
2020-04-28 16:53:16 +02:00
dominik-zeglen
0f52e427cb
Add back button
2020-04-28 16:53:12 +02:00
dominik-zeglen
dca0208173
Add fulfillment view
2020-04-28 16:53:11 +02:00
dominik-zeglen
9812277e9a
wip
2020-04-28 16:53:09 +02:00
dominik-zeglen
27a740ed6b
Fix warehouse selection
2020-04-28 16:52:36 +02:00
Krzysztof Wolski
082a12e0b8
Permission groups section ( #406 )
...
* Add permission groups 👪
2020-04-23 17:43:08 +02:00
dominik-zeglen
b4d16517b0
Display order errors
2020-03-24 13:54:20 +01:00
dominik-zeglen
038a17caf6
Add ready to capture filter
2020-03-04 17:15:55 +01:00
dominik-zeglen
4c27d69229
Fix form errors
2020-03-03 14:33:35 +01:00
Krzysztof Wolski
6e230e72b2
Typo
2020-02-25 16:19:51 +01:00
dominik-zeglen
fa8231992f
Explicitely return not found page
2020-02-20 15:18:22 +01:00
dominik-zeglen
c4c0f22cec
Fix ICU plurals
2020-02-13 12:54:05 +01:00
dominik-zeglen
e10b456230
Update snapshots
2020-02-03 12:59:42 +01:00