1
0
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:
ro
2024-02-08 14:37:34 -06:00
parent 9be54fa13c
commit bce9a430aa
7 changed files with 96 additions and 37 deletions

34
app/Models/Appeal.php Normal file
View 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"
];
}