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
34 lines
652 B
PHP
34 lines
652 B
PHP
<?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',
|
|
];
|
|
}
|