@@ -12,7 +12,7 @@ discard block |
||
12 | 12 | |
13 | 13 | var $is_searchable = true; |
14 | 14 | |
15 | - var $search_operators = array( 'less_than', 'greater_than', 'is', 'isnot' ); |
|
15 | + var $search_operators = array('less_than', 'greater_than', 'is', 'isnot'); |
|
16 | 16 | |
17 | 17 | var $group = 'pricing'; |
18 | 18 | |
@@ -22,8 +22,8 @@ discard block |
||
22 | 22 | * GravityView_Field_Date_Created constructor. |
23 | 23 | */ |
24 | 24 | public function __construct() { |
25 | - $this->label = esc_attr__( 'Payment Date', 'gravityview' ); |
|
26 | - $this->description = esc_attr__( 'The date the payment was received.', 'gravityview' ); |
|
25 | + $this->label = esc_attr__('Payment Date', 'gravityview'); |
|
26 | + $this->description = esc_attr__('The date the payment was received.', 'gravityview'); |
|
27 | 27 | parent::__construct(); |
28 | 28 | } |
29 | 29 | } |
@@ -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 | } |
@@ -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')); |