@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',strtotime($caja->fecha_apertura)) }}
{{ $caja->usuario->nombre_completo }}
@endif @if ($tipo_movimiento)
Tipo: {{ $tipo_movimiento->nombre }}
@endif @if ($ini && $fin)
Del {{ date('d-m-Y',strtotime($ini)) }} al {{ date('d-m-Y',strtotime($fin)) }}
@endif
{{-- --}} @foreach ($datos as $item) @if ($item->orden) @else @endif @if ($item->ingreso) @else @endif @endforeach
N. SUCURSAL FECHA TIPO F. PEDIDO CONCEPTOMETODO PAGOMETODO PAGO/CUENTA INGRESO EGRESO
{{ ++$i }} {{ $item->caja->sucursal->nombre }} {{ date('d-m-Y H:i',strtotime($item->fecha)) }} {{ $item->tipomovimiento->nombre }}{{ $item->orden->fecha_registro ? date('d-m-Y',strtotime($item->orden->fecha_registro)):'-' }}{{ $item->concepto }}
{{ $item->metodo_pago ?? 'EFECTIVO' }}
{{ $item->cuenta ? $item->cuenta->nombre : '-' }}
{{ number_format($item->monto,2) }} 0.000.00 {{ number_format($item->monto,2) }}
{{-- --}}
SUB TOTAL Bs. {{ number_format($total_i,2) }} {{ number_format($total_e,2) }}
TOTAL Bs. {{ number_format($total_i - $total_e,2) }}
@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
@if ($caja && $caja->estado == 'ABIERTO')
Saldo inicial: {{ number_format($caja->saldo_inicial,2) }}
Ingresos: {{ number_format($total_i,2) }}
Egresos: {{ number_format($total_e,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) }}
Ingresos: {{ number_format($caja->ingresos,2) }}
Egresos: {{ number_format($caja->egresos,2) }}
Saldo: {{ number_format($caja->saldo_cierre,2) }}
@endif
{{-- --}} {{-- --}} {{-- --}} @endsection @section('scripts') @endsection