{{ DB::table('empresas')->count() == 0 ? 'SISCOM ' : DB::table('empresas')->first()->razon_social }}

{{ DB::table('empresas')->count() == 0 ? '- ' : DB::table('empresas')->first()->direccion_fiscal }}

Central telefónica: {{ DB::table('empresas')->count() == 0 ? '-' : DB::table('empresas')->first()->telefono }}

Email: {{ DB::table('empresas')->count() == 0 ? '-' : DB::table('empresas')->first()->correo }}

RUC {{ DB::table('empresas')->count() == 0 ? '- ' : DB::table('empresas')->first()->ruc }}

CUENTA

CL - {{ $cliente->id}}


@if($empresa->condicion == 1)

@endif
CLIENTE : {{ $cliente->nombre }}
{{ $cliente->tipo_documento }} : {{ $cliente->documento }}
DIRECCIÓN : {{ $cliente->direccion }}

@foreach($cuentas as $item) @endforeach
FECHA MONTO SALDO
{{ getFechaFormato($item->fecha_doc ,'d/m/Y') }} {{ $item->monto }} {{ $item->saldo }}

@if ($empresa->condicion_id == 1)

¡¡Gracias por su confianza y preferencia!!

@else
@foreach($empresa->bancos as $banco)

{{ $banco->descripcion}} {{ $banco->tipo_moneda}} N°: {{ $banco->num_cuenta}} CCI: {{ $banco->cci}}

@endforeach
@endif

Saldo: S/.

{{ number_format($cuentas->sum('saldo'), 2) }}

Total: S/.

{{ number_format($cuentas->sum('monto'), 2) }}