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:
Daniel Cortés
2019-07-22 05:04:58 -04:00
parent c21919db55
commit bd70170c32
50 changed files with 2156 additions and 1517 deletions

View File

@@ -17,53 +17,53 @@
</h:head>
<body class="black-70 pa4">
<h:form rendered="#{userBean.isLogged() and userBean.isClient()}">
<div class="flex justify-between">
<h1 class="f1">Tarjeta Debito</h1>
<h1 class="f1 tc">Tarjeta Debito</h1>
<h:commandLink class="f5 tc link w-20 dim br2 ph3 pv2 mb1 mr2 dib white bg-blue" immediate="true" action="cliente_main" style="margin-top: auto; margin-bottom: auto">
<div class="mv3 cf">
<h:commandLink class="f5 fl tc link dim br2 ph3 pv2 mb2 dib white bg-blue" immediate="true" action="cliente_main" style="width: 200px">
<li class="fas fa-arrow-left"></li> Volver
</h:commandLink>
<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>
<div class="mt3 tc">
<h:outputLabel class="db fw4 lh-copy f6" for="id" value="Id:"/>
<h:inputText class="pa2 input-reset ba b--black-20 bg-transparent w-60" id="id" value="#{tarjetaDebitoBean.tarjetaDebito.id}" readonly="true" label="Id:"/>
<h:outputLabel class="db lh-copy f6" for="id" value="Id:"/>
<h:inputText class="pa2 input-reset ba b--black-20 bg-transparent w-100 measure" id="id" value="#{tarjetaDebitoBean.tarjetaDebito.id}" readonly="true" label="Id:"/>
</div>
<div class="mt3 tc">
<h:outputLabel class="db fw4 lh-copy f6" for="saldo" value="Saldo:"/>
<h:inputText class="pa2 input-reset ba b--black-20 bg-transparent w-60" id="saldo" value="#{tarjetaDebitoBean.tarjetaDebito.saldo}" readonly="true" label="Saldo:"/>
<h:outputLabel class="db lh-copy f6" for="saldo" value="Saldo:"/>
<h:inputText class="pa2 input-reset ba b--black-20 bg-transparent w-100 measure" id="saldo" value="#{tarjetaDebitoBean.tarjetaDebito.saldo}" readonly="true" label="Saldo:"/>
</div>
<div class="mt3 tc">
<h:outputLabel class="db fw4 lh-copy f6" for="fecha_creacion" value="Fecha Creacion:"/>
<h:inputText class="pa2 input-reset ba b--black-20 bg-transparent w-60" id="fecha_creacion" value="#{tarjetaDebitoBean.tarjetaDebito.insertedAt}" readonly="true" label="Fecha Creacion:">
<f:convertDateTime pattern="dd/MM/yyyy"/>
</h:inputText>
<h:outputLabel class="db lh-copy f6" for="fecha_creacion" value="Fecha Creacion:"/>
<h:inputText class="pa2 input-reset ba b--black-20 bg-transparent w-100 measure" id="fecha_creacion" value="#{tarjetaDebitoBean.tarjetaDebito.insertedAt}" readonly="true" label="Fecha Creacion:"/>
</div>
<div class="flex mt3 justify-center">
<h:commandLink class="f5 tc link dim br2 ph3 pv2 w-20 dib white bg-green" action="#{tarjetaDebitoBean.gotoDepositar()}">
<h:commandLink class="f5 fr tc link dim br2 ph3 pv2 ma2 dib white bg-green" action="#{tarjetaDebitoBean.gotoDepositar()}" style="width: 200px">
<li class="fas fa-piggy-bank"></li> Depositar
</h:commandLink>
<h:commandLink class="f5 tc link dim br2 ph3 pv2 ml2 w-20 dib white bg-red" action="#{tarjetaDebitoBean.gotoGirar()}">
<h:commandLink class="f5 fr tc link dim br2 ph3 pv2 ma2 dib white bg-gold" action="#{tarjetaDebitoBean.gotoGirar()}" style="width: 200px">
<li class="fas fa-hand-holding-usd"></li> Girar
</h:commandLink>
<h:commandLink class="f5 tc link dim br2 ph3 pv2 ml2 dib w-20 white bg-blue" action="#{tarjetaDebitoBean.gotoTransferir()}">
<h:commandLink class="f5 fr tc link dim br2 ph3 pv2 ma2 dib white bg-blue" action="#{tarjetaDebitoBean.gotoTransferir()}" style="width: 200px">
<li class="fas fa-comments-dollar"></li> Transferir
</h:commandLink>
<h:commandLink class="f5 tc link dim br2 ph3 pv2 ml2 dib w-20 white bg-purple" action="#{tarjetaDebitoBean.gotoComprar()}">
<h:commandLink class="f5 fr tc link dim br2 ph3 pv2 ma2 dib white bg-purple" action="#{tarjetaDebitoBean.gotoComprar()}" style="width: 200px">
<li class="fas fa-shopping-basket"></li> Comprar
</h:commandLink>
</div>
</div>
<h1 class="f1">Depositos</h1>
<h1 class="f3">Depositos</h1>
<h:dataTable class="w-100 pv3" headerClass="fw6 bb b--black-20 tl pb2 pr3 bg-white" value="#{tarjetaDebitoBean.tarjetaDebito.depositoList}" var="deposito">
<h:column>
<f:facet name="header">
<h:outputLabel value="Fecha"/>
</f:facet>
<h:outputLabel value="#{deposito.insertedAt}">
<f:convertDateTime pattern="dd/MM/yyyy HH:mm"/>
</h:outputLabel>
<h:outputLabel value="#{deposito.insertedAt}"/>
</h:column>
<h:column>
<f:facet name="header">
@@ -71,6 +71,12 @@
</f:facet>
<h:outputLabel value="#{deposito.comentario}"/>
</h:column>
<h:column>
<f:facet name="header">
<h:outputLabel value="Metodo"/>
</f:facet>
<h:outputLabel value="#{deposito.metodo.nombre}"/>
</h:column>
<h:column>
<f:facet name="header">
<h:outputLabel value="Monto"/>
@@ -78,16 +84,15 @@
<h:outputLabel value="#{deposito.monto}"/>
</h:column>
</h:dataTable>
<h1 class="f1">Giros</h1>
<hr/>
<h1 class="f3">Giros</h1>
<h:dataTable class="w-100 pv3" headerClass="fw6 bb b--black-20 tl pb2 pr3 bg-white" value="#{tarjetaDebitoBean.tarjetaDebito.giroList}" var="giro">
<h:column>
<f:facet name="header">
<h:outputLabel value="Fecha"/>
</f:facet>
<h:outputLabel value="#{giro.insertedAt}">
<f:convertDateTime pattern="dd/MM/yyyy HH:mm"/>
</h:outputLabel>
<h:outputLabel value="#{giro.insertedAt}"/>
</h:column>
<h:column>
<f:facet name="header">
@@ -95,6 +100,12 @@
</f:facet>
<h:outputLabel value="#{giro.comentario}"/>
</h:column>
<h:column>
<f:facet name="header">
<h:outputLabel value="Metodo"/>
</f:facet>
<h:outputLabel value="#{giro.metodo.nombre}"/>
</h:column>
<h:column>
<f:facet name="header">
<h:outputLabel value="Monto"/>
@@ -102,17 +113,18 @@
<h:outputLabel value="#{giro.monto}"/>
</h:column>
</h:dataTable>
<hr/>
<h1 class="f1">Transferencias Hechas</h1>
<h1 class="f3">Transferencias Hechas</h1>
<h:dataTable class="w-100 pv3" headerClass="fw6 bb b--black-20 tl pb2 pr3 bg-white" value="#{tarjetaDebitoBean.tarjetaDebito.transferenciaFromList}" var="transferencia">
<h:column>
<f:facet name="header">
<h:outputLabel value="Fecha"/>
</f:facet>
<h:outputLabel value="#{transferencia.insertedAt}">
<f:convertDateTime pattern="dd/MM/yyyy HH:mm"/>
</h:outputLabel>
</h:column><h:column>
<h:outputLabel value="#{transferencia.insertedAt}"/>
</h:column>
<h:column>
<f:facet name="header">
<h:outputLabel value="Destinatario"/>
</f:facet>
@@ -132,16 +144,17 @@
</h:column>
</h:dataTable>
<h1 class="f1">Transferencias Recibidas</h1>
<hr/>
<h1 class="f3">Transferencias Recibidas</h1>
<h:dataTable class="w-100 pv3" headerClass="fw6 bb b--black-20 tl pb2 pr3 bg-white" value="#{tarjetaDebitoBean.tarjetaDebito.transferenciaToList}" var="transferencia">
<h:column>
<f:facet name="header">
<h:outputLabel value="Fecha"/>
</f:facet>
<h:outputLabel value="#{transferencia.insertedAt}">
<f:convertDateTime pattern="dd/MM/yyyy HH:mm"/>
</h:outputLabel>
</h:column><h:column>
<h:outputLabel value="#{transferencia.insertedAt}"/>
</h:column>
<h:column>
<f:facet name="header">
<h:outputLabel value="Emisor"/>
</f:facet>
@@ -162,15 +175,15 @@
</h:dataTable>
</h:form>
<h1 class="f1">Compras</h1>
<hr/>
<h1 class="f3">Compras</h1>
<h:dataTable class="w-100 pv3" headerClass="fw6 bb b--black-20 tl pb2 pr3 bg-white" value="#{tarjetaDebitoBean.tarjetaDebito.compraList}" var="compra">
<h:column>
<f:facet name="header">
<h:outputLabel value="Fecha"/>
</f:facet>
<h:outputLabel value="#{compra.insertedAt}">
<f:convertDateTime pattern="dd/MM/yyyy HH:mm"/>
</h:outputLabel>
<h:outputLabel value="#{compra.insertedAt}"/>
</h:column>
<h:column>
<f:facet name="header">