diff --git a/app/controllers/entries_controller.rb b/app/controllers/entries_controller.rb index f2a1f7a..3027df5 100644 --- a/app/controllers/entries_controller.rb +++ b/app/controllers/entries_controller.rb @@ -44,9 +44,6 @@ class EntriesController < ApplicationController required_minutes = (total_required * 60).to_i entries_exist = current_user.entries.where(praktikums_typ: typ, entry_art: art).exists? - Rails.logger.info "=== #{art} #{typ} ===" - Rails.logger.info "Erforderlich (min): #{required_minutes}, Verbleibend: #{remaining_minutes}, Einträge vorhanden? #{entries_exist}" - if total_required > 0 && entries_exist done_minutes = required_minutes - remaining_minutes percent = (done_minutes / required_minutes.to_f * 100).round