updated finance helper along with some other helper functions to prepare for jump bridge statics and other statistics

This commit is contained in:
2018-12-21 20:11:34 -06:00
parent b1e1b34fbc
commit 685ac73f15
16 changed files with 601 additions and 124 deletions
+41
View File
@@ -0,0 +1,41 @@
<?php
namespace App\Models\Finances;
use Illuminate\Database\Eloquent\Model;
class JumpBridgeJournal extends Model
{
/**
* Table Name
*/
protected $table = 'jump_bridge_journal';
/**
* Timestamps
*/
public $timestamps = true;
/**
* The attributes that are mass assignable
*
* @var array
*/
protected $fillable = [
'id',
'corporation_id',
'division',
'amount',
'balance',
'context_id',
'context_id_type',
'date',
'description',
'first_party_id',
'reason',
'ref_type',
'second_party_id',
'tax',
'tax_receiver_id',
];
}