File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed
Sales/Controller/Adminhtml/Order
Shipping/Controller/Adminhtml/Order/Shipment Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -95,9 +95,10 @@ public function execute()
95
95
isset ($ data ['comment_customer_notify ' ]),
96
96
isset ($ data ['is_visible_on_front ' ])
97
97
);
98
+
99
+ $ creditmemo ->setCustomerNote ($ data ['comment_text ' ]);
98
100
}
99
101
100
- $ creditmemo ->setCustomerNote ($ data ['comment_text ' ]);
101
102
$ creditmemo ->setCustomerNoteNotify (isset ($ data ['comment_customer_notify ' ]));
102
103
103
104
if (isset ($ data ['do_refund ' ])) {
Original file line number Diff line number Diff line change @@ -158,9 +158,10 @@ public function execute()
158
158
isset ($ data ['comment_customer_notify ' ]),
159
159
isset ($ data ['is_visible_on_front ' ])
160
160
);
161
+
162
+ $ invoice ->setCustomerNote ($ data ['comment_text ' ]);
161
163
}
162
164
163
- $ invoice ->setCustomerNote ($ data ['comment_text ' ]);
164
165
$ invoice ->setCustomerNoteNotify (isset ($ data ['comment_customer_notify ' ]));
165
166
166
167
$ invoice ->register ();
Original file line number Diff line number Diff line change @@ -106,9 +106,10 @@ public function execute()
106
106
isset ($ data ['comment_customer_notify ' ]),
107
107
isset ($ data ['is_visible_on_front ' ])
108
108
);
109
+
110
+ $ shipment ->setCustomerNote ($ data ['comment_text ' ]);
109
111
}
110
112
111
- $ shipment ->setCustomerNote ($ data ['comment_text ' ]);
112
113
$ shipment ->setCustomerNoteNotify (isset ($ data ['comment_customer_notify ' ]));
113
114
114
115
$ shipment ->register ();
You can’t perform that action at this time.
0 commit comments