mirror of
https://koodu.h-i.works/projects/thebadspace
synced 2025-06-25 16:04:37 -05:00
Appeal Process upgrade
Changed the appeal process so that each request is tracked in the database to make reviewing and time limits easier to manage. An email is still sent but it's just a notifcation to let the admin know an appeal has been filed.
This commit is contained in:
34
app/Models/Appeal.php
Normal file
34
app/Models/Appeal.php
Normal file
@ -0,0 +1,34 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
|
||||
class Appeal extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
use SoftDeletes;
|
||||
|
||||
/**
|
||||
* The table associated with the model.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $table = "appeal";
|
||||
|
||||
protected $primaryKey = 'id';
|
||||
public $incrementing = true;
|
||||
protected $fillable = [
|
||||
"uuid",
|
||||
"location",
|
||||
"location_admin",
|
||||
"sponsor",
|
||||
"description",
|
||||
"approved",
|
||||
"reviewed",
|
||||
"created_at",
|
||||
"updated_at"
|
||||
];
|
||||
}
|
Reference in New Issue
Block a user