$this->getResource()::getModel()::with(['user', 'adjustments']) ->where('period_month', now()->format('Y-m')) ->notPaid() ->get(), ]; } public function addAdjustmentAction(): Action { return AddAdjustmentAction::make() ->mountUsing(function ($form, $arguments) { $form->fill([ 'payroll_id' => $arguments['payroll_id'], 'type' => SalaryAdjustmentType::BONUS->value, ]); }); } public function editAdjustmentAction(): Action { return EditAdjustmentAction::make(); } public function deleteAdjustmentAction(): Action { return DeleteAdjustmentAction::make(); } }