@@ -14,7 +14,7 @@ discard block |
||
14 | 14 | |
15 | 15 | var $is_numeric = false; |
16 | 16 | |
17 | - var $search_operators = array( 'is', 'isnot' ); |
|
17 | + var $search_operators = array('is', 'isnot'); |
|
18 | 18 | |
19 | 19 | var $group = 'pricing'; |
20 | 20 | |
@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | * GravityView_Field_Date_Created constructor. |
25 | 25 | */ |
26 | 26 | public function __construct() { |
27 | - $this->label = esc_attr__( 'Payment Method', 'gravityview' ); |
|
27 | + $this->label = esc_attr__('Payment Method', 'gravityview'); |
|
28 | 28 | parent::__construct(); |
29 | 29 | } |
30 | 30 | } |
@@ -12,7 +12,7 @@ discard block |
||
12 | 12 | |
13 | 13 | var $is_searchable = true; |
14 | 14 | |
15 | - var $search_operators = array( 'is', 'in', 'not in', 'isnot' ); |
|
15 | + var $search_operators = array('is', 'in', 'not in', 'isnot'); |
|
16 | 16 | |
17 | 17 | var $group = 'pricing'; |
18 | 18 | |
@@ -22,7 +22,7 @@ discard block |
||
22 | 22 | * GravityView_Field_Date_Created constructor. |
23 | 23 | */ |
24 | 24 | public function __construct() { |
25 | - $this->label = esc_attr__( 'Payment Status', 'gravityview' ); |
|
25 | + $this->label = esc_attr__('Payment Status', 'gravityview'); |
|
26 | 26 | parent::__construct(); |
27 | 27 | } |
28 | 28 | } |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Payment Amount entry meta value |
|
4 | - * |
|
5 | - * @file payment_amount.php |
|
6 | - * @package GravityView |
|
7 | - * @subpackage templates\fields |
|
8 | - */ |
|
3 | + * Payment Amount entry meta value |
|
4 | + * |
|
5 | + * @file payment_amount.php |
|
6 | + * @package GravityView |
|
7 | + * @subpackage templates\fields |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | $entry = GravityView_View::getInstance()->getCurrentEntry(); |
11 | 11 |
@@ -9,6 +9,6 @@ |
||
9 | 9 | |
10 | 10 | $entry = GravityView_View::getInstance()->getCurrentEntry(); |
11 | 11 | |
12 | -$value = rgar( $entry, 'payment_amount' ); |
|
12 | +$value = rgar($entry, 'payment_amount'); |
|
13 | 13 | |
14 | -echo GFCommon::to_money( $value, rgar( $entry, 'currency' ) ); |
|
14 | +echo GFCommon::to_money($value, rgar($entry, 'currency')); |