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:
196
bank-war/web/admin_tarjeta_debito_view.xhtml
Normal file
196
bank-war/web/admin_tarjeta_debito_view.xhtml
Normal file
@@ -0,0 +1,196 @@
|
||||
<?xml version='1.0' encoding='UTF-8' ?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3c.org/1999/xhtml"
|
||||
xmlns:h="http://xmlns.jcp.org/jsf/html"
|
||||
xmlns:f="http://java.sun.com/jsf/core">
|
||||
<h:head>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<link rel="stylesheet" href="https://unpkg.com/tachyons@4.10.0/css/tachyons.min.css"/>
|
||||
<link rel="stylesheet" href="https://unpkg.com/normalize.css@8.0.1/normalize.css"/>
|
||||
<link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet"/>
|
||||
<h:outputStylesheet library="css" name="all.css"/>
|
||||
<style>
|
||||
body {
|
||||
font-family: 'Open Sans', sans-serif;
|
||||
}
|
||||
</style>
|
||||
</h:head>
|
||||
<body class="black-70 pa4">
|
||||
<h:form rendered="#{userBean.isLogged() and userBean.isAdmin()}">
|
||||
<div class="flex justify-between">
|
||||
<h1 class="f1">Tarjeta Debito</h1>
|
||||
|
||||
<h:commandLink class="f5 tc link w-20 dim br2 ph3 pv2 mb1 mr2 dib white bg-blue" immediate="true" action="admin_cliente_view" style="margin-top: auto; margin-bottom: auto">
|
||||
<li class="fas fa-arrow-left"></li> Volver
|
||||
</h:commandLink>
|
||||
</div>
|
||||
|
||||
<div class="mv4 ph2 fl w-33">
|
||||
<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-100" id="id" value="#{tarjetaDebitoBean.tarjetaDebito.id}" readonly="true" label="Id:"/>
|
||||
</div>
|
||||
<div class="mv4 ph2 fl w-33">
|
||||
<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-100" id="saldo" value="#{tarjetaDebitoBean.tarjetaDebito.saldo}" readonly="true" label="Saldo:"/>
|
||||
</div>
|
||||
<div class="mv4 ph2 fl w-33">
|
||||
<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-100" id="fecha_creacion" value="#{tarjetaDebitoBean.tarjetaDebito.insertedAt}" readonly="true" label="Fecha Creacion:"/>
|
||||
</div>
|
||||
|
||||
<h1 class="f2 ">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}"/>
|
||||
</h:column>
|
||||
<h:column>
|
||||
<f:facet name="header">
|
||||
<h:outputLabel value="Comentario"/>
|
||||
</f:facet>
|
||||
<h:outputLabel value="#{deposito.comentario}"/>
|
||||
</h:column>
|
||||
<h:column>
|
||||
<f:facet name="header">
|
||||
<h:outputLabel value="Monto"/>
|
||||
</f:facet>
|
||||
<h:outputLabel value="#{deposito.monto}"/>
|
||||
</h:column>
|
||||
<h:column class="tr">
|
||||
<h:commandLink class="f6 link dim br2 ph3 pv2 mr2 dib white bg-red tc" action="#{tarjetaDebitoBean.gotoDeleteDeposito(deposito)}">
|
||||
<li class="fas fa-trash"></li>
|
||||
</h:commandLink>
|
||||
</h:column>
|
||||
</h:dataTable>
|
||||
|
||||
<h1 class="f2">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}"/>
|
||||
</h:column>
|
||||
<h:column>
|
||||
<f:facet name="header">
|
||||
<h:outputLabel value="Comentario"/>
|
||||
</f:facet>
|
||||
<h:outputLabel value="#{giro.comentario}"/>
|
||||
</h:column>
|
||||
<h:column>
|
||||
<f:facet name="header">
|
||||
<h:outputLabel value="Monto"/>
|
||||
</f:facet>
|
||||
<h:outputLabel value="#{giro.monto}"/>
|
||||
</h:column>
|
||||
<h:column class="tr">
|
||||
<h:commandLink class="f6 link dim br2 ph3 pv2 mr2 dib white bg-red tc" action="#{tarjetaDebitoBean.gotoDeleteGiro(giro)}">
|
||||
<li class="fas fa-trash"></li>
|
||||
</h:commandLink>
|
||||
</h:column>
|
||||
</h:dataTable>
|
||||
|
||||
<h1 class="f2">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}"/>
|
||||
</h:column><h:column>
|
||||
<f:facet name="header">
|
||||
<h:outputLabel value="Destinatario"/>
|
||||
</f:facet>
|
||||
<h:outputLabel value="#{transferencia.tarjetaDebitoTo.id}"/>
|
||||
</h:column>
|
||||
<h:column>
|
||||
<f:facet name="header">
|
||||
<h:outputLabel value="Comentario"/>
|
||||
</f:facet>
|
||||
<h:outputLabel value="#{transferencia.comentario}"/>
|
||||
</h:column>
|
||||
<h:column>
|
||||
<f:facet name="header">
|
||||
<h:outputLabel value="Monto"/>
|
||||
</f:facet>
|
||||
<h:outputLabel value="#{transferencia.monto}"/>
|
||||
</h:column>
|
||||
<h:column class="tr">
|
||||
<h:commandLink class="f6 link dim br2 ph3 pv2 mr2 dib white bg-red tc" action="#{tarjetaDebitoBean.gotoDeleteTransferencia(transferencia)}">
|
||||
<li class="fas fa-trash"></li>
|
||||
</h:commandLink>
|
||||
</h:column>
|
||||
</h:dataTable>
|
||||
|
||||
<h1 class="f2">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}"/>
|
||||
</h:column><h:column>
|
||||
<f:facet name="header">
|
||||
<h:outputLabel value="Emisor"/>
|
||||
</f:facet>
|
||||
<h:outputLabel value="#{transferencia.tarjetaDebitoFrom.id}"/>
|
||||
</h:column>
|
||||
<h:column>
|
||||
<f:facet name="header">
|
||||
<h:outputLabel value="Comentario"/>
|
||||
</f:facet>
|
||||
<h:outputLabel value="#{transferencia.comentario}"/>
|
||||
</h:column>
|
||||
<h:column>
|
||||
<f:facet name="header">
|
||||
<h:outputLabel value="Monto"/>
|
||||
</f:facet>
|
||||
<h:outputLabel value="#{transferencia.monto}"/>
|
||||
</h:column>
|
||||
<h:column class="tr">
|
||||
<h:commandLink class="f6 link dim br2 ph3 pv2 mr2 dib white bg-red tc" action="#{tarjetaDebitoBean.gotoDeleteTransferencia(transferencia)}">
|
||||
<li class="fas fa-trash"></li>
|
||||
</h:commandLink>
|
||||
</h:column>
|
||||
</h:dataTable>
|
||||
<hr/>
|
||||
<h1 class="f2">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}"/>
|
||||
</h:column>
|
||||
<h:column>
|
||||
<f:facet name="header">
|
||||
<h:outputLabel value="Comentario"/>
|
||||
</f:facet>
|
||||
<h:outputLabel value="#{compra.comentario}"/>
|
||||
</h:column>
|
||||
<h:column>
|
||||
<f:facet name="header">
|
||||
<h:outputLabel value="Monto"/>
|
||||
</f:facet>
|
||||
<h:outputLabel value="#{compra.monto}"/>
|
||||
</h:column>
|
||||
<h:column class="tr">
|
||||
<h:commandLink class="f6 link dim br2 ph3 pv2 mr2 dib white bg-red tc" action="#{tarjetaDebitoBean.gotoDeleteCompra(compra)}">
|
||||
<li class="fas fa-trash"></li>
|
||||
</h:commandLink>
|
||||
</h:column>
|
||||
</h:dataTable>
|
||||
</h:form>
|
||||
|
||||
<h:form rendered="#{!userBean.isLogged()}">
|
||||
<div class="tc">
|
||||
<h1 class="f1 tc">Acceso no autorizado</h1>
|
||||
<h:commandLink class="f5 tc link w-20 dim br2 ph3 pv2 mb1 mr2 dib white bg-red" value="Ir al index" action="index"/>
|
||||
</div>
|
||||
</h:form>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user