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,59 +17,57 @@
|
||||
</h:head>
|
||||
<body class="black-70 pa4">
|
||||
<h:form rendered="#{userBean.isLogged() and userBean.isClient()}">
|
||||
<div class="flex justify-between">
|
||||
<h1 class="f1">Tarjeta Credito</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">
|
||||
<h1 class="f1 tc">Tarjeta Credito</h1>
|
||||
<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="#{tarjetaCreditoBean.tarjetaCredito.id}" readonly="true" label="Id:"/>
|
||||
<h:outputLabel class="db lh-copy f6" value="Id:"/>
|
||||
<h:inputText class="pa2 input-reset ba b--black-20 bg-transparent w-100 measure" id="id" value="#{tarjetaCreditoBean.tarjetaCredito.id}" readonly="true"/>
|
||||
</div>
|
||||
<div class="mt3 tc">
|
||||
<h:outputLabel class="db fw4 lh-copy f6" for="limite_nacional" value="Limite Nacional: "/>
|
||||
<h:inputText class="pa2 input-reset ba b--black-20 bg-transparent w-60" id="limite_nacional" value="#{tarjetaCreditoBean.tarjetaCredito.limiteNacional}" readonly="true" label="Limite Nacional:"/>
|
||||
<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" id="limite_nacional" value="#{tarjetaCreditoBean.tarjetaCredito.limiteNacional}" readonly="true"/>
|
||||
</div>
|
||||
<div class="mt3 tc">
|
||||
<h:outputLabel class="db fw4 lh-copy f6" for="deuda_nacional" value="Deuda Nacional: "/>
|
||||
<h:inputText class="pa2 input-reset ba b--black-20 bg-transparent w-60" id="deuda_nacional" value="#{tarjetaCreditoBean.tarjetaCredito.deudaNacional}" readonly="true" label="Deuda Nacional"/>
|
||||
<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" id="deuda_nacional" value="#{tarjetaCreditoBean.tarjetaCredito.deudaNacional}" readonly="true"/>
|
||||
</div>
|
||||
<div class="mt3 tc">
|
||||
<h:outputLabel class="db fw4 lh-copy f6" for="limite_internacional" value="Limite Internacional: "/>
|
||||
<h:inputText class="pa2 input-reset ba b--black-20 bg-transparent w-60" id="limite_internacional" value="#{tarjetaCreditoBean.tarjetaCredito.limiteInternacional}" readonly="true" label="Limite Internacional: "/>
|
||||
<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" id="limite_internacional" value="#{tarjetaCreditoBean.tarjetaCredito.limiteInternacional}" readonly="true"/>
|
||||
</div>
|
||||
<div class="mt3 tc">
|
||||
<h:outputLabel class="db fw4 lh-copy f6" for="deuda_internacional" value="Deuda Internacional"/>
|
||||
<h:inputText class="pa2 input-reset ba b--black-20 bg-transparent w-60" id="deuda_internacional" value="#{tarjetaCreditoBean.tarjetaCredito.deudaInternacional}" readonly="true" label="Deuda Internacional: "/>
|
||||
<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" id="deuda_internacional" value="#{tarjetaCreditoBean.tarjetaCredito.deudaInternacional}" readonly="true"/>
|
||||
</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="#{tarjetaCreditoBean.tarjetaCredito.insertedAt}" readonly="true" label="Fecha Creacion:">
|
||||
<f:convertDateTime pattern="dd/MM/yyyy"/>
|
||||
</h:inputText>
|
||||
<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" id="fecha_creacion" value="#{tarjetaCreditoBean.tarjetaCredito.insertedAt}" readonly="true"/>
|
||||
</div>
|
||||
|
||||
<div class="flex mt3 justify-center">
|
||||
<h:commandLink class="f5 tc link dim br2 ph3 pv2 w-30 dib white bg-green" action="#{tarjetaCreditoBean.gotoComprar()}">
|
||||
<div class="mt3 tc">
|
||||
<h:commandLink class="f5 tc link dim br2 ph3 pv2 ma2 dib white bg-green" action="#{tarjetaCreditoBean.gotoComprar()}" style="width: 200px">
|
||||
<li class="fas fa-shopping-basket"></li> Comprar
|
||||
</h:commandLink>
|
||||
<h:commandLink class="f5 tc link dim br2 ph3 pv2 ml2 w-30 dib white bg-red" action="#{tarjetaCreditoBean.gotoPagar()}">
|
||||
<h:commandLink class="f5 tc link dim br2 ph3 pv2 ma2 dib white bg-gold" action="#{tarjetaCreditoBean.gotoPagar()}" style="width: 200px">
|
||||
<li class="fas fa-money-bill"></li> Pagar
|
||||
</h:commandLink>
|
||||
</div>
|
||||
|
||||
<h1 class="f1">Compras</h1>
|
||||
<h1 class="f3">Compras</h1>
|
||||
<h:dataTable class="w-100 pv3" headerClass="fw6 bb b--black-20 tl pb2 pr3 bg-white" value="#{tarjetaCreditoBean.tarjetaCredito.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">
|
||||
@@ -77,6 +75,12 @@
|
||||
</f:facet>
|
||||
<h:outputLabel value="#{compra.comentario}"/>
|
||||
</h:column>
|
||||
<h:column>
|
||||
<f:facet name="header">
|
||||
<h:outputLabel value="Tipo de Compra"/>
|
||||
</f:facet>
|
||||
<h:outputLabel value="#{compra.tipo}"/>
|
||||
</h:column>
|
||||
<h:column>
|
||||
<f:facet name="header">
|
||||
<h:outputLabel value="Monto"/>
|
||||
@@ -84,16 +88,15 @@
|
||||
<h:outputLabel value="#{compra.monto}"/>
|
||||
</h:column>
|
||||
</h:dataTable>
|
||||
<hr/>
|
||||
|
||||
<h1 class="f1">Pagos</h1>
|
||||
<h1 class="f3">Pagos</h1>
|
||||
<h:dataTable class="w-100 pv3" headerClass="fw6 bb b--black-20 tl pb2 pr3 bg-white" value="#{tarjetaCreditoBean.tarjetaCredito.pagoList}" var="pago">
|
||||
<h:column>
|
||||
<f:facet name="header">
|
||||
<h:outputLabel value="Fecha"/>
|
||||
</f:facet>
|
||||
<h:outputLabel value="#{pago.insertedAt}">
|
||||
<f:convertDateTime pattern="dd/MM/yyyy HH:mm"/>
|
||||
</h:outputLabel>
|
||||
<h:outputLabel value="#{pago.insertedAt}"/>
|
||||
</h:column>
|
||||
<h:column>
|
||||
<f:facet name="header">
|
||||
@@ -101,6 +104,12 @@
|
||||
</f:facet>
|
||||
<h:outputLabel value="#{pago.comentario}"/>
|
||||
</h:column>
|
||||
<h:column>
|
||||
<f:facet name="header">
|
||||
<h:outputLabel value="Tipo de Pago"/>
|
||||
</f:facet>
|
||||
<h:outputLabel value="#{pago.tipo}"/>
|
||||
</h:column>
|
||||
<h:column>
|
||||
<f:facet name="header">
|
||||
<h:outputLabel value="Monto"/>
|
||||
|
||||
Reference in New Issue
Block a user