首页业绩统计图表现在可以按订单类型显示统计数据了
2017-01-03

小老板首页的业绩统计图表,现在可以按销售平台的订单类型区分展示数据。


现在支持的平台为:

   Amazon平台(分AFN和MFN类型的订单);

   Cdiscount平台(分普通订单和FBC订单)。

其他平台暂时没有做类型区分,日后有需要将不断完善。


示例:

1.当平台支持订单类型区分时,选择该平台数据展示的时候,在“统计周期”左边会出现下拉框,可以选择显示的类型。不支持的平台则没有该下拉框。

  支持的平台:blob.png

  不支持的平台:

blob.png

2.默认展示全部订单合计数(所有类型订单数据总和)。

An Error occurred while handling another error:
yii\web\HeadersAlreadySentException: Headers already sent in /mnt/www/cms/cms/controllers/AnnouncesController.php on line 138. in /mnt/www/cms/vendor/yiisoft/yii2/web/Response.php:366
Stack trace:
#0 /mnt/www/cms/vendor/yiisoft/yii2/web/Response.php(339): yii\web\Response->sendHeaders()
#1 /mnt/www/cms/vendor/yiisoft/yii2/web/ErrorHandler.php(136): yii\web\Response->send()
#2 /mnt/www/cms/vendor/yiisoft/yii2/base/ErrorHandler.php(123): yii\web\ErrorHandler->renderException()
#3 [internal function]: yii\base\ErrorHandler->handleException()
#4 {main}
Previous exception:
yii\web\HeadersAlreadySentException: Headers already sent in /mnt/www/cms/cms/controllers/AnnouncesController.php on line 138. in /mnt/www/cms/vendor/yiisoft/yii2/web/Response.php:366
Stack trace:
#0 /mnt/www/cms/vendor/yiisoft/yii2/web/Response.php(339): yii\web\Response->sendHeaders()
#1 /mnt/www/cms/vendor/yiisoft/yii2/base/Application.php(392): yii\web\Response->send()
#2 /mnt/www/cms/cms/web/index.php(25): yii\base\Application->run()
#3 {main}