structure testing
This commit is contained in:
@@ -108,7 +108,7 @@ class Finances {
|
|||||||
|
|
||||||
private function PutWalletJournal($journal, $corpId, $division) {
|
private function PutWalletJournal($journal, $corpId, $division) {
|
||||||
$check = DB::table('CorpJournals')->where('id', $journal['id'])->get();
|
$check = DB::table('CorpJournals')->where('id', $journal['id'])->get();
|
||||||
dd($check);
|
dd($check->count());
|
||||||
//if we don't find the journal entry, add the journal entry to the database
|
//if we don't find the journal entry, add the journal entry to the database
|
||||||
if($check == null) {
|
if($check == null) {
|
||||||
$entry = new CorpJournal;
|
$entry = new CorpJournal;
|
||||||
|
|||||||
Reference in New Issue
Block a user