Skip to content

Commit

Permalink
Update AbstractFactory.php
Browse files Browse the repository at this point in the history
change in the title of the operation: useful when the order number is different than control
  • Loading branch information
wpawel authored Oct 22, 2018
1 parent 3cae0fb commit 3c9761e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Model/Factory/AbstractFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,9 @@ protected function getCurrency()
*/
protected function getDescription()
{
return __('Order ID: %1', $this->checkoutSession->getLastRealOrder()->getRealOrderId());
$AllOrderIds = $this->checkoutSession->getLastRealOrder()->getRealOrderId().'/'.$this->checkoutSession->getLastRealOrder()->getEntityId();
return __('Order ID: %1', $AllOrderIds);
// return __('Order ID: %1', $this->checkoutSession->getLastRealOrder()->getRealOrderId());
}

/**
Expand Down

0 comments on commit 3c9761e

Please sign in to comment.