Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

For a proper receipt display, data from each dataset is used accordingly in different sections of the RDL template. 

...

The section responsible for displaying the total values and VAT values broken down to the alternative currency defined in the administration section, uses a Tablix bound to the Receipt the Receipt alternative currency line dataset dataset.

In case no alternative currency is defined (or the values are entered using the currency defined as being the alternative currency) then this section will be hidden. 

...

The code visible in the attached image above is responsible for checking if the used dataset doesn't contain any rows (information) or if the information found within the dataset is empty (this is done by verifying if the GrandTotalFormatted value is empty or not)

Payments (green)

The payments section Tablix is bound to the Receipt payment line dataset. This section is also shown only if the dataset contains information or the contained information is not empty.

Form of payment (red)

Because the form of payment related information is found within the Receipt line dataset, the Tablix used in this section is bound to this dataset. This section is also shown only if the contained information within the dataset related to form of payment is not empty.


Each tablix and component is given a proper name so that tracking any element within the RDL template is therefor simplified.