diff --git a/CRM/Price/DAO/LineItem.php b/CRM/Price/DAO/LineItem.php index 7e9b779089b6..82cea2af7f51 100644 --- a/CRM/Price/DAO/LineItem.php +++ b/CRM/Price/DAO/LineItem.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Price/LineItem.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:5a365a7d4b14c9b5963aeb61576395e4) + * (GenCodeChecksum:c9962dd4253fbcf43073bf10fbb0ce86) */ /** @@ -238,6 +238,12 @@ public static function &fields() { 'bao' => 'CRM_Price_BAO_LineItem', 'localizable' => 0, 'FKClassName' => 'CRM_Price_DAO_PriceField', + 'pseudoconstant' => [ + 'table' => 'civicrm_price_field', + 'keyColumn' => 'id', + 'labelColumn' => 'label', + 'nameColumn' => 'name', + ], 'add' => '1.7', ], 'label' => [ @@ -343,12 +349,18 @@ public static function &fields() { 'bao' => 'CRM_Price_BAO_LineItem', 'localizable' => 0, 'FKClassName' => 'CRM_Price_DAO_PriceFieldValue', + 'pseudoconstant' => [ + 'table' => 'civicrm_price_field_value', + 'keyColumn' => 'id', + 'labelColumn' => 'label', + 'nameColumn' => 'name', + ], 'add' => '3.3', ], 'financial_type_id' => [ 'name' => 'financial_type_id', 'type' => CRM_Utils_Type::T_INT, - 'title' => ts('Financial Type'), + 'title' => ts('Financial Type ID'), 'description' => ts('FK to Financial Type.'), 'where' => 'civicrm_line_item.financial_type_id', 'default' => 'NULL', @@ -359,6 +371,7 @@ public static function &fields() { 'FKClassName' => 'CRM_Financial_DAO_FinancialType', 'html' => [ 'type' => 'Select', + 'label' => ts("Financial Type"), ], 'pseudoconstant' => [ 'table' => 'civicrm_financial_type', diff --git a/xml/schema/Price/LineItem.xml b/xml/schema/Price/LineItem.xml index 82b9c9a7cc56..ee61447fee6c 100644 --- a/xml/schema/Price/LineItem.xml +++ b/xml/schema/Price/LineItem.xml @@ -58,6 +58,12 @@ Line Item Price Field int unsigned FK to civicrm_price_field + + civicrm_price_field
+ id + name + label +
1.7 @@ -145,6 +151,12 @@ int unsigned NULL FK to civicrm_price_field_value + + civicrm_price_field_value
+ id + name + label +
3.3 @@ -155,7 +167,7 @@ financial_type_id - Financial Type + Financial Type ID int unsigned NULL @@ -167,6 +179,7 @@ 4.3 Select +