-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compte épargne : incrémenter après un créneau "extra" validé #768
Conversation
5ab1529
to
c81d478
Compare
54ff720
to
e6492c9
Compare
d4455d1
to
17e9439
Compare
{ | ||
$log = $this->initTimeLog($member); | ||
$log->setType(TimeLog::TYPE_REGULATE_OPTIONAL_SHIFTS); | ||
if ($time) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comment on peut faire un log sans time ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bonne question, dans 99,9% des cas le paramètre $time
sera non-null, mais j'ai répliqué initCustomTimeLog
et initSavingTimeLog
.
tu préfères qu'on force la présence du paramètre $time
instead ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
j'ai rectifié pour initSavingTimeLog
et initRegulateOptionalShiftsTimeLog
pour initCustomTimeLog
c'est appelé pour l'instant sans le $time
donc je laisse comme ca
17e9439
to
80e92a9
Compare
80e92a9
to
9322e4f
Compare
…grenoble#768) * Rename TYPE_CYCLE_END_REGULATE_OPTIONAL_SHIFTS to TYPE_REGULATE_OPTIONAL_SHIFTS * onShiftValidated: move extra time to saving * Fix stuff
…grenoble#768) * Rename TYPE_CYCLE_END_REGULATE_OPTIONAL_SHIFTS to TYPE_REGULATE_OPTIONAL_SHIFTS * onShiftValidated: move extra time to saving * Fix stuff
Quoi ?
TimeLog.TYPE_CYCLE_END_REGULATE_OPTIONAL_SHIFTS
enTYPE_REGULATE_OPTIONAL_SHIFTS
pour le rendre plus ré-utilisable (pas seulement "cycle end")