@extends('adminlte::page') @section('title', 'Dashboard') @section('content_header')

Dashboard

@stop @section('content') @php $symbol = "$"; if(!empty($setting->currency)){ $currency = json_decode($setting->currency, true); $symbol = $currency['symbol']; } @endphp
Ingresos {{$symbol}} {{number_format($input,2,',','.')}}
Gastos {{$symbol}} {{number_format($output,2,',','.')}}
Balance {{$symbol}} {{number_format($balance,2,',','.')}}
@foreach($movements as $mv) @endforeach
# Tipo Descripcion Monto Fecha
{{$mv->id}} @if($mv->type == 'input') Entrada @else Salida @endif {{$mv->description}} {{$symbol}} {{number_format($mv->amount,2,',','.')}} {{date('d-m-Y', strtotime($mv->datemovement))}}
@if($expirations_subscriptions) @foreach($expirations_subscriptions as $es) @endforeach @endif
Cuenta (email) Vendedor Cliente Dias Restantes Facturacion Comentario Acciones
@if(!empty($es->service->cover)) @endif {{$es->service->name}} ({{$es->account->email}}) {{$es->user->role_and_name}} {{$es->customer->name}} {{$es->last_days}} {{date('d/m/Y',strtotime($es->date_to))}} {{$es->comment}}
@method('DELETE') @csrf
@if($accounts) @foreach($accounts as $acc) @endforeach @endif
Sercicio Cuenta (Email) Dias Restantes Facturacion Proveedor
@if(!empty($acc->service->cover)) @endif {{@$acc->service->name}} {{$acc->email}} {{$acc->last_days}} {{date('d/m/Y',strtotime($acc->dateto))}} @if(!empty($acc->provider)) {{ $acc->provider->name }} @else Sin Proveedor @endif
@if(Auth::user()->role == 'super_admin')
@foreach($reports as $report) @endforeach
# Cuenta Vendedor Motivo Estado Acciones
{{$report->id}} {{$report->account->email}} ({{$report->account->service->name}}) {{$report->user->role_and_name}} {{$report->about}} @switch($report->status) @case('pending') Pendiente @break @case('in_review') En Revision @break @case('closed') Cerrado @break @endswitch
@foreach($accountsSoled as $as) @if($setting->expiration_days_accounts >= $as->last_reseller_days_integer) @endif @endforeach
Sercicio Cuenta (Email) Dias Restantes Revendedor Acciones
@if(!empty($as->service->cover)) @endif {{@$as->service->name}} {{$as->email}} {{$as->last_reseller_days_integer}} {{$as->user->role_and_name}} user_id}} class="btn btn-warning btn-extend-account-reseller">
@endif
@stop @section('js') @include('admin.partials.messages') @stop