Skip to content

Commit

Permalink
Changes to rebound
Browse files Browse the repository at this point in the history
  • Loading branch information
softcommerceltd committed Dec 7, 2020
1 parent 6f89b9c commit d6487a7
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Service/OrderExport.php
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ private function processBefore(SalesOrder $order)
) {
throw new LocalizedException(
__(
'Could not export order due to absence of documents. [Order: %1]',
'Could not export order since shipment document is absence. [Order: %1]',
$this->getSalesOrder()->getIncrementId()
)
);
Expand Down Expand Up @@ -261,6 +261,13 @@ private function process(SalesOrder $order)
{
$this->processBefore($order);
if (!$this->canProcess()) {
$this->addResponse(
__(
'Could not export order since shipment document is absence. [Order: %1]',
$this->getSalesOrder()->getIncrementId()
),
Status::NOTICE
);
return $this;
}

Expand Down

0 comments on commit d6487a7

Please sign in to comment.