AHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH

This commit is contained in:
Daniel Cortés
2019-07-22 14:40:23 -04:00
parent d70c3bc435
commit 63939f4577
10 changed files with 704 additions and 50 deletions

View File

@@ -27,6 +27,8 @@
</h:commandLink>
</div>
<h:messages class="f4 w-40 list tc center white bg-green pa4"/>
<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" id="id" value="#{tarjetaCreditoBean.tarjetaCredito.id}" readonly="true"/>
@@ -61,6 +63,42 @@
</h:commandLink>
</div>
<hr/>
<h:panelGroup layout="block" class="mv3 w-100" rendered="#{tarjetaCreditoBean.tarjetaCredito.lineaSobregiro != null}">
<h1 class="f2 tc">Linea Sobregiro</h1>
<div class="mt3 tc">
<h:outputLabel class="db fw4 lh-copy f6" value="Id:"/>
<h:inputText class="pa2 input-reset ba b--black-20 bg-transparent w-100 measure" value="#{tarjetaCreditoBean.tarjetaCredito.lineaSobregiro.id}" readonly="true"/>
</div>
<div class="mt3 tc">
<h:outputLabel class="db fw4 lh-copy f6" value="Limite:"/>
<h:inputText class="pa2 input-reset ba b--black-20 bg-transparent w-100 measure" value="#{tarjetaCreditoBean.tarjetaCredito.lineaSobregiro.limite}" readonly="true"/>
</div>
<div class="mt3 tc">
<h:outputLabel class="db fw4 lh-copy f6" value="Sobregiro:"/>
<h:inputText class="pa2 input-reset ba b--black-20 bg-transparent w-100 measure" value="#{tarjetaCreditoBean.tarjetaCredito.lineaSobregiro.sobregiro}" 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="#{tarjetaCreditoBean.tarjetaCredito.insertedAt}" readonly="true"/>
</div>
<div class="mt3 tc">
<h:commandLink class="f5 tc link dim br2 ph3 pv2 ma2 dib white bg-gold" action="#{tarjetaCreditoBean.gotoPagarSobregiro()}" style="width: 200px">
<li class="fas fa-money-bill"></li> Pagar
</h:commandLink>
</div>
</h:panelGroup>
<h:panelGroup layout="block" class="mv3 w-100" rendered="#{tarjetaCreditoBean.tarjetaCredito.lineaSobregiro == null}">
<h1 class="f2 tc">Linea Sobregiro</h1>
<p class="f6 tc">Sin contratar</p>
</h:panelGroup>
<hr/>
<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>