ledger job
This commit is contained in:
@@ -214,6 +214,8 @@ class MoonCalc {
|
|||||||
$lookupHelper = new LookupHelper;
|
$lookupHelper = new LookupHelper;
|
||||||
$finalName = '';
|
$finalName = '';
|
||||||
|
|
||||||
|
$pastTime = Carbon::now()->subDays(30);
|
||||||
|
|
||||||
//Get the price of the moongoo
|
//Get the price of the moongoo
|
||||||
$atmosphericGasesPrice = MineralPrice::where(['ItemId' => 16634])->where('Time', '>', $pastTime)->avg('Price');
|
$atmosphericGasesPrice = MineralPrice::where(['ItemId' => 16634])->where('Time', '>', $pastTime)->avg('Price');
|
||||||
$evaporiteDepositsPirce = MineralPrice::where(['ItemId' => 16635])->where('Time', '>', $pastTime)->avg('Price');
|
$evaporiteDepositsPirce = MineralPrice::where(['ItemId' => 16635])->where('Time', '>', $pastTime)->avg('Price');
|
||||||
|
|||||||
Reference in New Issue
Block a user