Skip to content

Commit

Permalink
MAGETWO-43457: Queue tasks execution controller
Browse files Browse the repository at this point in the history
  • Loading branch information
Hayder Sharhan committed Mar 28, 2016
1 parent 05b68d5 commit 3db27a4
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Copyright © 2015 Magento. All rights reserved.
* Copyright © 2016 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\SampleMessageQueue\Model\Handler\Async;
Expand Down Expand Up @@ -100,7 +100,10 @@ public function send($payload)
[
'name' => isset($payload['customer_name']) ? $payload['customer_name'] : '',
'sender_name' => 'Your Friends at ' . $storeName,
'balance' => $this->getFormattedBalance(isset($payload['amount']) ? $payload['amount'] : 0, $quote->getStoreId()),
'balance' => $this->getFormattedBalance(
isset($payload['amount']) ? $payload['amount'] : 0,
$quote->getStoreId()
),
'giftcards' => $this->getCodeHtml($payload, $quote->getStoreId()),
'is_redeemable' => $payload['giftcard_is_redeemable'],
'store' => $store,
Expand Down

0 comments on commit 3db27a4

Please sign in to comment.