@extends('cr_blank') @section('content') @include('componentes.r_header') {{--
Fecha:
{{ date('d/m/Y',strtotime($datos->fecha_ingreso)) }}
NIT/CI:
{{ $datos->proveedor->nit }}
Nombre/Razón social:
{{ $datos->proveedor->razon_social }}
Telf/Cel.:
{{ $datos->proveedor->telefono }}
--}} @if ($caja)
Sucursal: {{ $caja->sucursal->nombre }}
Fecha de apertura: {{ date('d-m-Y H:i',strtotime($caja->fecha_apertura)) }}
@if ($caja->estado == 'CERRADO')
Fecha de cierre: {{ date('d-m-Y H:i',strtotime($caja->fecha_cierre)) }}
@endif
{{ $caja->usuario->nombre_completo }}
@endif @if ($tipo_movimiento)
Tipo: {{ $tipo_movimiento->nombre }}
@endif @if ($ini && $fin && !$caja)
Del {{ date('d-m-Y',strtotime($ini)) }} al {{ date('d-m-Y',strtotime($fin)) }}
@endif
@foreach ($datos as $item) @if ($item->ingreso) @else @endif @endforeach
N. FECHA TIPO CONCEPTO METODO PAGO CUENTA INGRESO EGRESO
{{ ++$i }} {{ date('d-m-Y H:i',strtotime($item->fecha)) }} {{ $item->tipomovimiento->nombre }} {{ $item->concepto }} {{ $item->metodo_pago ?? 'EFECTIVO' }} {{ $item->cuenta ? $item->cuenta->nombre : '-' }}{{ number_format($item->monto,2) }} 0.000.00 {{ number_format($item->monto,2) }}
TOTAL Bs. {{ number_format($total_i,2) }} {{ number_format($total_e,2) }}
@if ($caja && $caja->estado == 'ABIERTO')
Saldo inicial: {{ number_format($caja->saldo_inicial,2) }}
Efectivo: {{ number_format($efectivo,2) }}
Transferido: {{ number_format($transferido,2) }}
Ingresos: {{ number_format($total_i,2) }}
Egresos (Devolución): {{ number_format($devolucion,2) }}
Egresos (Gasto): {{ number_format($total_e - $devolucion,2) }}
Saldo: {{ number_format($caja->saldo_inicial+$total_i-$total_e,2) }}
@endif @if ($caja && $caja->estado == 'CERRADO')
Saldo inicial: {{ number_format($caja->saldo_inicial,2) }}
Efectivo: {{ number_format($efectivo,2) }}
Transferido: {{ number_format($transferido,2) }}
Ingresos: {{ number_format($caja->ingresos,2) }}
Egresos (Devolución): {{ number_format($devolucion,2) }}
Egresos (Gasto): {{ number_format($caja->egresos - $devolucion,2) }}
Saldo: {{ number_format($caja->saldo_cierre,2) }}
@endif @if (!$caja)
Efectivo: {{ number_format($efectivo,2) }}
Transferido: {{ number_format($transferido,2) }}
Ingresos: {{ number_format($total_i,2) }}
Egresos (Devolución): {{ number_format($devolucion,2) }}
Egresos (Gasto): {{ number_format($total_e - $devolucion,2) }}
Total: {{ number_format(+$total_i-$total_e,2) }}
@endif
{{-- --}} {{-- --}} {{-- --}} @endsection @section('scripts') @endsection