@extends('metronic.base')
@section('titulo')
Bancos
@endsection
@section('content')
@include('sessions')
@include('banco.modals.addBanco')
Para poder agregar una cuenta a un banco en especifico, seleccione el icono de
correspondiente al
banco a realizar la acción.
@if (count($bancos) > 0)
# |
Nombre |
Tipo |
Pais |
{{-- Comision | --}}
Acciones |
@foreach ($bancos as $key => $banco)
{{ $i }} |
{{ $banco->nombre_banco }} |
@if ($banco->tipo_banco == 'L')
Local
@else
Exterior
@endif
|
{{ $banco->pais }} |
{{-- {{ $banco->comision }} | --}}
@include('cuenta.modals.addCuenta')
|
@endforeach
Cuentas Bancarias
@for ($i = 0; $i < $bancos->count(); $i++)
@if ($cuentasB[$i]->count() > 0)
# |
|
Número de cuenta |
Cuenta contable |
{{-- | --}}
Tipo de cuenta |
Saldo |
@php
$n = 1;
@endphp
@foreach ($cuentasB[$i] as $cuenta)
{{ $n }} |
| {{ $cuenta->numero_cuenta }} |
{{ $cuenta->cuenta?->nombre_cuenta }} |
{{-- | --}}
@if ($cuenta->tipo_cuenta == 1)
Ahorro
@endif
@if ($cuenta->tipo_cuenta == 2)
Corriente
@endif
@if ($cuenta->tipo_cuenta == 3)
Electronica
@endif
@if ($cuenta->tipo_cuenta == 4)
Depósito a plazo
@endif
|
$ |
@php
$n++;
@endphp
@endforeach
@endif
@endfor
@else
¡Opps! Parece que no tienes ningun banco registrado.
@endif
@endsection