File tree Expand file tree Collapse file tree 3 files changed +3
-6
lines changed
Sales/Controller/Adminhtml/Order
Shipping/Controller/Adminhtml/Order/Shipment Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -89,10 +89,9 @@ public function execute()
89
89
);
90
90
91
91
$ creditmemo ->setCustomerNote ($ data ['comment_text ' ]);
92
+ $ creditmemo ->setCustomerNoteNotify (isset ($ data ['comment_customer_notify ' ]));
92
93
}
93
94
94
- $ creditmemo ->setCustomerNoteNotify (isset ($ data ['comment_customer_notify ' ]));
95
-
96
95
if (isset ($ data ['do_refund ' ])) {
97
96
$ creditmemo ->setRefundRequested (true );
98
97
}
Original file line number Diff line number Diff line change @@ -155,10 +155,9 @@ public function execute()
155
155
);
156
156
157
157
$ invoice ->setCustomerNote ($ data ['comment_text ' ]);
158
+ $ invoice ->setCustomerNoteNotify (isset ($ data ['comment_customer_notify ' ]));
158
159
}
159
160
160
- $ invoice ->setCustomerNoteNotify (isset ($ data ['comment_customer_notify ' ]));
161
-
162
161
$ invoice ->register ();
163
162
164
163
$ invoice ->getOrder ()->setCustomerNoteNotify (!empty ($ data ['send_email ' ]));
Original file line number Diff line number Diff line change @@ -108,10 +108,9 @@ public function execute()
108
108
);
109
109
110
110
$ shipment ->setCustomerNote ($ data ['comment_text ' ]);
111
+ $ shipment ->setCustomerNoteNotify (isset ($ data ['comment_customer_notify ' ]));
111
112
}
112
113
113
- $ shipment ->setCustomerNoteNotify (isset ($ data ['comment_customer_notify ' ]));
114
-
115
114
$ shipment ->register ();
116
115
117
116
$ shipment ->getOrder ()->setCustomerNoteNotify (!empty ($ data ['send_email ' ]));
You can’t perform that action at this time.
0 commit comments