projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
CRM-19626: Add min-amount handling to priceset
[civicrm-core.git]
/
CRM
/
Price
/
DAO
/
PriceSet.php
diff --git
a/CRM/Price/DAO/PriceSet.php
b/CRM/Price/DAO/PriceSet.php
index bda7ba9467aa92cce876464edcc746b8b3478798..f07500a2bd45e62ecdc27aed5e91e1c3b189499d 100644
(file)
--- a/
CRM/Price/DAO/PriceSet.php
+++ b/
CRM/Price/DAO/PriceSet.php
@@
-30,7
+30,7
@@
*
* Generated from xml/schema/CRM/Price/PriceSet.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
*
* Generated from xml/schema/CRM/Price/PriceSet.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:
cf1125145d52414335549f50501ff5f
c)
+ * (GenCodeChecksum:
1642f2b38411573c40848c0d7c83c74
c)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
@@
-120,6
+120,12
@@
class CRM_Price_DAO_PriceSet extends CRM_Core_DAO {
* @var boolean
*/
public $is_reserved;
* @var boolean
*/
public $is_reserved;
+ /**
+ * Minimum Amount required for this set.
+ *
+ * @var int unsigned
+ */
+ public $min_amount;
/**
* class constructor
*
/**
* class constructor
*
@@
-292,6
+298,15
@@
class CRM_Price_DAO_PriceSet extends CRM_Core_DAO {
'type' => 'CheckBox',
) ,
) ,
'type' => 'CheckBox',
) ,
) ,
+ 'min_amount' => array(
+ 'name' => 'min_amount',
+ 'type' => CRM_Utils_Type::T_INT,
+ 'title' => ts('Minimum Amount') ,
+ 'description' => 'Minimum Amount required for this set.',
+ 'html' => array(
+ 'type' => 'Text',
+ ) ,
+ ) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
}
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
}