@extends('layouts.admin',['activePage' => 'dashboard', 'menuParent' => 'Dashboard', 'titlePage'=>('Dashboard')]) @section('titulo', 'Dashboard') @section('breadcrumb') @endsection @section('estilos') @endsection @section('contenido') @if(auth()->user()->role->role_id == 1)
@foreach($almacenes as $a) @endforeach
Almacen Nombre
{{$a['Almacen']}} {{$a['Descripcion']}}
@foreach($documentos as $p) @php $label="badge-secondary"; if($p['Estatus']=="Cancelado"){ $label="badge-danger"; }elseif($p['Estatus']=="Facturado"){ $label="badge-success"; }elseif($p['Estatus']=="PorAutorizar"){ $label="badge-primary"; }else{ $label="badge-secondary"; } @endphp @endforeach
Fecha Folio Importe Estatus
{{date("d-m-Y", strtotime($p['Fecha']))}} {{$p['Folio']}} $ {{number_format($p['Precio'],2) }}
@foreach($clientes as $c) @endforeach
Cuenta Nombre Estatus Fecha
{{$c->id_intesys}} {{$c->name}} {{date("d-m-Y", strtotime($c->created_at))}}
@else
@php $cont=0; @endphp @foreach($documentos as $p) @php $label="badge-secondary"; if($p['Estatus']=="Cancelado"){ $label="badge-danger"; }elseif($p['Estatus']=="PorSurtir"){ $label="badge-success"; } @endphp @php $cont++; @endphp @if($cont ==1) @break; @endif @endforeach
Fecha Folio Importe Estatus
{{date("d-m-Y", strtotime($p['Fecha']))}} {{$p['Folio']}} $ {{number_format($p['Precio'],2) }}
Nombre {{$datosCliente['Nombre']}}
Teléfono {{$datosCliente['Telefono']}}
Email {{$datosCliente['Email']}}
Dirección {{$datosCliente['Domicilio']}}
CP {{$datosCliente['CodigoPostal']}}
Colonia {{$datosCliente['Colonia']}}
Municipio {{$datosCliente['Municipio']}}
Estado {{$datosCliente['Estado']}}
@endif @endsection @section('scripts') @endsection