@extends('base')
@section('extracss')
@endsection
@section('extrajs')
@endsection
@section('titulo')
Bancos
@endsection
@section('content')
{{-- @can('banco.store') --}}
{{-- @endcan --}}
@include('banco.modals.addBanco')
@include('cuenta.modals.addCuenta')
@include('sessions')
@if(count($bancos) > 0)
Bancos
# |
Nombre |
Tipo |
Pais |
Comision |
Acciones |
@foreach ($bancos as $banco )
{{ $i}} |
{{ $banco->nombre_banco }} |
@if($banco->tipo_banco=='L')
Local
@else
Exterior
@endif
|
{{ $banco->pais }} |
{{ $banco->comision }} |
|
@endforeach
Cuentas Bancarias
@for($i = 0; $i < $bancos->count(); $i++)
@if ($cuentasB[$i]->count()>0)
Cuentas de {{ $bancos[$i]->nombre_banco.' '.$bancos[$i]->pais }} |
# |
|
Número de cuenta |
{{-- | --}}
Tipo de cuenta |
Saldo |
@php
$n=1;
@endphp
@foreach ($cuentasB[$i] as $cuenta)
{{ $n }} |
| {{ $cuenta->numero_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
{{-- @include('banco.modals.editClient') --}}
{{-- @include('banco.modals.deletebanco') --}}
@else
¡Opps! Parece que no tienes ningun banco registrado.
@endif
{{-- --}}
@endsection