1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91
| <h:body>
<ui:composition template="general.xhtml">
<ui:define name="title"><h:outputText value="Fiche Devis Client"/></ui:define>
<ui:define name="header"><h:outputText value="Fiche Devis Client"/> </ui:define>
<br/><br/><br/>
<div style="height:500px">
<ui:define name="content">
<h:panelGrid border="1" columns="2" style="width: 573px; " >
<h:outputText value="Informations Pièce"></h:outputText>
<h:outputText value="Informations Client"></h:outputText>
<h:panelGrid id="pnlinfopiece" border="1" title="tototot" columns="2" style="width: 318px; ">
<h:outputLabel value="Numéro:"></h:outputLabel>
<h:inputText></h:inputText>
<h:outputLabel value="Date Devis :"></h:outputLabel>
<p:calendar value="#{calendarManagedBean.date}" locale="fr" pattern="dd/MM/yyyy" showOn="button" navigator="true">
</p:calendar>
<h:outputLabel value="Regime TVA :"></h:outputLabel>
<h:selectOneMenu value="#{regimeTVAListController.regimeTva.desRegimeTva}" style="width: 155px; ">
<f:selectItems value="#{regimeTVAListController.findDesRegimTva()}" />
</h:selectOneMenu>
<h:outputLabel value="Fodec :"></h:outputLabel>
<h:selectBooleanCheckbox style="height: 25px; width: 30px; "></h:selectBooleanCheckbox>
</h:panelGrid>
<h:form id="infoclient">
<h:panelGrid border="1" columns="3" style="width: 311px; height: 114px; ">
<h:outputText value="Client :"></h:outputText>
<h:inputText id="clt_RS" value="#{clientListController.client.raisonSociale}" style="width: 154px; "></h:inputText>
<p:commandButton id="selectClient"
onclick="PF('clientDialog').show(); return false;"
title="Selectionner Client"
icon="ui-icon ui-icon-search"
update=":dialogform"
>
</p:commandButton>
<h:outputText value="Adresse : "></h:outputText>
<h:inputText id="clt_Add" value="#{clientListController.client.desAdresse}" ></h:inputText>
<h:outputLabel value=""></h:outputLabel>
<h:outputText value="Pays : "></h:outputText>
<h:inputText id="clt_Pays" value="#{clientListController.client.pays}" ></h:inputText>
<h:outputLabel value=""></h:outputLabel>
<h:outputText value="Ville: "></h:outputText>
<h:inputText id="clt_ville" value="#{clientListController.client.ville}" ></h:inputText>
</h:panelGrid>
</h:form>
<h:outputText value="item3"></h:outputText>
<h:outputText value="item4"></h:outputText>
</h:panelGrid>
<p:dialog id="statusDialog" header="Liste Client" widgetVar="clientDialog" modal="true" width="400" resizable="false">
<h:form id="dialogform">
<h:outputText value="Value 1:" />
<p:dataTable value="#{clientListController.clients}" var="client" id="clientTable">
<p:column headerText="Identifiant">
<p:commandLink title="Sélectionner" ajax="true" immediate="true"
action="#{clientListController.setClient(client)}"
update="dialogform, :infoclient"
onclick="PF('clientDialog').hide();"
>
<h:outputText value="#{client.cclient}" />
</p:commandLink>
</p:column>
<p:column headerText="Raison Social">
#{client.raisonSociale}
</p:column>
</p:dataTable>
</h:form>
</p:dialog>
</ui:define>
</div>
</ui:composition>
</h:body> |
Partager