Skip to content

Commit

Permalink
Added customer company name for shipping
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Moffat authored and Mark Moffat committed Mar 7, 2020
1 parent e64905e commit f3a7231
Show file tree
Hide file tree
Showing 15 changed files with 28 additions and 3 deletions.
3 changes: 2 additions & 1 deletion locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -196,5 +196,6 @@
"Users": "Users",
"Create Order": "Create Order",
"User edit": "User edit",
"Logout": "Logout"
"Logout": "Logout",
"Company": "Company"
}
1 change: 1 addition & 0 deletions public/javascripts/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ $(document).ready(function (){
url: '/adyen/checkout_action',
data: {
shipEmail: $('#shipEmail').val(),
shipCompany: $('#shipCompany').val(),
shipFirstname: $('#shipFirstname').val(),
shipLastname: $('#shipLastname').val(),
shipAddr1: $('#shipAddr1').val(),
Expand Down
2 changes: 1 addition & 1 deletion public/javascripts/common.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions public/javascripts/expressCart.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ $(document).ready(function (){
url: route,
data: {
email: $('#shipEmail').val(),
company: $('#shipCompany').val(),
firstName: $('#shipFirstname').val(),
lastName: $('#shipLastname').val(),
address1: $('#shipAddr1').val(),
Expand Down
Loading

0 comments on commit f3a7231

Please sign in to comment.