Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit b1a0181

Browse files
committed
Sync billing with shipping address on Admin Order Page
- Fixed skipped 'Same as billing' checkbox
1 parent 63b549b commit b1a0181

File tree

1 file changed

+1
-0
lines changed
  • app/code/Magento/Sales/view/adminhtml/web/order/create

1 file changed

+1
-0
lines changed

app/code/Magento/Sales/view/adminhtml/web/order/create/scripts.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,7 @@ define([
223223
}
224224

225225
data['order[' + type + '_address][customer_address_id]'] = null;
226+
data['shipping_as_billing'] = jQuery('[name="shipping_same_as_billing"]').is(':checked') ? 1 : 0;
226227

227228
if (name === 'customer_address_id') {
228229
data['order[' + type + '_address][customer_address_id]'] =

0 commit comments

Comments
 (0)