Show billing details in order details frontend backend #7

Merged
bilal.catic merged 3 commits from show-billing-details-in-order-details-frontend-backend into development 2018-07-10 11:39:53 +02:00
bilal.catic commented 2018-06-28 23:32:49 +02:00 (Migrated from gitlab.com)

Billing details (first name, last name, invoice mail) are now shown on order details on frontend and also on backend (both, in active orders, and orders history).

Note : Don't merge before we check with two things with Senad/Moris/Per :

  • Are those information enough (billing first name, last name, mail) [in previous task they noted those three should be added to the order so I took only them]
  • Billing informations are 'copied' to orders table (they are not linked from billing_information table). This way they are saved even if user changes them in profile. If this is not desired, I will change.

Smoke test :

  1. change REACT_APP_DEV_URL to 'http://localhost:8000/api-wiaas' and WIAAS_URL to 'http://localhost:8000'
  2. execute 'sudo docker system prune' and 'sudo docker-compose build --no-cache' and 'sudo docker-compose up'
  3. Add item to cart and go to cart
  4. You can edit billing address (name, last name or mail), or add new billing address
  5. Finish order
  6. Go to the overview and open last order details, now billing details should be shown
  7. Go to the backend panel (localhost:8000/api-wiaas/login, use 'sysadm' - 'Test987!' to login
  8. Go to the orders, sort orders by date created (click few times until latest order is first)
  9. Expand first order and verify that billing information are shown
Billing details (first name, last name, invoice mail) are now shown on order details on frontend and also on backend (both, in active orders, and orders history). Note : Don't merge before we check with two things with Senad/Moris/Per : - Are those information enough (billing first name, last name, mail) [in previous task they noted those three should be added to the order so I took only them] - Billing informations are 'copied' to orders table (they are not linked from billing_information table). This way they are saved even if user changes them in profile. If this is not desired, I will change. Smoke test : 1. change REACT_APP_DEV_URL to 'http://localhost:8000/api-wiaas' and WIAAS_URL to 'http://localhost:8000' 2. execute 'sudo docker system prune' and 'sudo docker-compose build --no-cache' and 'sudo docker-compose up' 3. Add item to cart and go to cart 4. You can edit billing address (name, last name or mail), or add new billing address 5. Finish order 6. Go to the overview and open last order details, now billing details should be shown 7. Go to the backend panel (localhost:8000/api-wiaas/login, use 'sysadm' - 'Test987!' to login 8. Go to the orders, sort orders by date created (click few times until latest order is first) 9. Expand first order and verify that billing information are shown
bilal.catic commented 2018-07-09 20:16:18 +02:00 (Migrated from gitlab.com)

added 3 commits

  • 31dc7639 - fetch billing details
  • d2426d12 - show billing info on order details - backend panel
  • 786461be - show billing info on order details - frontend panel

Compare with previous version

added 3 commits <ul><li>31dc7639 - fetch billing details</li><li>d2426d12 - show billing info on order details - backend panel</li><li>786461be - show billing info on order details - frontend panel</li></ul> [Compare with previous version](https://gitlab.com/saburly/wiaas/wiaas-legacy/merge_requests/7/diffs?diff_id=19390127&start_sha=aaf9671212e89056033c5270ad4971d139e3ad7e)
nedimu commented 2018-07-10 11:39:53 +02:00 (Migrated from gitlab.com)

merged

merged
nedimu commented 2018-07-10 11:39:53 +02:00 (Migrated from gitlab.com)

mentioned in commit 4f4146f62d

mentioned in commit 4f4146f62d52fffaaeabb2667b9fdb7f45a8326f
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-wiaas-legacy#7