Skip to content
Snippets Groups Projects
Commit 44cbdd64 authored by jaapjansma's avatar jaapjansma
Browse files

Added title to fields in the dao and fixed form processor bug

parent 30d76eba
Branches
Tags 1.15
No related merge requests found
......@@ -6,7 +6,7 @@
*
* Generated from org.civicoop.documents/xml/schema/CRM/Documents/Document.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:8b4c5cfce301db7e9d835438eee5f563)
* (GenCodeChecksum:5b96966d5db31913a5ffc8e511777fe6)
*/
use CRM_Documents_ExtensionUtil as E;
......@@ -122,6 +122,7 @@ class CRM_Documents_DAO_Document extends CRM_Core_DAO {
'id' => [
'name' => 'id',
'type' => CRM_Utils_Type::T_INT,
'title' => E::ts('ID'),
'description' => E::ts('Unique Document ID'),
'required' => TRUE,
'where' => 'civicrm_document.id',
......
......@@ -6,7 +6,7 @@
*
* Generated from org.civicoop.documents/xml/schema/CRM/Documents/DocumentCase.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:7c07462487ea0d778584bef711076ea7)
* (GenCodeChecksum:26ebc99fb2472c05a3fa9949cee1f99e)
*/
use CRM_Documents_ExtensionUtil as E;
......@@ -97,6 +97,7 @@ class CRM_Documents_DAO_DocumentCase extends CRM_Core_DAO {
'id' => [
'name' => 'id',
'type' => CRM_Utils_Type::T_INT,
'title' => E::ts('ID'),
'description' => E::ts('Unique DocumentCase ID'),
'required' => TRUE,
'where' => 'civicrm_document_case.id',
......
......@@ -6,7 +6,7 @@
*
* Generated from org.civicoop.documents/xml/schema/CRM/Documents/DocumentContact.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:cdc4ba78fa70f6bdbc1a8ef8b3805c37)
* (GenCodeChecksum:ee1d57e72266e66583ded06eb822e158)
*/
use CRM_Documents_ExtensionUtil as E;
......@@ -97,6 +97,7 @@ class CRM_Documents_DAO_DocumentContact extends CRM_Core_DAO {
'id' => [
'name' => 'id',
'type' => CRM_Utils_Type::T_INT,
'title' => E::ts('ID'),
'description' => E::ts('Unique DocumentContact ID'),
'required' => TRUE,
'where' => 'civicrm_document_contact.id',
......@@ -130,6 +131,7 @@ class CRM_Documents_DAO_DocumentContact extends CRM_Core_DAO {
'contact_id' => [
'name' => 'contact_id',
'type' => CRM_Utils_Type::T_INT,
'title' => E::ts('Contact ID'),
'description' => E::ts('FK to Contact'),
'where' => 'civicrm_document_contact.contact_id',
'table_name' => 'civicrm_document_contact',
......
......@@ -6,7 +6,7 @@
*
* Generated from org.civicoop.documents/xml/schema/CRM/Documents/DocumentEntity.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:5fa9a95df66b7669e0c8c0b884f68560)
* (GenCodeChecksum:83a1388ea01f8da2b92d3a405fbd5727)
*/
use CRM_Documents_ExtensionUtil as E;
......@@ -104,6 +104,7 @@ class CRM_Documents_DAO_DocumentEntity extends CRM_Core_DAO {
'id' => [
'name' => 'id',
'type' => CRM_Utils_Type::T_INT,
'title' => E::ts('ID'),
'description' => E::ts('Unique DocumentEntity ID'),
'required' => TRUE,
'where' => 'civicrm_document_entity.id',
......
......@@ -6,7 +6,7 @@
*
* Generated from org.civicoop.documents/xml/schema/CRM/Documents/DocumentVersion.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:8c6445d43eacdf221288c8489b988d06)
* (GenCodeChecksum:7e47d2fb2d77096c3fe904e936b32aec)
*/
use CRM_Documents_ExtensionUtil as E;
......@@ -112,6 +112,7 @@ class CRM_Documents_DAO_DocumentVersion extends CRM_Core_DAO {
'id' => [
'name' => 'id',
'type' => CRM_Utils_Type::T_INT,
'title' => E::ts('ID'),
'description' => E::ts('Unique DocumentVersion ID'),
'required' => TRUE,
'where' => 'civicrm_document_version.id',
......
......@@ -100,7 +100,7 @@ class UploadNewVersion extends AbstractAction {
*/
public function getConfigurationSpecification() {
return new SpecificationBag([
new Specification('replace_current', 'Bool', E::ts('Replace current version'), TRUE),
new Specification('replace_current', 'Boolean', E::ts('Replace current version'), TRUE),
]);
}
......
......@@ -14,8 +14,8 @@
<url desc="Support">http://civicoop.org</url>
<url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
</urls>
<releaseDate>2021-10-18</releaseDate>
<version>1.15-dev</version>
<releaseDate>2021-11-08</releaseDate>
<version>1.15</version>
<develStage>stable</develStage>
<compatibility>
<ver>5.41</ver>
......
......@@ -9,6 +9,7 @@
<field>
<name>id</name>
<title>ID</title>
<type>int unsigned</type>
<required>true</required>
<comment>Unique Document ID</comment>
......
......@@ -8,6 +8,7 @@
<field>
<name>id</name>
<title>ID</title>
<type>int unsigned</type>
<required>true</required>
<comment>Unique DocumentCase ID</comment>
......
......@@ -8,6 +8,7 @@
<field>
<name>id</name>
<title>ID</title>
<type>int unsigned</type>
<required>true</required>
<comment>Unique DocumentContact ID</comment>
......@@ -39,6 +40,7 @@
<field>
<name>contact_id</name>
<title>Contact ID</title>
<type>int unsigned</type>
<comment>FK to Contact</comment>
</field>
......
......@@ -9,6 +9,7 @@
<field>
<name>id</name>
<title>ID</title>
<type>int unsigned</type>
<required>true</required>
<comment>Unique DocumentEntity ID</comment>
......
......@@ -8,6 +8,7 @@
<field>
<name>id</name>
<title>ID</title>
<type>int unsigned</type>
<required>true</required>
<comment>Unique DocumentVersion ID</comment>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment