Skip to content

Instantly share code, notes, and snippets.

@yowchun93
Created June 19, 2019 13:14
Show Gist options
  • Save yowchun93/5fe89cdb8f1161028a70449c2c97aa0d to your computer and use it in GitHub Desktop.
Save yowchun93/5fe89cdb8f1161028a70449c2c97aa0d to your computer and use it in GitHub Desktop.
Finished Task
// 18 June 2019
1. Create Vietnam Retailer in Postco.xyz
2. Test Vietnam Return Flow, make sure label is there.
3.
Testing result
1. ParcelReturn.last.country = ‘VIETNAM’, why?? .
I think it’s because Agent’s country is ‘VIETNAM’
pdf.js
Add LazadaReturn to Outdated parcels
Add ward, and district
Javascript
adding state to save which language is selected
onClick is a JSX property which you can put in any JSX element.
// Exercise
Find a way to add conditional CSS to a list element ( Done )
// Now add componentDidMount, which fetches the data from Github API
// fetch Repos, but have not add error handling part yet.
// 19 June 2019
Api::V2::RetailersController
- brittle test
a) ward and district (retailer address) are not displayed in the generated return label
b) ward and district (agent address) are not displayed in the customer return booking email
Download Return Form
Refactor
return_mailer / _opening_hours.html.erb
collection_mailer / _opening_hours.html.erb
Make sure, all agents are created with country ‘VN’, ‘PH’, not VIETNAM
Tested shipment label address,
Address 17
Address 21
parcel / return_form.rb
make sure customer is created with correct locale.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment