@extends('layouts.app') @section('content')
Caja de Ingresos
Listado
{!! Form::open(['url' => 'pagos/oficina/caja/ingreso/listado', 'method' => 'get', 'id' => 'frmFiltros']) !!}
{!! Form::close() !!} @if (count($data) > 0) @foreach ($data as $item) @endforeach @else @endif
# Caja Consecutivo Caja Abierta? Fecha Apertura Encargado Fecha Cierre Usuario Cierre Estado
{!! Form::select('caja', $cajas, $caja, [ 'id' => 'cajas', 'placeholder' => '-Seleccionar-', 'class' => 'form-control', 'style' => 'width: 80%;', 'onchange' => "buscar('cajas')", ]) !!} {!! Form::text('consecutivo', $consecutivo, [ 'id' => 'consecutivo', 'class' => 'form-control', 'onchange' => "buscar('consecutivo')", ]) !!} {!! Form::select('caja_abierta', [1 => 'SI', 0 => 'No'], $caja_abierta, [ 'id' => 'caja_abierta', 'placeholder' => '-Seleccionar-', 'class' => 'form-control', 'style' => 'width: 80%;', 'onchange' => "buscar('caja_abierta')", ]) !!} {!! Form::date('fecha_apertura', $fecha_apertura, [ 'id' => 'fecha_apertura', 'class' => 'form-control', 'onchange' => "buscar('fecha_apertura')", 'placeholder' => '', ]) !!} {!! Form::select('encargado', [], $encargado, [ 'id' => 'encargado', 'placeholder' => '-Seleccionar-', 'class' => 'form-control', 'style' => 'width: 80%;', 'onchange' => "buscar('encargado')", ]) !!} {!! Form::date('fecha_cierre', $fecha_cierre, [ 'id' => 'fecha_cierre', 'class' => 'form-control', 'onchange' => "buscar('fecha_cierre')", 'placeholder' => '', ]) !!} {!! Form::select('usuario_cierre', [], $usuario_cierre, [ 'id' => 'usuario_cierre', 'placeholder' => '-Seleccionar-', 'class' => 'form-control', 'style' => 'width: 80%;', 'onchange' => "buscar('usuario_cierre')", ]) !!} {!! Form::select('estado', $model->const_caja_ingreso('estatus'), $estado, [ 'id' => 'estado', 'placeholder' => '-Seleccionar-', 'class' => 'form-control', 'style' => 'width: 80%;', 'onchange' => "buscar('estado')", ]) !!}
{{ $contador++ }} {{ $item->caja_nombre }} {{ $item->caja_ingresos_consecutivo }} @if ($item->caja_ingresos_open != 0) Si @else No @endif {{ date_format(date_create($item->caja_ingresos_fecha_apertura), 'd/m/Y') }} {{ $item->encargado }} {{ date_format(date_create($item->caja_ingresos_fecha_cierre), 'd/m/Y') }} {{ $item->usuario_cierre }} {{ $model->const_caja_ingreso('estatus')[$item->caja_ingresos_estado] }}
Sin registros.
{{-- @dump($cajas) --}}
@endsection @section('script') @endsection