@extends('layouts.app') @section('admin-section')

Crear usuario

Crear cartera

Listar usuarios

@endsection @section('agent-section')

Cliente nuevo

Mostrar clientes

Simulador

Registrar pago

Iniciar Ruta

Transacciones

Gastos

@endsection @section('supervisor-section')

Asignar base

Cierre diario

Edicion cliente

Rastro agente

Revision cartera

Estadistica

Caja

Gastos

@endsection @section('agent-resume')
Los montos siguientes son el total del día actual

DISPONIBLE (CAJA)

{{$base_agent - $total_bill}} @if($total_summary>0) + {{$total_summary}} = {{($base_agent - $total_bill) + $total_summary}} @endif

RECAUDADO

{{$total_summary}}

GASTOS

{{$total_bill}}


@endsection @section('content')
@if(!$close_day)
@if(in_array(Auth::user()->level,['agent']))
@yield('agent-resume') @yield('agent-section')
@elseif(in_array(Auth::user()->level,['supervisor']))
@yield('supervisor-section')
@elseif(in_array(Auth::user()->level,['admin']))
@yield('admin-section')
{{--
--}} {{--
--}} {{--
Agente
--}} {{--
--}} {{-- @yield('agent-section')--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
Supervisor
--}} {{--
--}} {{-- @yield('supervisor-section')--}} {{--
--}} {{--
--}}
@else
No tienes permisos
@endif
@else
Cierre del día realizado. Vuelve mañana
@endif
@endsection