Commit graph

270 commits

Author SHA1 Message Date
AlicjaSzu
fd6c77adf7 update schema and types 2020-09-07 12:48:19 +02:00
dominik-zeglen
1e1bb03b4e Update fixtures 2020-09-04 13:06:03 +02:00
dominik-zeglen
488a2a02ff Update snapshots 2020-09-04 13:06:02 +02:00
dominik-zeglen
453410b43d Add metadata editor to order view 2020-09-04 13:06:00 +02:00
AlicjaSzu
eba4ba2edf
update VisibilityCard component (#679)
* update VisibilityCard component

* add visibleInListings in Product

* update mutations and types with visibleInListings

* update ProductExportDialogInfo with availableForPurchase

* update defaultMessages

* update useDateLocalize hook

* update cypress tests

* update orders with availability info

* revert cypress changes

* update changelog

* update product update handlers

* fix VisibilityCard styles

* create AvailabilityCard component

* update defaultMessages

* update snapshots and messages

* fix ProductCreatePage form data types

* update defaultMessages
2020-09-03 12:25:16 +02:00
dominik-zeglen
0f3b061f18 Add payment authorized event 2020-09-02 11:57:48 +02:00
dominik-zeglen
d720389ba7 Update order history information 2020-09-02 11:43:33 +02:00
dominik-zeglen
8c68903fad Add submit on blur 2020-07-30 14:28:41 +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
765953c9a8 Sort keys 2020-07-27 12:23:46 +02:00
Dominik Żegleń
df85de6779
Merge pull request #619 from mirumee/feature/order_event_updated
Order updated history event
2020-07-22 12:02:27 +02:00
Tomasz Szymanski
79144e6fe4 Order updated history event 2020-07-17 10:10:01 +02:00
dominik-zeglen
fe08829360 Update fixtures 2020-07-16 14:26:09 +02:00
dominik-zeglen
c6f36de80d Fix rebase errors 2020-07-16 13:48:02 +02:00
dominik-zeglen
c09fc4ce00 Apply fixes from 2.10.1 2020-07-16 13:48:00 +02:00
Tomasz Szymański
97938a6018
Order history events for invoicing (#610)
* Order history events for invoicing

* Added missing translations
2020-07-15 19:19:50 +02:00
Dawid Tarasiuk
8a22155b6e Update order invoices list design 2020-07-08 15:29:47 +02:00
Mohamed Wael
8d6d50fbc8
Add/edit tracking number (#562)
* edit tracking number button

* Update snapshot

* Update messages

Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
2020-07-08 12:33:50 +02:00
Dawid Tarasiuk
114993ed75 Partially revert update queries 2020-07-08 10:44:38 +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
43ae37d229 Update invoice fragment 2020-07-08 10:44:35 +02:00
Dawid Tarasiuk
c4c9895a56 Create story for invoice list 2020-07-08 10:44:34 +02:00
Dawid Tarasiuk
a1624508eb Refactor order details props types 2020-07-08 10:44:34 +02:00
Dawid Tarasiuk
724df1939e Add index in errors list 2020-07-08 10:44:34 +02:00
Dawid Tarasiuk
7481822254 Fix formatting 2020-07-08 10:44:33 +02:00
Dawid Tarasiuk
3c49c28968 Remove form from OrderInvoiceEmailSendDialog 2020-07-08 10:44:33 +02:00
Dawid Tarasiuk
acef5b7f44 Update invoice request mutation 2020-07-08 10:44:32 +02:00
Dawid Tarasiuk
b0c62d7ad9 Update invoice request types 2020-07-08 10:44:32 +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
80ace6e435 Update test snapshots 2020-07-08 10:44:29 +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
7f5f0c056c Fix imports 2020-07-08 10:44:27 +02:00
Dawid Tarasiuk
e48e0a030e Query invoices for order 2020-07-08 10:44:27 +02:00
Dawid Tarasiuk
8b06b6ddf7 Create invoice cart in order deatials view 2020-07-08 10:44:26 +02:00
dominik-zeglen
eddec1a5c2 Move fragments to avoid circular imports 2020-07-07 12:14:12 +02:00
AlicjaSzu
1887769055 add status to notifications 2020-07-06 10:46:14 +02:00
Krzysztof Wolski
f4d570c7e5
Fix warnings and better test tag (#582)
* Resolve test warnings

* Tename data-tc to data-test

* Update src/orders/components/OrderFulfillPage/OrderFulfillPage.tsx
2020-07-02 12:59:09 +02:00
Dawid Tarasiuk
65e5539173 Remove basePrice from schema 2020-06-10 15:39:10 +02:00
dominik-zeglen
2129596944 Add sku column to fulfillment cards 2020-05-25 11:59:23 +02:00
AlicjaSzu
1047762aa6 OrderPayment - update discount condition 2020-05-19 13:10:11 +02:00
AlicjaSzu
aefb339861 fix orders fixture error 2020-05-19 11:34:01 +02:00
AlicjaSzu
ea3b65bd8c update orderes fixtures 2020-05-15 18:09:14 +02:00
AlicjaSzu
75efb26aa8 add discount to Order details view 2020-05-15 17:19:51 +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
5fd0f71888 Update messages 2020-05-08 16:01:04 +02:00
dominik-zeglen
b971363b9f Handle untracked products 2020-05-08 15:38:44 +02:00
dominik-zeglen
6da39876be Add ellisis to sku column 2020-05-07 13:14:24 +02:00
dominik-zeglen
6af08af910 Update product stock management to newest design 2020-05-04 18:06:36 +02:00
dominik-zeglen
fdf76fa967 Minor fixes 2020-04-29 16:14:20 +02:00
dominik-zeglen
3a81eaaf3d Remove order bulk cancel 2020-04-28 16:53:54 +02:00
dominik-zeglen
5a3afa84a5 Display warehouse from which items were fulfilled 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
14d89d2ab9 Use quantityAllocated 2020-04-28 16:53:15 +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
a5c1c9d544 Create fulfillment page 2020-04-28 16:53:10 +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
dominik-zeglen
bc15224fcd Refactor message and remove restock checkbox 2020-04-28 16:52:35 +02:00
dominik-zeglen
7cc3492e71 Add warehouse selection to restock items 2020-04-28 16:52:34 +02:00
dominik-zeglen
596cc41a7f Add warehouse info 2020-04-28 16:52:33 +02:00
Dominik Żegleń
e7f6bd1e77
Merge pull request #490 from AdamQuadmon/fix-order-fulfillment-typo
Fix Typo in Order Fulfillment Dialog
2020-04-27 16:29:33 +02:00
Krzysztof Wolski
082a12e0b8
Permission groups section (#406)
* Add permission groups 👪
2020-04-23 17:43:08 +02:00
Luciano Amodio
258cb5bf5e Fix Typo in Order Fulfillment Dialog
extraction also removed three strings from defaultMessages.json
2020-04-22 00:23:27 +02:00
dominik-zeglen
0806c7b328 Reset state after closing 2020-04-06 11:16:51 +02:00
dominik-zeglen
b4d16517b0 Display order errors 2020-03-24 13:54:20 +01:00
dominik-zeglen
f43326b660 Update types 2020-03-24 13:54:19 +01:00
dominik-zeglen
96c98077d8 Use error codes in account sections 2020-03-24 13:54:08 +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
Dominik Żegleń
fd73e69870
Merge pull request #414 from krzysztofwolski/fix-typo
Typo `successful`
2020-03-02 11:09:22 +01:00
Krzysztof Wolski
6e230e72b2 Typo 2020-02-25 16:19:51 +01:00
Marcin Gębala
16291446a0
Merge pull request #410 from mirumee/ref/do-not-format-errors-in-forms
Do not store errors in form component
2020-02-25 15:54:27 +01:00
Krzysztof Wolski
c508f11a4c Typo 2020-02-25 15:42:07 +01:00
dominik-zeglen
c4863ece60 Do not store errors in form component 2020-02-24 15:14:48 +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
dominik-zeglen
5bce79a621 Fix label 2020-02-03 12:53:05 +01:00
dominik-zeglen
535d1c780c Add customer field 2020-02-03 12:40:46 +01:00
dominik-zeglen
943232acb3 Add query param getters 2020-01-20 16:46:58 +01:00
dominik-zeglen
83e1f62da4 Add filter tests 2020-01-20 16:46:56 +01:00
dominik-zeglen
a4a9703abd Add filters to service list 2020-01-20 16:46:18 +01:00
dominik-zeglen
db60f13216 Separate visual and app layer in drafts 2020-01-20 16:46:09 +01:00
dominik-zeglen
cde1735869 Separate visual and app layer in orders 2020-01-20 16:46:08 +01:00
dominik-zeglen
be649e32ea Use generic handlers 2020-01-20 16:46:03 +01:00
dominik-zeglen
8b2aeaf58a Fix stories 2020-01-20 16:46:00 +01:00
dominik-zeglen
43a72d8436 Add filters to draft order list 2020-01-20 16:45:59 +01:00
dominik-zeglen
d3bd6a6c22 Simplify code 2020-01-20 16:45:46 +01:00
dominik-zeglen
e49e685c09 Update snapshots 2020-01-20 16:45:44 +01:00
dominik-zeglen
bfd754b9b2 Simplify code 2020-01-20 16:45:16 +01:00
dominik-zeglen
9e00800956 Fix filter toggling 2020-01-20 16:45:14 +01:00
dominik-zeglen
fe6996c0cf Add active filters indicator 2020-01-20 16:45:14 +01:00
dominik-zeglen
1f3cbfda82 Code cleanup 2020-01-20 16:45:10 +01:00
dominik-zeglen
32cdb56e6f Make order filters work 2020-01-20 16:45:08 +01:00
dominik-zeglen
c53d0fadd1 Stop using deprecated fields 2020-01-09 12:13:24 +01:00
dominik-zeglen
5ff1521b26 Unify dialog handling 2019-12-18 13:20:59 +01:00
dominik-zeglen
9c688d3aef Add sorting to lists 2019-12-18 11:22:02 +01:00
dominik-zeglen
bf0bad5a5e Rename state to status prop 2019-12-06 18:17:44 +01:00
dominik-zeglen
6b62f5cc40 Do not use getMutationState explicitly 2019-12-06 18:11:46 +01:00
dominik-zeglen
96176924f9 Add missing style names 2019-12-03 16:28:40 +01:00
dominik-zeglen
421da92cb3 Use eslint instead of tslint 2019-12-02 16:33:58 +01:00
dominik-zeglen
42b55e860b Add customer search 2019-11-25 12:29:07 +01:00
dominik-zeglen
340e00f030 Fix types 2019-11-22 16:52:19 +01:00
dominik-zeglen
e6dfd5c3e5 Add command mode 2019-11-22 16:39:20 +01:00
dominik-zeglen
dca00c425f Fix order placement date position 2019-11-21 18:02:21 +01:00
dominik-zeglen
44ba4c5fd5 Fix import paths 2019-11-21 15:59:41 +01:00
dominik-zeglen
135658eb11 Use exclusively search hooks 2019-11-21 15:59:38 +01:00
dominik-zeglen
b07b220b3c Use customer search hook 2019-11-21 15:59:35 +01:00
dominik-zeglen
631a44a105 Improve responsiveness 2019-11-19 13:48:44 +01:00
Krzysztof Bialoglowicz
d4d91f5fe2 Fix order details header mobile 2019-11-19 13:41:41 +01:00
Krzysztof Bialoglowicz
9911f2b278 Use responsive table component 2019-11-19 13:41:36 +01:00
dominik-zeglen
2d9fc51bfb Fix arrow 2019-11-07 14:42:07 +01:00
dominik-zeglen
15f9535ca6 Update messages 2019-11-07 14:42:05 +01:00
dominik-zeglen
4b574c5d6c Fix messages 2019-11-07 14:40:28 +01:00
dominik-zeglen
74d6794679 Update @material-ui to v4 2019-11-07 14:29:07 +01:00
dominik-zeglen
d84ba84e91 Update @material-ui 2019-11-07 14:22:40 +01:00
Dominik Żegleń
45a56bb175
Merge pull request #244 from mirumee/fix/minor-bugs
Fix minor bugs
2019-11-07 14:09:54 +01:00
dominik-zeglen
33e956ea57 Use FC instead of deprecated StatelessComponent 2019-11-07 12:34:54 +01:00
dominik-zeglen
f600c3f140 Fix types 2019-11-06 16:25:03 +01:00
dominik-zeglen
47ae46ab4c Fix address validation 2019-11-06 16:21:58 +01:00
dominik-zeglen
a1c73a6654 Improve message 2019-11-06 15:02:13 +01:00
dominik-zeglen
41085f6325 Fix draft order delete dialog 2019-11-06 15:00:00 +01:00
dominik-zeglen
898eecf628 Update types 2019-10-25 15:31:27 +02:00
dominik-zeglen
5a17d4dc4c Add permissions to order management 2019-10-25 14:52:41 +02:00
dominik-zeglen
3dea64d9d7 Use CountryCode 2019-10-25 14:18:52 +02:00
Krzysztof Bialoglowicz
d4742933d2 Fix add note reset field after submit 2019-10-22 14:28:39 +02:00
dominik-zeglen
3732a7ba68 Use back instead of cancel 2019-10-21 16:46:12 +02:00
dominik-zeglen
8e250348b8 Fix copy 2019-10-21 16:32:35 +02:00
Marcin Gębala
12dcda2012
Merge pull request #215 from mirumee/ref/translations
Improve code consistency
2019-10-21 10:00:12 +02:00
dominik-zeglen
b4da5edb7a Improve code consistency 2019-10-17 13:47:11 +02:00
dominik-zeglen
7ebf8fc254 Remove unuxed component 2019-10-16 17:52:48 +02:00
dominik-zeglen
d295804778 Refactor searches 2019-10-16 17:52:21 +02:00
dominik-zeglen
e58a0157b1 Capitalize headers 2019-10-09 17:33:55 +02:00
dominik-zeglen
186b373821 Use search instead of email field 2019-09-16 16:45:52 +02:00
dominik-zeglen
1106cb8c92 Closing modals do not allow to go back to them 2019-09-16 16:45:52 +02:00
dominik-zeglen
fbedd0a3f9 Fix minor bugs 2019-09-16 16:45:52 +02:00
dominik-zeglen
f64e8537c2 Fix type errors 2019-09-16 16:45:52 +02:00
dominik-zeglen
d5d795ddcc Fix copy 2019-09-16 16:45:02 +02:00