change 2 other Amount strings to Number
This commit is contained in:
parent
6b02ee217c
commit
234d53975e
|
@ -147,13 +147,13 @@ class WC_Admin_REST_Reports_Coupons_Stats_Controller extends WC_REST_Reports_Con
|
||||||
'format' => 'currency',
|
'format' => 'currency',
|
||||||
),
|
),
|
||||||
'coupons_count' => array(
|
'coupons_count' => array(
|
||||||
'description' => __( 'Amount of coupons.', 'woocommerce-admin' ),
|
'description' => __( 'Number of coupons.', 'woocommerce-admin' ),
|
||||||
'type' => 'integer',
|
'type' => 'integer',
|
||||||
'context' => array( 'view', 'edit' ),
|
'context' => array( 'view', 'edit' ),
|
||||||
'readonly' => true,
|
'readonly' => true,
|
||||||
),
|
),
|
||||||
'orders_count' => array(
|
'orders_count' => array(
|
||||||
'description' => __( 'Amount of discounted orders.', 'woocommerce-admin' ),
|
'description' => __( 'Number of discounted orders.', 'woocommerce-admin' ),
|
||||||
'type' => 'integer',
|
'type' => 'integer',
|
||||||
'context' => array( 'view', 'edit' ),
|
'context' => array( 'view', 'edit' ),
|
||||||
'readonly' => true,
|
'readonly' => true,
|
||||||
|
|
Loading…
Reference in New Issue