offset stuff
This commit is contained in:
@@ -182,10 +182,16 @@ class MiningTaxesAdminController extends Controller
|
||||
$tempObserverInfo = $structure->GetStructureInfo($item['observer_id']);
|
||||
|
||||
if(isset($tempObserverInfo->name)) {
|
||||
dd($tempObserverInfo);
|
||||
}
|
||||
|
||||
//Create the array for the line by line
|
||||
array_push($moons, [
|
||||
'character_nanme' => $item['character_name'],
|
||||
'observer_name' => $tempObserverInfo->name,
|
||||
'type_id' =. $item['type_id'],
|
||||
'ore_name' => $item['ore_name'],
|
||||
'quantity' => $item['quantity'],
|
||||
'amount' => $item['amount'],
|
||||
'tax_amount' => $item['amount'] * $config['public_mining_tax'],
|
||||
]);
|
||||
} else {
|
||||
array_push($moons, [
|
||||
'character_name' => $item['character_name'],
|
||||
'observer_name' => $tempObserverInfo->structure_name,
|
||||
@@ -197,6 +203,8 @@ class MiningTaxesAdminController extends Controller
|
||||
]);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
return view('miningtax.admin.display.details.invoice')->with('ores', $ores)
|
||||
->with('moons', $moons)
|
||||
->with('invoice', $invoice)
|
||||
|
||||
Reference in New Issue
Block a user