Give order access to suppliers , when order is created #48

Merged
nedimu merged 3 commits from suppliers-order into master 2018-11-01 10:36:55 +01:00
nedimu commented 2018-10-30 15:05:15 +01:00 (Migrated from gitlab.com)

Smoke test

Run composer update-db

You need to have proper setup for this smoke test.
4 Users that are attached to 4 different organisations :
-1 CL Organisation and User
-2 Supplier organisations and users attached to them
-1 Customer to order products

2 Simple products with 2 different suppliers
1 Product bundle attached with those products to CL org and offered to customer

    1. Log in as customer on frontend, and order bundle product
    1. Log in as admin on backend, find newly created order and verify that supplier organisations are added to access groups
    1. Log in as supplier on backend and notice orders menu present
    1. Check out orders table and notice that the view is restricted for orders just like for CL
    1. Click on "preview order button" (blue eye icon)
    1. Notice that after modal is opened there are no billing info on modal (a restriction for supplier)
    1. Notice that only simple products from that supplier are added
    1. Log in with another supplier and notice same situation
Smoke test Run `composer update-db` You need to have proper setup for this smoke test. 4 Users that are attached to 4 different organisations : -1 CL Organisation and User -2 Supplier organisations and users attached to them -1 Customer to order products 2 Simple products with 2 different suppliers 1 Product bundle attached with those products to CL org and offered to customer - 1) Log in as customer on frontend, and order bundle product - 2) Log in as admin on backend, find newly created order and verify that supplier organisations are added to access groups - 3) Log in as supplier on backend and notice orders menu present - 4) Check out orders table and notice that the view is restricted for orders just like for CL - 5) Click on "preview order button" (blue eye icon) - 6) Notice that after modal is opened there are no billing info on modal (a restriction for supplier) - 7) Notice that only simple products from that supplier are added - 8) Log in with another supplier and notice same situation
nedimu commented 2018-10-31 15:04:35 +01:00 (Migrated from gitlab.com)

added 1 commit

  • 26353f0d - Show supplier orders, and preview

Compare with previous version

added 1 commit <ul><li>26353f0d - Show supplier orders, and preview</li></ul> [Compare with previous version](https://gitlab.com/saburly/wiaas/new-wiaas/merge_requests/48/diffs?diff_id=26293615&start_sha=51cb2af4388db8476f777f656a7674b19b846fd2)
nedimu commented 2018-10-31 15:15:14 +01:00 (Migrated from gitlab.com)

unmarked as a Work In Progress

unmarked as a **Work In Progress**
nedimu commented 2018-10-31 15:15:14 +01:00 (Migrated from gitlab.com)

changed the description

changed the description
nedimu commented 2018-10-31 15:15:14 +01:00 (Migrated from gitlab.com)

assigned to @akrdzic

assigned to @akrdzic
akrdzic commented 2018-11-01 08:46:44 +01:00 (Migrated from gitlab.com)

Remove error logs

Remove error logs
nedimu commented 2018-11-01 10:18:53 +01:00 (Migrated from gitlab.com)

changed this line in version 3 of the diff

changed this line in [version 3 of the diff](https://gitlab.com/saburly/wiaas/new-wiaas/merge_requests/48/diffs?diff_id=26353705&start_sha=26353f0d8058ac965c5c721adfb92cca10b9e1f6#6970cf7c959a338bde733bd6e773c1f71d496a68_74_74)
nedimu commented 2018-11-01 10:18:55 +01:00 (Migrated from gitlab.com)

added 1 commit

Compare with previous version

added 1 commit <ul><li>281f71d8 - Removed error logs</li></ul> [Compare with previous version](https://gitlab.com/saburly/wiaas/new-wiaas/merge_requests/48/diffs?diff_id=26353705&start_sha=26353f0d8058ac965c5c721adfb92cca10b9e1f6)
akrdzic commented 2018-11-01 10:36:55 +01:00 (Migrated from gitlab.com)

merged

merged
akrdzic commented 2018-11-01 10:36:59 +01:00 (Migrated from gitlab.com)

mentioned in commit 165eb808b8

mentioned in commit 165eb808b85a577539a63d3530fa4fefb060d85d
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: senaduka/old-new-wiaas#48