corp structures

This commit is contained in:
2018-11-22 01:47:54 -06:00
parent 64ae184b79
commit 2c95f5a24f

View File

@@ -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 CorpJournal;
$entry = new \App\Models\CorpJournal;
$entry->id = $journal['id'];
$entry->corporation_id = $corpId;
$entry->division = $division;