Skip to content

Commit

Permalink
Change definition of unsyncable? (#1306)
Browse files Browse the repository at this point in the history
  • Loading branch information
pskl authored Dec 20, 2024
1 parent 68220ce commit e510cad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/student.rb
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,6 @@ def retry_pfmps_payment_requests!(reasons)
end

def unsyncable?
ine_not_found || current_schooling&.removed?
ine_not_found || current_schooling&.removed? || establishment&.students_provider.blank?
end
end

0 comments on commit e510cad

Please sign in to comment.