moon ordering
This commit is contained in:
@@ -22,7 +22,7 @@ class MoonsController extends Controller
|
|||||||
//Update the prices for the moon
|
//Update the prices for the moon
|
||||||
$moonCalc->FetchNewPrices();
|
$moonCalc->FetchNewPrices();
|
||||||
//get all of the moons from the database
|
//get all of the moons from the database
|
||||||
$moons = DB::table('Moons')->get();
|
$moons = DB::table('Moons')->orderBy('System', 'asc')->get();
|
||||||
//declare the html variable and set it to null
|
//declare the html variable and set it to null
|
||||||
$html = '';
|
$html = '';
|
||||||
foreach($moons as $moon) {
|
foreach($moons as $moon) {
|
||||||
|
|||||||
@@ -46,10 +46,12 @@ class Finances {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public function GetMasterWalletJournal() {
|
public function GetMasterWalletJournal() {
|
||||||
$journal = $this->esi->invoke('get', '/corporations/98287666/wallets/1/journal/');
|
$journals = $this->esi->invoke('get', '/corporations/98287666/wallets/1/journal/');
|
||||||
$journal = json_decode($journal->raw, true);
|
$journals = json_decode($journal->raw, true);
|
||||||
|
foreach($journals as $entry) {
|
||||||
return $journal;
|
DB::table('HoldingCorpFinancesJournal');
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user