Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#70 Fix user address issues #71

Merged
merged 3 commits into from
Jun 25, 2018
Merged

Conversation

ibonly
Copy link
Contributor

@ibonly ibonly commented Jun 24, 2018

Fix user address issues

Update form to contain city and province field so that the data saved can contain city_id and province_id to prevent breakages when order-address relationship is used.

NB: City and Province can be properly implemented if loaded via jquery when the country is selected, and it loads the province that belongs to that country and also province to city. But this is just a minor fix to ensure no bug in this area.

Add cities and provinces to data to be sent to view
Add city and province select field to form data and used jquery select pluging to display the data.
Update view to return city name, province name and country name instead of the id's that was displayed.
@ibonly ibonly changed the base branch from master to develop June 24, 2018 23:58
@codecov
Copy link

codecov bot commented Jun 25, 2018

Codecov Report

Merging #71 into develop will increase coverage by 0.01%.
The diff coverage is 100%.

Impacted file tree graph

@@              Coverage Diff              @@
##             develop      #71      +/-   ##
=============================================
+ Coverage      89.94%   89.95%   +0.01%     
  Complexity       554      554              
=============================================
  Files            125      125              
  Lines           1839     1842       +3     
=============================================
+ Hits            1654     1657       +3     
  Misses           185      185
Impacted Files Coverage Δ Complexity Δ
...tp/Controllers/Front/CustomerAddressController.php 100% <100%> (ø) 4 <0> (ø) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6b602d4...b5cee50. Read the comment docs.

@jsdecena jsdecena merged commit 4ef111b into jsdecena:develop Jun 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants