testing seat api

This commit is contained in:
2018-11-22 00:37:01 -06:00
parent 01d6ee3625
commit 8f0c7b3d73
+2 -1
View File
@@ -98,10 +98,11 @@ class Finances {
}
//Decode the journal from json into an array for future processing
$journals = json_decode($journals->raw, true);
dd($journals);
//For each journal array, attempt to store in the database
foreach($journals as $entry) {
if($entry['ref_type'] == 'brokers_fee' || $entry['ref_type'] == 'reprocessing_tax') {
printf("Found Entry");
dd($entry);
$this->PutWalletJournal($entry, $corpId, $divison);
}
}