-
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
TimeLog : nouveau champ requestRoute #730
Conversation
5fbd35c
to
fb1ff56
Compare
$log->setType(TimeLog::TYPE_SHIFT); | ||
$log->setShift($shift); | ||
$log->setTime($shift->getDuration()); | ||
|
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.
Ne pourrait-on pas ici mettre aussi la route (i.e., savoir si le créneau a été validé par la badgeuse ou manuellement. Si manuel, on pourrait aussi logguer qui a fait l'action ?)
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.
c'est déjà fait via l'appel à initTimeLog
😉
* Add TimeLog.requestRoute field * Add new TimeLogService.initTimeLog. set createdBy & requestRoute * Display TimeLog.requestRoute in the template
Quoi ?
dans le modèle
TimeLog
requestRoute
(similaire àShiftFreeLog
)dans le service
TimeLogService
ShiftFreeLogService
(importer RequestStack, TokenStorage)createdBy
&requestRoute
initTimeLog
dans Admin > Membres :