Wiaas documents handling #29

Merged
akrdzic merged 4 commits from checkout-documents into master 2018-10-05 12:11:34 +02:00
akrdzic commented 2018-10-04 03:32:39 +02:00 (Migrated from gitlab.com)

Wiaas dcouments handling and checkouts documents

https://app.asana.com/0/697944902557002/744133144344693

NOTE: UNIT TESTING will be completed in one of next PRs.

Execute composer update-db

SMOKE TEST:

-- Documents --

  1. Login as admin to backend
  2. Notice new Documents tab
  3. There should also be document types section
  4. Create new document nad uploaded file versions to it.
  5. Notice that document is created and files can be downloaded.

-- Linking documents to products --

  1. Login as admin to backend
  2. Make 3 simple products (one for each package), one option, one addon and one standard package. Link option and addon to s
    standard package.
  3. For every of created products and packages link documents by search on 'Linked documents' tab or by directly uploading
    file.
  4. Notice that every time you upload file from product or package page new document gets created.
  5. Notice that all linked documents can be downloaded from products and package pages.
  6. Go to frontend
  7. Open created standard package and notice all visible documents that are attached to package, addon, option and their
    bundled products are visible.
  8. Check that frontend document download works for all attached documents.

-- Cart documents --

  1. Be sure that you added 'Template agreement' and 'Template Questionnaire' to package documents.
  2. Add document to cart
  3. Go to cart and notice that visible screen is 'Uploaded Documents' which requests you to upload
    'Customer Agreement' and 'Customer Questionnaire'
  4. Notice that templates are available as download links
  5. Try downloading templates
  6. Try going to next step and notice warning is generated that documents have to be uploaded
  7. Upload documents and notice they are successfully uploaded
  8. Refresh page and notice documents are there after refresh
  9. Logout and login again and notice documents are still there in cart
  10. Check that uploaded cart document can be downloaded.
  11. Finish checkout process and order package

-- Order documents --

  1. Open generated order on frontend
  2. Go to documents tab
  3. Check that all documents are present (including the two uploaded cart documents)
  4. Try downloading all documents and check they are downloaded
  5. Go to backend and remove all attached documents from products and packages.
  6. Open order again and notice documents are still there
  7. Check download still works for documents.
**Wiaas dcouments handling and checkouts documents** https://app.asana.com/0/697944902557002/744133144344693 NOTE: UNIT TESTING will be completed in one of next PRs. Execute ` composer update-db ` SMOKE TEST: -- Documents -- 1. Login as admin to backend 2. Notice new Documents tab 3. There should also be document types section 4. Create new document nad uploaded file versions to it. 5. Notice that document is created and files can be downloaded. -- Linking documents to products -- 1. Login as admin to backend 2. Make 3 simple products (one for each package), one option, one addon and one standard package. Link option and addon to s standard package. 3. For every of created products and packages link documents by search on 'Linked documents' tab or by directly uploading file. 4. Notice that every time you upload file from product or package page new document gets created. 5. Notice that all linked documents can be downloaded from products and package pages. 6. Go to frontend 7. Open created standard package and notice all visible documents that are attached to package, addon, option and their bundled products are visible. 8. Check that frontend document download works for all attached documents. -- Cart documents -- 1. Be sure that you added 'Template agreement' and 'Template Questionnaire' to package documents. 2. Add document to cart 3. Go to cart and notice that visible screen is 'Uploaded Documents' which requests you to upload 'Customer Agreement' and 'Customer Questionnaire' 4. Notice that templates are available as download links 5. Try downloading templates 6. Try going to next step and notice warning is generated that documents have to be uploaded 7. Upload documents and notice they are successfully uploaded 8. Refresh page and notice documents are there after refresh 9. Logout and login again and notice documents are still there in cart 10. Check that uploaded cart document can be downloaded. 11. Finish checkout process and order package -- Order documents -- 1. Open generated order on frontend 2. Go to documents tab 3. Check that all documents are present (including the two uploaded cart documents) 4. Try downloading all documents and check they are downloaded 5. Go to backend and remove all attached documents from products and packages. 6. Open order again and notice documents are still there 7. Check download still works for documents.
akrdzic commented 2018-10-04 03:46:25 +02:00 (Migrated from gitlab.com)

changed the description

changed the description
akrdzic commented 2018-10-04 03:50:19 +02:00 (Migrated from gitlab.com)

changed the description

changed the description
akrdzic commented 2018-10-04 13:22:42 +02:00 (Migrated from gitlab.com)

added 12 commits

  • ab9ee2cb...c537557d - 11 commits from branch master
  • d1186022 - Merge branch 'master' into checkout-documents

Compare with previous version

added 12 commits <ul><li>ab9ee2cb...c537557d - 11 commits from branch <code>master</code></li><li>d1186022 - Merge branch &#39;master&#39; into checkout-documents</li></ul> [Compare with previous version](https://gitlab.com/saburly/wiaas/new-wiaas/merge_requests/29/diffs?diff_id=24477321&start_sha=ab9ee2cb0d8d150a798823faee49fd18a4954754)
akrdzic commented 2018-10-04 18:37:03 +02:00 (Migrated from gitlab.com)

added 1 commit

Compare with previous version

added 1 commit <ul><li>24678820 - remove unused import</li></ul> [Compare with previous version](https://gitlab.com/saburly/wiaas/new-wiaas/merge_requests/29/diffs?diff_id=24507189&start_sha=d11860223f325a1f978f365693576d57da935537)
bilal.catic commented 2018-10-05 12:11:33 +02:00 (Migrated from gitlab.com)

mentioned in commit 9a8e05e341

mentioned in commit 9a8e05e34169cc8740140b69f48b78a416a757f6
bilal.catic commented 2018-10-05 12:11:34 +02:00 (Migrated from gitlab.com)

merged

merged
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#29