Bonjour,

J'ai un soucis de cumul et je ne vois pas trop comment faire...

Code : Sélectionner tout - Visualiser dans une fenêtre à part
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
 
<xsl:for-each select="/layout_data/VueUtilisateurCourantSociete/JUt_UtiView/JUt_UtiViewRow/VudPro[@name='Pneu']/DPro/DProRow[CODPRO=$REFPRO]">
						<xsl:variable name="PRX">
							<xsl:choose>
								<xsl:when test="PRXTAR=''">0.00</xsl:when>
								<xsl:otherwise>
									<xsl:value-of select="PRXTAR"/>
								</xsl:otherwise>
							</xsl:choose>
						</xsl:variable>
						<xsl:if test="contains($SELECTION,CODRPL)">
							<tr>
								<td align="right">
									<xsl:value-of select="CODRPL"/>
								</td>
								<td align="left">
									<font size="2">
										<b>
											<xsl:value-of select="NOMPRO"/>
										</b>
									</font>
								</td>
								<td align="right">
									<font size="2">
										<b>
											<xsl:value-of select="format-number($PRX* $QTE, $FORMAT_MNT, $LOCALE)"/>
										</b>
									</font>
								</td>
							</tr>
						</xsl:if>
					</xsl:for-each>
<xsl:value-of select="format-number($PRX* $QTE, $FORMAT_MNT, $LOCALE)"/> ici je montre le prix de prestation et j'aimerais faire un cumul des prestations, vu qu'il y a un for each cela me fait l'affichage de chaque ligne mais si je veux faire un total des lignes je fais comment ? merci d'avance