testing moon worth job

This commit is contained in:
2021-05-30 22:47:30 +09:00
parent ac885c5e3f
commit 6b8123d650
3 changed files with 21 additions and 66 deletions

View File

@@ -36,31 +36,6 @@ class TestController extends Controller
return view('test.char.display')->with('char', $char);
}
public function TestAllianceMoonWorth() {
//Declare variables
$lookup = new LookupHelper;
$mHelper = new MoonCalc;
$months = 3;
$rentalTax = 0.25;
$worth1;
$worth2;
$moons = AllianceMoon::all();
foreach($moons as $moon) {
//Declare the arrays needed
$ores = array();
$ores = AllianceMoonOre::where([
'moon_id' => $moon->moon_id,
])->get(['ore_id', 'quantity'])->toArray();
return view('test.moonworth.moon')->with('ores', $ores);
}
}
public function DebugMiningTaxesInvoices() {
$lookup = new LookupHelper;
$ledgers = new Collection;