@extends('BaseSistemaWeb') @section('CSS') {{ HTML::style('DataTables/dataTables.bootstrap.min.css') }} {{ HTML::style('DataTables/responsive.dataTables.min.css') }} {{ HTML::style('bootstrap-daterangepicker/daterangepicker.css') }} {{ HTML::style('bootstrap-select/css/bootstrap-select.min.css') }} @stop @section('Contenido')

Reportes

@if (Session::has('message'))
{{ Session::get('message') }}
@endif

Reporte ROAS

{{--@foreach($Referencias as $indice => $Referencia) @endforeach

--}}
Referencia Inversión publicitaria Venta ROAS* Retorno por cada {{ $Cliente->simbolo_moneda }} invertido Cotizados sin venta Venta potencial ROAS potencial

Gráfica

@stop @section('JS') {{ HTML::script('DataTables/jquery.dataTables.min.js') }} {{ HTML::script('DataTables/dataTables.bootstrap.min.js') }} {{ HTML::script('DataTables/dataTables.responsive.min.js') }} {{ HTML::script('bootstrap-daterangepicker/moment.min.js') }} {{ HTML::script('bootstrap-daterangepicker/daterangepicker.js') }} {{ HTML::script('bootstrap-select/js/bootstrap-select.min.js') }} {{ HTML::script('bootstrap-select/js/i18n/defaults-es_CL.min.js') }} {{ HTML::script('AccountingJS/accounting.min.js') }} @stop @section('JSOr') $(".sidebar-toggle-box").trigger("click"); GenerarTabla(); $("#FiltroFechas").daterangepicker({ "ranges": { "Hoy": [moment(), moment()], "Ayer": [moment().subtract(1, 'days'), moment().subtract(1, 'days')], "Últimos 7 días": [moment().subtract(6, 'days'), moment()], "Últimos 30 días": [moment().subtract(29, 'days'), moment()], "Este mes": [moment().startOf('month'), moment().endOf('month')], "Último mes": [moment().subtract(1, 'month').startOf('month'), moment().subtract(1, 'month').endOf('month')] }, "alwaysShowCalendars": true, locale: { format: 'DD/MM/YYYY' }, autoUpdateInput: false, "startDate": moment(), "endDate": moment() }, function(start, end, label) { console.log("New date range selected: ' + start.format('YYYY-MM-DD') + ' to ' + end.format('YYYY-MM-DD') + ' (predefined range: ' + label + ')"); }); $("#FiltroFechas").on("apply.daterangepicker", function(ev, picker) { $(this).val(picker.startDate.format("DD/MM/YYYY") + " - " + picker.endDate.format("DD/MM/YYYY")); }); $("#FiltroFechas").on("cancel.daterangepicker", function(ev, picker) { $(this).val(""); }); $("#frmFiltroFechas").submit(function(e){ e.preventDefault(); GenerarTabla(); }); $("#btnLimpiar").click(function(e){ e.preventDefault(); $("#FiltroFechas").val(""); GenerarTabla(); }); @if(Session::has('EliminarMensajeS')) new PNotify({ title: "Realizado", text: "{{ Session::get('EliminarMensajeS') }}", type: "success" }); @endif @if(Session::has('EliminarMensajeE')) new PNotify({ title: "Realizado", text: "{{ Session::get('EliminarMensajeE') }}", type: "error" }); @endif @stop