From: Eileen McNaughton Date: Sun, 24 Aug 2014 22:01:45 +0000 (+1200) Subject: CRM-15168 add titles to Price Set Entities X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=021ad66cca2603f173e5a1c79c5a40ee1aaae5b3;p=civicrm-core.git CRM-15168 add titles to Price Set Entities --- diff --git a/tests/phpunit/api/v3/SyntaxConformanceTest.php b/tests/phpunit/api/v3/SyntaxConformanceTest.php index 09cfa08236..afe7684b62 100644 --- a/tests/phpunit/api/v3/SyntaxConformanceTest.php +++ b/tests/phpunit/api/v3/SyntaxConformanceTest.php @@ -275,7 +275,7 @@ class api_v3_SyntaxConformanceTest extends CiviUnitTestCase { 'MembershipBlock', 'MembershipPayment', 'MessageTemplate', 'MembershipType', 'OptionGroup', 'OptionValue', 'MembershipStatus', 'ParticipantPayment', 'ParticipantStatusType', 'PledgePayment', - 'Premium', 'PriceSet', 'PriceFieldValue', 'PriceField', 'PaymentProcessorType', 'PaymentProcessor', + 'Premium', 'PaymentProcessorType', 'PaymentProcessor', 'PrintLabel', 'Product', 'ReportTemplate', 'Setting',); if ($sequential === TRUE) { diff --git a/xml/schema/Price/PriceField.xml b/xml/schema/Price/PriceField.xml index 5ff8825f6b..a9c6d1d643 100644 --- a/xml/schema/Price/PriceField.xml +++ b/xml/schema/Price/PriceField.xml @@ -8,6 +8,7 @@ true id + Price Field ID int unsigned true Price Field @@ -19,6 +20,7 @@ price_set_id + Price Set int unsigned true FK to civicrm_price_set @@ -75,6 +77,7 @@ is_enter_qty + Price Field Quantity Required? boolean 0 Enter a quantity for this field? @@ -85,6 +88,7 @@ help_pre + Price Field Pre Text text true Description and/or help text to display before this field. @@ -97,6 +101,7 @@ help_post + Price Field Post Test text true Description and/or help text to display after this field. @@ -109,6 +114,7 @@ weight + Price Field Weight int 1 Order in which the fields should appear @@ -119,6 +125,7 @@ is_display_amounts + Price Field Show Amounts? boolean 1 Should the price be displayed next to the label for each option? @@ -128,6 +135,7 @@ options_per_line + Price Field Options per Row int unsigned 1 number of options per line for checkbox and radio @@ -138,6 +146,7 @@ is_active + Price Field Is Active? boolean Is this price field active 1 @@ -148,6 +157,7 @@ is_required + Price Field is Required? boolean Is this price field required (value must be > 1) 1 @@ -158,6 +168,7 @@ active_on + Price Field Start Date datetime NULL If non-zero, do not show this field before the date specified @@ -168,6 +179,7 @@ expire_on + Price Field End Date datetime NULL If non-zero, do not show this field after the date specified @@ -178,6 +190,7 @@ javascript + Price Field Javascript varchar 255 Optional scripting attributes for field @@ -188,6 +201,7 @@ visibility_id + Price Field Visibility int unsigned 1 Implicit FK to civicrm_option_group with name = \'visibility\' diff --git a/xml/schema/Price/PriceFieldValue.xml b/xml/schema/Price/PriceFieldValue.xml index 19a89947e1..3a0a490c9e 100644 --- a/xml/schema/Price/PriceFieldValue.xml +++ b/xml/schema/Price/PriceFieldValue.xml @@ -7,6 +7,7 @@ 3.3 id + Price Field Value ID int unsigned true Price Field Value @@ -18,6 +19,7 @@ price_field_id + Price Field int unsigned true FK to civicrm_price_field @@ -110,6 +112,7 @@ membership_type_id + Membership Type int unsigned NULL FK to Membership Type @@ -137,6 +140,7 @@ is_default + Is Default Price Field Option? boolean Is this default price field option 0 @@ -147,6 +151,7 @@ is_active + Price Field Value is Active boolean Is this price field value active 1 diff --git a/xml/schema/Price/PriceSet.xml b/xml/schema/Price/PriceSet.xml index 3b961957de..034fe1b5e0 100644 --- a/xml/schema/Price/PriceSet.xml +++ b/xml/schema/Price/PriceSet.xml @@ -8,6 +8,7 @@ true id + Price Set ID int unsigned true Price Set @@ -19,6 +20,7 @@ domain_id + Price Set Domain int unsigned civicrm_domain
@@ -56,6 +58,7 @@ title + Price Set Title varchar 255 true @@ -68,6 +71,7 @@ is_active + Price Set Is Active? boolean 1 Is this price set active @@ -78,6 +82,7 @@ help_pre + Price Set Pre Help text true Description and/or help text to display before fields in form. @@ -90,6 +95,7 @@ help_post + Price Set Post Help text true Description and/or help text to display after fields in form. @@ -102,6 +108,7 @@ javascript + Price Set Javascript varchar 64 Optional Javascript script function(s) included on the form with this price_set. Can be used for conditional @@ -112,6 +119,7 @@ extends + Price Set Extends varchar 255 true @@ -128,6 +136,7 @@ contribution_type_id + Price Set Contribution Type int unsigned NULL FK to Contribution Type(for membership price sets only). @@ -167,6 +176,7 @@ is_quick_config + Is Price Set Quick Config? boolean 0 Is set if edited on Contribution or Event Page rather than through Manage Price Sets @@ -177,6 +187,7 @@ is_reserved + Price Set Is Reserved boolean 0 Is this a predefined system price set (i.e. it can not be deleted, edited)?