finances controller

This commit is contained in:
2018-11-21 22:03:39 -06:00
parent eb1dfa76e5
commit 3ca7afab67
2 changed files with 5 additions and 2 deletions

View File

@@ -45,7 +45,7 @@ class FinancesController extends Controller
$corpId = $helper->FindCorporationId(Auth::user()->character_id);
//Get the taxes for the corporation
$taxes = DB::table('CorpJournals')
->where(['corporation_id'=> $corpId, 'ref_type' => 46])
->where(['corporation_id'=> $corpId, 'ref_type' => 'brokers_fee'])
->whereBetween($start, $end)
->get();
foreach($taxes as $tax) {