V1.4.0 released: Upsell feature, New Product Page, New Stats Module, Security fixes
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2015 PrestaShop
|
||||
* 2007-2017 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
@@ -19,7 +19,7 @@
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2015 PrestaShop SA
|
||||
* @copyright 2007-2017 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
@@ -249,8 +249,8 @@ class AdminCustomersControllerCore extends AdminController
|
||||
/** @var Customer $customer */
|
||||
if (($customer = $this->loadObject(true)) && Validate::isLoadedObject($customer)) {
|
||||
array_pop($this->toolbar_title);
|
||||
$this->toolbar_title[] = sprintf($this->l('Information about Customer: %s'), Tools::substr($customer->firstname, 0, 1).'. '.$customer->lastname);
|
||||
}
|
||||
$this->toolbar_title[] = sprintf('Information about Customer: %s', Tools::substr($customer->firstname, 0, 1).'. '.$customer->lastname);
|
||||
break;
|
||||
case 'add':
|
||||
case 'edit':
|
||||
@@ -750,7 +750,7 @@ class AdminCustomersControllerCore extends AdminController
|
||||
|
||||
if ($order['valid']) {
|
||||
$orders_ok[] = $order;
|
||||
$total_ok += $order['total_paid_real_not_formated'];
|
||||
$total_ok += $order['total_paid_real_not_formated']/$order['conversion_rate'];
|
||||
} else {
|
||||
$orders_ko[] = $order;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user