diff --git a/gf-giftaid-field.php b/gf-giftaid-field.php index b87e1e9..b06f578 100644 --- a/gf-giftaid-field.php +++ b/gf-giftaid-field.php @@ -3,7 +3,7 @@ * Plugin Name: Gravity Forms Gift Aid field * Plugin URI: https://www.itineris.co.uk/ * Description: Gift aid field for Gravity Forms - * Version: 0.1.0 + * Version: 1.0.3 * Author: Itineris Limited * Author URI: https://www.itineris.co.uk/ * Text Domain: itineris-gf-giftaid-field diff --git a/src/GfGiftAidField.php b/src/GfGiftAidField.php index 8937141..9787bd8 100644 --- a/src/GfGiftAidField.php +++ b/src/GfGiftAidField.php @@ -11,7 +11,7 @@ class GfGiftAidField { - public const VERSION = '0.1.0'; + public const VERSION = '1.0.3'; public static function run(): void { diff --git a/src/GiftAidField.php b/src/GiftAidField.php index 9dc673f..4a73502 100644 --- a/src/GiftAidField.php +++ b/src/GiftAidField.php @@ -149,7 +149,7 @@ public function get_calculated_gift(): string $totalAmt = $donation + $amount; $displayNum = number_format((float) $totalAmt, 2, '.', ''); $searchReplace = [ - '{{ donation }}' => "£{$donation}", + '{{ donation }}' => "£{$donation}", // phpcs:ignore Generic.Files.LineLength.TooLong '{{ calculated_giftaid }}' => "£{$displayNum}", ];