testChanges:GWM
This commit is contained in:
parent
9f2d209eca
commit
5ff66d1e3a
13
app/Models/Email_template_model.php
Normal file
13
app/Models/Email_template_model.php
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<?php namespace App\Models;
|
||||||
|
|
||||||
|
use CodeIgniter\Model;
|
||||||
|
|
||||||
|
class Email_template_model extends Model
|
||||||
|
{
|
||||||
|
protected $table = 'email_template';
|
||||||
|
protected $primaryKey = 'id';
|
||||||
|
|
||||||
|
protected $allowedFields = ['name','to','html','text', 'type' ,'subject','is_active'];
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
25
app/Models/Transaction_model.php
Normal file
25
app/Models/Transaction_model.php
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
<?php namespace App\Models;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
use CodeIgniter\Model;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
class Transaction_model extends Model
|
||||||
|
|
||||||
|
{
|
||||||
|
|
||||||
|
protected $table = 'transactions';
|
||||||
|
|
||||||
|
protected $primaryKey = 'id';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
protected $allowedFields = ['status','member_id','transaction_id','payment_order_id','order_id','transaction','is_mail_triggered', 'first_name','last_name','address', 'city' , 'state' , 'zip_code'];
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
13
app/Models/Variable_model.php
Normal file
13
app/Models/Variable_model.php
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<?php namespace App\Models;
|
||||||
|
|
||||||
|
use CodeIgniter\Model;
|
||||||
|
|
||||||
|
class Variable_model extends Model
|
||||||
|
{
|
||||||
|
protected $table = 'email_template_variables';
|
||||||
|
protected $primaryKey = 'id';
|
||||||
|
|
||||||
|
protected $allowedFields = ['name','variable_name','type'];
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user