mining tax testing

This commit is contained in:
2021-03-07 21:41:00 +09:00
parent 27148dae22
commit fcf823663f

View File

@@ -257,6 +257,7 @@ class MiningTaxesController extends Controller
*/
$ledgers = Ledger::where([
'observer_id' => $obs->structure_id,
'character_id' => auth()->user()->getId(),
])->where('last_updated', '>=', Carbon::now()->subDays(30))->get();
if($ledger != null) {