checkin (broken)

This commit is contained in:
Rich Lott / Artful Robot 2025-02-18 17:33:27 +00:00
parent a01abba787
commit 06fec5daf7
21 changed files with 2025 additions and 376 deletions

View file

@ -1,10 +0,0 @@
<?php
// This file declares a new entity type. For more details, see "hook_civicrm_entityTypes" at:
// https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_entityTypes
return [
[
'name' => 'ContactCategory',
'class' => 'CRM_Contactcats_DAO_ContactCategory',
'table' => 'civicrm_contact_category',
],
];

View file

@ -1,68 +0,0 @@
<?xml version="1.0" encoding="iso-8859-1" ?>
<table>
<base>CRM/Contactcats</base>
<class>ContactCategory</class>
<name>civicrm_contact_category</name>
<comment>Stores a category for each contact</comment>
<log>false</log>
<field>
<name>id</name>
<type>int unsigned</type>
<required>true</required>
<comment>Unique ID, corresponds to contact id</comment>
<html>
<type>Number</type>
</html>
</field>
<primaryKey>
<name>id</name>
<autoincrement>true</autoincrement>
</primaryKey>
<field>
<name>contact_id</name>
<type>int unsigned</type>
<required>true</required>
<comment>Same as id but for FormBuilder</comment>
<html>
<type>EntityRef</type>
<label>Contact</label>
</html>
</field>
<foreignKey>
<name>contact_id</name>
<table>civicrm_contact</table>
<key>id</key>
<onDelete>CASCADE</onDelete>
</foreignKey>
<field>
<name>category</name>
<type>int unsigned</type>
<required>true</required>
<default>0</default>
<pseudoconstant>
<optionGroupName>contact_categories</optionGroupName>
</pseudoconstant>
<html>
<type>Select</type>
</html>
</field>
<index>
<name>index_category</name>
<fieldName>category</fieldName>
</index>
<field>
<name>next_category</name>
<type>int unsigned</type>
<required>true</required>
<default>0</default>
<pseudoconstant>
<optionGroupName>contact_categories</optionGroupName>
</pseudoconstant>
</field>
</table>