Skip to content

Commit

Permalink
https://github.com/opencart/opencart/issues/12661
Browse files Browse the repository at this point in the history
  • Loading branch information
danielkerr committed Apr 15, 2024
1 parent 980f70f commit 3a50ba7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions upload/admin/view/template/sale/order_info.twig
Expand Up @@ -986,7 +986,7 @@
<form id="form-shipping-address">
<div class="mb-3">
<label for="input-shipping-address" class="form-label">{{ entry_address }}</label>
<select name="shipping_address_id" id="input-shipping-address" class="form-select">
<select name="address_id" id="input-shipping-address" class="form-select">
<option value="0">{{ text_none }}</option>
{% for address in addresses %}
<option value="{{ address.address_id }}"{% if address.address_id == shipping_address_id %} selected{% endif %}>{{ address.firstname }} {{ address.lastname }},{% if address.company %} {{ address.company }},{% endif %} {{ address.address_1 }}, {{ address.city }}, {{ address.country }}</option>
Expand Down Expand Up @@ -1853,8 +1853,6 @@ $('#input-language').on('change', function(e) {
});
});
$('#input-currency').on('change', function(e) {
e.preventDefault();
Expand Down
2 changes: 1 addition & 1 deletion upload/catalog/controller/api/sale/payment_address.php
Expand Up @@ -106,7 +106,7 @@ public function index(): void {
}

$this->session->data['payment_address'] = [
'address_id' => $this->request->post['payment_address_id'],
'address_id' => $this->request->post['address_id'],
'firstname' => $this->request->post['firstname'],
'lastname' => $this->request->post['lastname'],
'company' => $this->request->post['company'],
Expand Down
2 changes: 1 addition & 1 deletion upload/catalog/controller/api/sale/shipping_address.php
Expand Up @@ -110,7 +110,7 @@ public function index(): void {
}

$this->session->data['shipping_address'] = [
'address_id' => $this->request->post['shipping_address_id'],
'address_id' => $this->request->post['address_id'],
'firstname' => $this->request->post['firstname'],
'lastname' => $this->request->post['lastname'],
'company' => $this->request->post['company'],
Expand Down

0 comments on commit 3a50ba7

Please sign in to comment.