@extends('layouts.default') @section('content')

{{Lang::get('messages.stats')}}

{{$dataArray['productViewCount']}} {{Lang::get('messages.view')}}

@if($dataArray['productQrcodeMaps']->isEmpty())

{{Lang::get('messages.no_qrcode_in_stats')}}

Create Campaign

@else


@if(empty($dataArray['topProductSale'])) @else

QrCodes

@foreach($dataArray['topProductSale'] as $key=>$value) @endforeach
Published Title Product Type Views Sale Total Balance
{{$value['published']}} {{$value['productName']}} {{$value['type']}} {{$value['Views']}} {{$value['Sales']}} {{$value['topPrice']}}

Top Selling Places

@foreach($dataArray['topProductSale'] as $key=>$value) @endforeach
Rank City Country Views Sale Total Balance
{{$key+1}} {{$value['city']}} {{$value['country']}} {{$value['Views']}} {{$value['Sales']}} {{$value['topPrice']}}

Most Popular Smart Phones

@foreach($dataArray['productBrowser'] as $key=>$value) @endforeach
Rank Brand Browser Views
{{$key+1}} {{$value->platform}} {{$value->browser}} {{$value->view}}

Best Selling Timeline

Time Sales
Morning {{$dataArray['productTotalMorningSaleCount'][0]->morning}}
Afternoon {{$dataArray['productTotalAfternoonSaleCount'][0]->morning}}
Evening {{$dataArray['productTotalEveningSaleCount'][0]->morning}}
@endif @endif @stop @section('footer_js') @stop