TO MUCH THINGS
Pero ya esta casi casi, estoy haciendo la eliminacion de cosas de las tarjetas de credito, luego empiezo a utilizar la linea de sobregiro y esta done done <3
This commit is contained in:
@@ -17,139 +17,127 @@
|
||||
</h:head>
|
||||
<body class="black-70 pa4">
|
||||
<h:form rendered="#{userBean.isLogged() and userBean.isClient()}">
|
||||
<h1 class="f1 tc">¡Bienvenido #{clienteBean.cliente.nombre}!</h1>
|
||||
|
||||
<div class="flex justify-between">
|
||||
<h1 class="f1 w-100 dib">¡Bienvenido #{clienteBean.cliente.nombre}!</h1>
|
||||
<h:commandLink class="f5 tc link w-20 dim br2 ph3 pv2 mb1 mr2 dib white bg-red" immediate="true" action="#{userBean.logout()}" style="margin-top: auto; margin-bottom: auto">
|
||||
<div class="mv3 cf">
|
||||
<h:commandLink class="f5 fr tc link dim br2 ph3 pv2 mb2 dib white bg-red" immediate="true" action="#{userBean.logout()}" style="width: 200px">
|
||||
<li class="fas fa-sign-out-alt"></li> Cerrar sesion
|
||||
</h:commandLink>
|
||||
</div>
|
||||
|
||||
<h2 class="f2">Productos</h2>
|
||||
<h2 class="f2 tc">Productos</h2>
|
||||
|
||||
<!--
|
||||
////////////////////////////////////////////////////////////////////
|
||||
///////////////////////////Cuentas Corrientes///////////////////////
|
||||
///////////////////////////Cuenta Corriente///////////////////////
|
||||
////////////////////////////////////////////////////////////////////
|
||||
-->
|
||||
<h3 class="f3">Cuentas Corrientes</h3>
|
||||
-->
|
||||
<h:panelGroup layout="block" class="mv3 w-100" rendered="#{clienteBean.cliente.cuentaCorriente != null}">
|
||||
<h3 class="f3 tc">Cuenta Corriente</h3>
|
||||
|
||||
<h:dataTable class="w-100 pv3" headerClass="fw6 bb b--black-20 tl pb2 pr3" value="#{clienteBean.cliente.cuentaCorrienteList}" var="cuentaCorriente">
|
||||
<h:column>
|
||||
<f:facet name="header">
|
||||
<h:outputLabel value="Id"/>
|
||||
</f:facet>
|
||||
<h:outputLabel value="#{cuentaCorriente.id}"/>
|
||||
</h:column>
|
||||
<h:column>
|
||||
<f:facet name="header">
|
||||
<h:outputLabel value="Saldo"/>
|
||||
</f:facet>
|
||||
<h:outputLabel value="#{cuentaCorriente.saldo}"/>
|
||||
</h:column>
|
||||
<h:column>
|
||||
<f:facet name="header">
|
||||
<h:outputLabel value="Fecha creacion"/>
|
||||
</f:facet>
|
||||
<h:outputLabel value="#{cuentaCorriente.insertedAt}">
|
||||
<f:convertDateTime pattern="dd/MM/yyyy HH:mm"/>
|
||||
</h:outputLabel>
|
||||
</h:column>
|
||||
<h:column class="tr">
|
||||
<h:commandLink class="f6 link dim br2 ph3 pv2 mb2 dib white bg-green tc" action="#{clienteBean.gotoViewCuentaCorriente(cuentaCorriente)}">
|
||||
<li class="fas fa-eye"></li>
|
||||
<div class="mt3 tc">
|
||||
<h:outputLabel class="db lh-copy f6" value="Id:"/>
|
||||
<h:inputText class="pa2 input-reset ba b--black-20 bg-transparent w-100 measure" value="#{clienteBean.cliente.cuentaCorriente.id}" readonly="true"/>
|
||||
</div>
|
||||
<div class="mt3 tc">
|
||||
<h:outputLabel class="db lh-copy f6" value="Saldo:"/>
|
||||
<h:inputText class="pa2 input-reset ba b--black-20 bg-transparent w-100 measure" value="#{clienteBean.cliente.cuentaCorriente.saldo}" readonly="true"/>
|
||||
</div>
|
||||
<div class="mt3 tc">
|
||||
<h:outputLabel class="db lh-copy f6" value="Fecha Creacion:"/>
|
||||
<h:inputText class="pa2 input-reset ba b--black-20 bg-transparent w-100 measure" value="#{clienteBean.cliente.cuentaCorriente.insertedAt}" readonly="true"/>
|
||||
</div>
|
||||
<div class="mt3 tc">
|
||||
<h:commandLink class="f6 link dim br2 ph3 pv2 mb2 dib white bg-green tc" action="#{clienteBean.gotoViewCuentaCorriente()}" style="width: 200px">
|
||||
<li class="fas fa-eye"></li> Ver
|
||||
</h:commandLink>
|
||||
</h:column>
|
||||
</h:dataTable>
|
||||
|
||||
</div>
|
||||
</h:panelGroup>
|
||||
|
||||
<h:panelGroup layout="block" rendered="#{clienteBean.cliente.cuentaCorriente == null}">
|
||||
<h3 class="f3 tc">Cuenta Corriente</h3>
|
||||
<p class="f6 tc">Sin contratar</p>
|
||||
</h:panelGroup>
|
||||
|
||||
<hr/>
|
||||
<!--
|
||||
////////////////////////////////////////////////////////////////////
|
||||
///////////////////////////Tarjetas de Debito///////////////////////
|
||||
////////////////////////////////////////////////////////////////////
|
||||
-->
|
||||
<h3 class="f3">Tarjetas de Debito</h3>
|
||||
|
||||
<h:dataTable class="w-100 pv3" headerClass="fw6 bb b--black-20 tl pb2 pr3" value="#{clienteBean.cliente.tarjetaDebitoList}" var="tarjetaDebito">
|
||||
<h:column>
|
||||
<f:facet name="header">
|
||||
<h:outputLabel value="Id"/>
|
||||
</f:facet>
|
||||
<h:outputLabel value="#{tarjetaDebito.id}"/>
|
||||
</h:column>
|
||||
<h:column>
|
||||
<f:facet name="header">
|
||||
<h:outputLabel value="Saldo"/>
|
||||
</f:facet>
|
||||
<h:outputLabel value="#{tarjetaDebito.saldo}"/>
|
||||
</h:column>
|
||||
<h:column>
|
||||
<f:facet name="header">
|
||||
<h:outputLabel value="Fecha creacion"/>
|
||||
</f:facet>
|
||||
<h:outputLabel value="#{tarjetaDebito.insertedAt}">
|
||||
<f:convertDateTime pattern="dd/MM/yyyy HH:mm"/>
|
||||
</h:outputLabel>
|
||||
</h:column>
|
||||
<h:column class="tr">
|
||||
<h:commandLink class="f6 link dim br2 ph3 pv2 mb2 dib white bg-green tc" action="#{clienteBean.gotoViewTarjetaDebito(tarjetaDebito)}">
|
||||
<li class="fas fa-eye"></li>
|
||||
<h:panelGroup layout="block" class="mv3 w-100" rendered="#{clienteBean.cliente.tarjetaDebito != null}">
|
||||
<h3 class="f3 tc">Tarjeta Debito</h3>
|
||||
|
||||
<div class="mt3 tc">
|
||||
<h:outputLabel class="db lh-copy f6" value="Id:"/>
|
||||
<h:inputText class="pa2 input-reset ba b--black-20 bg-transparent w-100 measure" value="#{clienteBean.cliente.tarjetaDebito.id}" readonly="true"/>
|
||||
</div>
|
||||
<div class="mt3 tc">
|
||||
<h:outputLabel class="db fw4 lh-copy f6" value="Saldo:"/>
|
||||
<h:inputText class="pa2 input-reset ba b--black-20 bg-transparent w-100 measure" value="#{clienteBean.cliente.tarjetaDebito.saldo}" readonly="true"/>
|
||||
</div>
|
||||
<div class="mt3 tc">
|
||||
<h:outputLabel class="db fw4 lh-copy f6" value="Fecha Creacion:"/>
|
||||
<h:inputText class="pa2 input-reset ba b--black-20 bg-transparent w-100 measure" value="#{clienteBean.cliente.tarjetaDebito.insertedAt}" readonly="true"/>
|
||||
</div>
|
||||
<div class="mt3 tc">
|
||||
<h:commandLink class="f5 tc link w-20 dim br2 ph3 pv2 mb1 mr2 dib white bg-green" action="#{clienteBean.gotoViewTarjetaDebito()}" style="width: 200px">
|
||||
<li class="fas fa-eye"></li> Ver
|
||||
</h:commandLink>
|
||||
</h:column>
|
||||
</h:dataTable>
|
||||
</div>
|
||||
</h:panelGroup>
|
||||
|
||||
<h:panelGroup layout="block" rendered="#{clienteBean.cliente.tarjetaDebito == null}">
|
||||
<h3 class="f3 tc">Tarjeta Debito</h3>
|
||||
<p class="f6 tc">Sin contratar</p>
|
||||
</h:panelGroup>
|
||||
|
||||
<hr/>
|
||||
|
||||
<!--
|
||||
////////////////////////////////////////////////////////////////////
|
||||
///////////////////////////Tarjetas de Credito//////////////////////
|
||||
////////////////////////////////////////////////////////////////////
|
||||
-->
|
||||
<h3 class="f3">Tarjetas de Credito</h3>
|
||||
|
||||
<h:panelGroup layout="block" class="mv3 w-100" rendered="#{clienteBean.cliente.tarjetaCredito != null}">
|
||||
<h3 class="f3 tc">Tarjeta Credito</h3>
|
||||
|
||||
<h:dataTable class="w-100 pv3" headerClass="fw6 bb b--black-20 tl pb2 pr3" value="#{clienteBean.cliente.tarjetaCreditoList}" var="tarjetaCredito">
|
||||
<h:column>
|
||||
<f:facet name="header">
|
||||
<h:outputLabel value="Id"/>
|
||||
</f:facet>
|
||||
<h:outputLabel value="#{tarjetaCredito.id}"/>
|
||||
</h:column>
|
||||
<h:column>
|
||||
<f:facet name="header">
|
||||
<h:outputLabel value="Limite Nacional"/>
|
||||
</f:facet>
|
||||
<h:outputLabel value="#{tarjetaCredito.limiteNacional}"/>
|
||||
</h:column>
|
||||
<h:column>
|
||||
<f:facet name="header">
|
||||
<h:outputLabel value="Deuda Nacional"/>
|
||||
</f:facet>
|
||||
<h:outputLabel value="#{tarjetaCredito.deudaNacional}"/>
|
||||
</h:column>
|
||||
<h:column>
|
||||
<f:facet name="header">
|
||||
<h:outputLabel value="Limite Internacional"/>
|
||||
</f:facet>
|
||||
<h:outputLabel value="#{tarjetaCredito.limiteInternacional}"/>
|
||||
</h:column>
|
||||
<h:column>
|
||||
<f:facet name="header">
|
||||
<h:outputLabel value="Deuda Internacional"/>
|
||||
</f:facet>
|
||||
<h:outputLabel value="#{tarjetaCredito.deudaInternacional}"/>
|
||||
</h:column>
|
||||
<h:column>
|
||||
<f:facet name="header">
|
||||
<h:outputLabel value="Fecha creacion"/>
|
||||
</f:facet>
|
||||
<h:outputLabel value="#{tarjetaCredito.insertedAt}">
|
||||
<f:convertDateTime pattern="dd/MM/yyyy HH:mm"/>
|
||||
</h:outputLabel>
|
||||
</h:column>
|
||||
<h:column class="tr">
|
||||
<h:commandLink class="f6 link dim br2 ph3 pv2 mb2 dib white bg-green tc" action="#{clienteBean.gotoViewTarjetaCredito(tarjetaCredito)}">
|
||||
<li class="fas fa-eye"></li>
|
||||
<div class="mt3 tc">
|
||||
<h:outputLabel class="db lh-copy f6" value="Id:"/>
|
||||
<h:inputText class="pa2 input-reset ba b--black-20 bg-transparent w-100 measure" value="#{clienteBean.cliente.tarjetaCredito.id}" readonly="true"/>
|
||||
</div>
|
||||
<div class="mt3 tc">
|
||||
<h:outputLabel class="db lh-copy f6" value="Limite Nacional:"/>
|
||||
<h:inputText class="pa2 input-reset ba b--black-20 bg-transparent w-100 measure" value="#{clienteBean.cliente.tarjetaCredito.limiteNacional}" readonly="true"/>
|
||||
</div>
|
||||
<div class="mt3 tc">
|
||||
<h:outputLabel class="db lh-copy f6" value="Deuda Nacional:"/>
|
||||
<h:inputText class="pa2 input-reset ba b--black-20 bg-transparent w-100 measure" value="#{clienteBean.cliente.tarjetaCredito.deudaNacional}" readonly="true"/>
|
||||
</div>
|
||||
<div class="mt3 tc">
|
||||
<h:outputLabel class="db lh-copy f6" value="Limite Internacional:"/>
|
||||
<h:inputText class="pa2 input-reset ba b--black-20 bg-transparent w-100 measure" value="#{clienteBean.cliente.tarjetaCredito.limiteInternacional}" readonly="true"/>
|
||||
</div>
|
||||
<div class="mt3 tc">
|
||||
<h:outputLabel class="db lh-copy f6" value="Deuda Internacional:"/>
|
||||
<h:inputText class="pa2 input-reset ba b--black-20 bg-transparent w-100 measure" value="#{clienteBean.cliente.tarjetaCredito.deudaInternacional}" readonly="true"/>
|
||||
</div>
|
||||
<div class="mt3 tc">
|
||||
<h:outputLabel class="db lh-copy f6" value="Fecha Creacion:"/>
|
||||
<h:inputText class="pa2 input-reset ba b--black-20 bg-transparent w-100 measure" value="#{clienteBean.cliente.tarjetaCredito.insertedAt}" readonly="true"/>
|
||||
</div>
|
||||
<div class="mt3 tc">
|
||||
<h:commandLink class="f5 tc link w-20 dim br2 ph3 pv2 mb1 mr2 dib white bg-green" action="#{clienteBean.gotoViewTarjetaCredito()}" style="width: 200px">
|
||||
<li class="fas fa-eye"></li> Ver
|
||||
</h:commandLink>
|
||||
</h:column>
|
||||
</h:dataTable>
|
||||
</div>
|
||||
</h:panelGroup>
|
||||
|
||||
<h:panelGroup layout="block" rendered="#{clienteBean.cliente.tarjetaCredito == null}">
|
||||
<h3 class="f3 tc">Tarjeta Credito</h3>
|
||||
<p class="f6 tc">Sin contratar</p>
|
||||
</h:panelGroup>
|
||||
</h:form>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user