PrePay_Code_Step_Panel1
The label used to show the CO2 fee depends on the article id specified in the KeyValue.
All labels for CO2 emission fee have the same location. Only the label for the correct additionalFeeArticle (specified with KeyValue=”articleID”) will be visible due to the FormattingInfo="ShowIfNonZero" attribute. The attribute makes a label hide if the value in @V is zero.
<!-- START AdditionalFee Labels -->
<TFT:Label MxStyle="{AdditionalFeeLabelStyle}" Name="addFeeTitleLabel" Location="42,546" FormattedText="Including:"/>
<TFT:Label MxStyle="{AdditionalFeeLabelStyle}" Name="AdditionalFeeLabel4" Location="283,546" FormattedText="@Emission Fee: @V1" KeyValue="101" FormattingInfo="ShowIfNonZero"/>
<TFT:Label MxStyle="{AdditionalFeeLabelStyle}" Name="AdditionalFeeLabel5" Location="283,546" FormattedText="@Emission Fee: @V1" KeyValue="111" FormattingInfo="ShowIfNonZero"/>
<TFT:Label MxStyle="{AdditionalFeeLabelStyle}" Name="AdditionalFeeLabel3" Location="283,546" FormattedText="@Emission Fee: @V1" KeyValue="112" FormattingInfo="ShowIfNonZero"/>
<TFT:Label MxStyle="{AdditionalFeeLabelStyle}" Name="AdditionalFeeLabel2" Location="283,546" FormattedText="@Emission Fee: @V1" KeyValue="113" FormattingInfo="ShowIfNonZero"/>
<TFT:Label MxStyle="{AdditionalFeeLabelStyle}" Name="AdditionalFeeLabel6" Location="283,546" FormattedText="@Emission Fee: @V1" KeyValue="201" FormattingInfo="ShowIfNonZero"/>
<TFT:Label MxStyle="{AdditionalFeeLabelStyle}" Name="AdditionalFeeLabel7" Location="283,546" FormattedText="@Emission Fee: @V1" KeyValue="301" FormattingInfo="ShowIfNonZero"/>
<TFT:Label MxStyle="{AdditionalFeeLabelStyle}" Name="AdditionalFeeLabel1" Location="525,546" FormattedText="@SMS fee: @V1" KeyValue="40"/>
<TFT:Label MxStyle="{AdditionalFeeLabelStyle}" Name="AdditionalFeeLabel4" Location="525,570" FormattedText="@Email fee: @V1" KeyValue="50"/>
<TFT:Label MxStyle="{AdditionalFeeLabelStyle}" Name="LeftToPayAdditionalFeeLabel" Location="42,594" FormattedText="Fees left to pay: @V1"/>
<TFT:Label MxStyle="{AdditionalFeeReceiptQuestionLabelStyle}" Name="ReceiptQuestionLabel" FormattedText="How do you want your receipt?@E@Additional fee may apply"/>
<!-- END AdditionalFee Labels -->
CodeInputPanel
Change the style for the CodeDoneButton from
<TFT:Button MxStyle="{AcceptButtonVisualStyle}" Name="CodeDoneButton" Click="OnCodeInputDone"/>
To
<TFT:Button MxStyle="{EmissionBasedTariffAcceptButtonStyle}" Name="CodeDoneButton" Click="OnCodeInputDone"/>