diff --git a/includes/entities/class-fs-payment.php b/includes/entities/class-fs-payment.php index 8e357663..9fd2d38d 100755 --- a/includes/entities/class-fs-payment.php +++ b/includes/entities/class-fs-payment.php @@ -132,10 +132,11 @@ function is_migrated() { */ function formatted_gross() { + $price = $this->gross + $this->vat; return ( - ( $this->gross < 0 ? '-' : '' ) . + ( $price < 0 ? '-' : '' ) . $this->get_symbol() . - number_format( abs( $this->gross ), 2, '.', ',' ) . ' ' . + number_format( abs( $price ), 2, '.', ',' ) . ' ' . strtoupper( $this->currency ) ); } diff --git a/start.php b/start.php index 0e31f206..82163897 100644 --- a/start.php +++ b/start.php @@ -15,7 +15,7 @@ * * @var string */ - $this_sdk_version = '2.12.2.1'; + $this_sdk_version = '2.12.2.2'; #region SDK Selection Logic --------------------------------------------------------------------