structure controller
This commit is contained in:
@@ -72,8 +72,7 @@ class StructureController extends Controller
|
|||||||
/**
|
/**
|
||||||
* Calculate the final taxes and send to display
|
* Calculate the final taxes and send to display
|
||||||
*/
|
*/
|
||||||
$mTax = CorpStructure::where(['corporation_id' => $corporation, 'structure_type' => 'Citadel'])
|
$mTax = CorpStructure::where(['corporation_id' => $corporation])->sum('tax');
|
||||||
->sum('tax');
|
|
||||||
$rTax = CorpStructure::where(['corporation_id' => $corporation, 'structure_type' => 'Citadel'])
|
$rTax = CorpStructure::where(['corporation_id' => $corporation, 'structure_type' => 'Citadel'])
|
||||||
->sum('tax');
|
->sum('tax');
|
||||||
dd($mTax);
|
dd($mTax);
|
||||||
|
|||||||
Reference in New Issue
Block a user