@extends('dashboard::master') {{-- Autor: Giovanni López O. @gmlo_89 --}} @section('head') @stop @section('content')

{{ trans('customers::label.reports') }} - {{ $customer->name }}

{{ Alert::render() }}
@if(Auth::user()->usergroup == 0) {{ trans('dashboard::label.go_back') }} @endif
{{ trans('customers::label.reports') }}
{{ Form::open(['route' => 'monitors.daily-report', "class" => "form-horizontal", 'target' => '_blank']) }} {{ Form::hidden('customer_id', $customer->id) }}
{{ Form::email('email', $user->email, array( "class" => "form-control email", "id" => "inputEmail" )) }}
{{ Form::checkbox('send_to_email', '1'); }}
{{ Form::submit(trans('customers::label.generate_report'), ['class' => 'btn btn-primary']) }}
{{ Form::close() }}
{{ Form::open(['route' => 'monitors.weekly-report', "class" => "form-horizontal", 'target' => '_blank']) }} {{ Form::hidden('customer_id', $customer->id) }}
{{ Form::email('email', $user->email, array( "class" => "form-control email", "id" => "inputEmail" )) }}
{{ Form::checkbox('send_to_email', '1'); }}
{{ Form::submit(trans('customers::label.generate_report'), ['class' => 'btn btn-primary']) }}
{{ Form::close() }}
@stop @section('scripts') @stop