corp structure
This commit is contained in:
@@ -110,7 +110,7 @@ class Finances {
|
||||
$check = DB::table('CorpJournals')->where('id', $journal['id'])->get();
|
||||
//if we don't find the journal entry, add the journal entry to the database
|
||||
if($check->count() === 0) {
|
||||
$entry = new \App\Models\CorpJournal;
|
||||
$entry = new CorpJournal;
|
||||
$entry->id = $journal['id'];
|
||||
$entry->corporation_id = $corpId;
|
||||
$entry->division = $division;
|
||||
|
||||
@@ -9,7 +9,7 @@ class CorpJournal extends Model
|
||||
/**
|
||||
* Table Name
|
||||
*/
|
||||
protected $table = 'CorpJournal';
|
||||
protected $table = 'CorpJournals';
|
||||
|
||||
/**
|
||||
* Timestamps
|
||||
|
||||
Reference in New Issue
Block a user