How do I change the display of the value symbol in the customer display?
  • 10 Jun 2024
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

How do I change the display of the value symbol in the customer display?

  • Dark
    Light
  • PDF

Article summary

<span class="fr-marker" data-id="0" data-type="true" style="display: none; line-height: 0;"></span><span class="fr-marker" data-id="0" data-type="false" style="display: none; line-height: 0;"></span<span class="fr-marker" data-id="0" data-type="true" style="display: none; line-height: 0;"></span><span class="fr-marker" data-id="0" data-type="false" style="display: none; line-height: 0;"></span>RetailVista works in the customer display with the display of a value symbol based on the language of the GUI of RetailVista POS. This language is determined by the AppUiCulture setting in the .Config file of RetailVista POS.

In this AppUiCulture, only language codes for which translation files exist may be used. Currently, these are en-US, en-GB, nl-NL, and de-DE.

The problem with this language setting can be that the currency in a country is different from the language used for the GUI display. An example of this is Switzerland. The German language can be used as the GUI, but the Euro that corresponds to the de-DE language setting is not correct for Switzerland, where the Swiss franc is used.

There are 2 ways to solve this problem.

Solution 1

The first one consists of modifying the TransactionDetails.xaml file, see also QA333. If that file does not exist, it must be downloaded from the attachment of QA333 and placed in the correct location on disk. From that moment on, the file on disk will be used instead of the internally compiled customer display layout. This allows for customization of the transaction totals display.

In the file there is a section:

            <TextBlock                 

                Style="{DynamicResource ResourceKey=TransactionDetailsText.TotalPrice}"

                Text="{Binding TotalNetPrice, StringFormat={}{0:C}, FallbackValue=99.99}"

                />

Furthermore, the {0:C} ensures that the value of TotalPrice is considered as 'Currency'. Therefore, Windows automatically adds the currency symbol. By modifying it as shown below, the value display is removed.

            <TextBlock                 

                Style="{DynamicResource ResourceKey=TransactionDetailsText.TotalPrice}"

          


Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.