added a way for mining operations to be recorded.
refactored mining tax invoice jobs with a job chain and new directory structure added views and forms for mining operations added navbar button for mining operations refactored how admin dashboard controller checks for permissions versus roles
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class MiningOperation extends Model
|
||||
{
|
||||
//Table Name
|
||||
protected $table = 'alliance_mining_tax_operations';
|
||||
|
||||
//Primary Key
|
||||
public $primaryKey = 'id';
|
||||
|
||||
//Timestamps
|
||||
public $timestamps = true;
|
||||
|
||||
/**
|
||||
* The array of variables which are mass assignable
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $fillable = [
|
||||
'structure_id',
|
||||
'structure_name',
|
||||
'authorized_by_id',
|
||||
'authorized_by_name',
|
||||
'operation_date',
|
||||
'processed',
|
||||
'processed_on',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user