@extends('layouts.app')

@section('title',"Bancos")

@section('content')
<div class="card">
	<div class="card-header header-elements-inline">
		<h5 class="card-title"><i class="icon-clipboard "></i> Bancos </h5>
		<div class="header-elements">
			<div class="list-icons">
        		<a class="list-icons-item" data-action="collapse"></a>
        		<a class="list-icons-item" data-action="reload"></a>
        		<a class="list-icons-item" data-action="remove"></a>
        	</div>
    	</div>
	</div>	
	<div class="card-body mt-2">
		<div class="row">
			<div class="col-12">
				@include('layouts.buttons.button-create',['buttons'=> array(
	                array(
	                  'modal'=>'si',
	                  'url'=>'#',
	                  'class'=>" btn btn-primary",
	                  'icon'=>"icon-database-add",
	                  'text' => "Crear Banco"
	                )
            	)])	
			</div>
		</div>
	</div>
	<table class="table table-bordered table-hover datatable">
		<thead>
			<tr>
				<th>Codigo</th>
				<th>Nombre </th>
				<th>Moneda</th>
				<th>Siglas</th>
				<th>Accion</th>
			</tr>
		</thead>
	</table>
</div>
<div class="response-ajax"></div>
@include('Catalogo.views.add.banco')
	@section('scripts')
	<script>
		var url = 'bancos';
		var columns = [
			        {data: 'id'},
			        {data: 'nombre'},
			        {data: 'moneda'},
			        {data: 'siglas'},
			        {data: 'action'},
			    ];
		</script>
		<script src="{!! asset('assets/datatables/datatables_basic.js') !!}"></script>
	@endsection
@endsection