testing seat api
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user