Add donate and memberships

This commit is contained in:
Joey Kimsey
2024-12-05 15:33:25 -05:00
parent 03aedc3020
commit 402182714e
39 changed files with 2109 additions and 21 deletions

View File

@ -0,0 +1,38 @@
<?php
/**
* app/plugins/members/models/membership_invoices.php
*
* This class is used for the manipulation of the membership_invoices database table.
*
* @package TP Members
* @version 3.0
* @author Joey Kimsey <Joey@thetempusproject.com>
* @link https://TheTempusProject.com
* @license https://opensource.org/licenses/MIT [MIT LICENSE]
*/
namespace TheTempusProject\Models;
use TheTempusProject\Canary\Bin\Canary as Debug;
use TheTempusProject\Bedrock\Functions\Check;
use TheTempusProject\Bedrock\Functions\Sanitize;
use TheTempusProject\Classes\DatabaseModel;
use TheTempusProject\TheTempusProject as App;
class MembershipInvoices extends DatabaseModel {
public static $stripe;
public $tableName = 'membership_invoices';
public $databaseMatrix = [
[ 'name', 'varchar', '155' ],
// renews?
// does this renew periodically?
// renewal period?
// if periodic, how frequent?
// renewal type?
// automatic, manual review, paid
];
public function __construct() {
parent::__construct();
}
}