Browse Source

Merge branch 'develop'

master^2
Guillaume 3 years ago
parent
commit
32d71d456e
2 changed files with 1 additions and 2 deletions
  1. +1
    -1
      ShopBundle/Controller/Backend/NewsController.php
  2. +0
    -1
      ShopBundle/Services/Order/OrderUtilsReductionTrait.php

+ 1
- 1
ShopBundle/Controller/Backend/NewsController.php View File

'Email' => $this->getParameter('app.noreply_email'), 'Email' => $this->getParameter('app.noreply_email'),
'Name' => $this->getParameter('app.site_name') 'Name' => $this->getParameter('app.site_name')
], ],
'Subject' => $currentMerchant->getMerchantConfig('email-subject-prefix').' '.$news->getTitle(),
'Subject' => $currentMerchant->getMerchantConfig('email-from-name').' - '.$news->getTitle(),
'TextPart' => $this->renderView('mail/news-text.html.twig', $paramsTemplate), 'TextPart' => $this->renderView('mail/news-text.html.twig', $paramsTemplate),
'HTMLPart' => $this->renderView('mail/news-html.html.twig', $paramsTemplate), 'HTMLPart' => $this->renderView('mail/news-html.html.twig', $paramsTemplate),
'CustomCampaign' => $news->getTitle(), 'CustomCampaign' => $news->getTitle(),

+ 0
- 1
ShopBundle/Services/Order/OrderUtilsReductionTrait.php View File

$this->utils->addFlash('error', 'error.reductionCredit.alreadyUse'); $this->utils->addFlash('error', 'error.reductionCredit.alreadyUse');
return false; return false;
} }

} }


return true; return true;

Loading…
Cancel
Save