structures
This commit is contained in:
@@ -107,7 +107,7 @@ class Finances {
|
||||
}
|
||||
|
||||
private function PutWalletJournal($journal, $corpId, $division) {
|
||||
$check = DB::table('CorpJournal')->where('id', $journal['id'])->get();
|
||||
$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 == null) {
|
||||
$entry = new CorpJournal;
|
||||
|
||||
Reference in New Issue
Block a user