Skip to content

Commit

Permalink
Updated Save.php file
Browse files Browse the repository at this point in the history
  • Loading branch information
Govind Sharma authored Jan 30, 2019
1 parent 0ec113f commit a44cb0e
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -200,12 +200,7 @@ public function execute()
$this->_objectManager->get(\Psr\Log\LoggerInterface::class)->critical($e);
$this->messageManager->addError(__('We can\'t send the invoice email right now.'));
}
if (!empty($data['do_shipment'])) {
$this->messageManager->addSuccess(__('You created the invoice and shipment.'));
} else {
$this->messageManager->addSuccess(__('The invoice has been created.'));
}


if ($shipment) {
try {
if (!empty($data['send_email'])) {
Expand Down

0 comments on commit a44cb0e

Please sign in to comment.