Show countries for delivery process forms. Refactor countries. #76
Reference in New Issue
Block a user
Delete Branch "forms-filtering"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
https://app.asana.com/0/697944902557002/744133144344709
Prepare:
IMPORTANT
Before running db updates (for local dev as well as deployment with docker) make sure to run
wp option update wiaas_db_version 20181106133553frombackendfolder (RUN THIS BEFORE MERGING TO DEV AND RUNNING DEPLOYMENT ON STAGING AND PRODUCTION)Run db updates
composer update-dbMake sure you have existing customer user with set delivery and billing adresses
Smoke test:
Login as admin on backend
Open countries for products
Validate that new fields for 'code', 'currency' and 'vat' are present
Validate that existing countries (Sweden, Denmark and Finland) have populated values in table for code, currency and vat
Open Forms
Validate that new columns for 'Country' and 'Actions' are present
Validate that existing sample process has 'Sweden' for country
Validate that only process has 'Change country' actions which leads to delivery process settings
Validate that 'Workflow' action leads to workflow of corresponding form
Login as customer to frontend
Go to profile and open existing addresses to edit them
Validate all existing addresses show correct country in dropdown when edited
Go back to Forms page
Copy sample process and change its country to Finland or Denmark
Validate that new country is reflected in list
Search forms with 'Finland'
Validate that last delivery form is listed
Search forms with 'Sweden'
Validate that correct forms are listed
Search forms with 'installation'
Validate that action forms which contains that words in title are listed
Create new country (Spain, currency: EUR)
Add one simple product and one bundle for spain
Order bundle and complete order
Copy existing delivery process for sweden and change country to spain
Validate that process is listed on order details page when assigning process
Assign process to order and complete order
added 1 commit
95d16257- Add timestamp script to composerCompare with previous version
Is this 'entries' unset required after if condition, or if condition is obsolete ?
added 1 commit
2b688e8a- Remove unused codeCompare with previous version
resolved all discussions
merged
mentioned in commit
3dbdb657c9