stc

a simple time card webapp
git clone _git@git.brennen.work:stc.git
Log | Files | Refs | README

commit fa0c88ef678573cf5d208b05c271950977482e09
parent 3f057b40e43194d4ee30dae446775f66313f8d19
Author: Brennen T. Mazur <brennen@madis.cool>
Date:   Wed, 22 Feb 2023 22:18:22 -0700

spelling fix for per diem(thanks Madi)

Diffstat:
Mapp/forms.py | 2+-
Mapp/templates/dashboard/activeusers/widget.html | 6+++---
Mapp/templates/dashboard/punchclock/index.html | 2+-
3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/app/forms.py b/app/forms.py @@ -31,7 +31,7 @@ class PunchclockWidget(FlaskForm): projectsSel = SelectField('Project', validators=[DataRequired()]) #clockin = currenttime lunchBox = BooleanField('Lunch') - per_diemBox = BooleanField('Perdium') + per_diemBox = BooleanField('Per Diem') # IFF user.role is_in(trusted_role[]) then allow lunch minute definition clockin = SubmitField('Clock In') diff --git a/app/templates/dashboard/activeusers/widget.html b/app/templates/dashboard/activeusers/widget.html @@ -7,7 +7,7 @@ <td><input type="button" onclick="alert('route to /changehours<user1>')" value="user1.name"></td> <td><input type="checkbox" name="onCrew" checked><label for="onCrew">On Crew</label></td> <td><input type="checkbox" name="lunch"><label for="lunch">Lunch</label></td> - <td><input type="checkbox" name="perdium"><label for="perdium">Perdium</label></td> + <td><input type="checkbox" name="per_diem"><label for="per_diem">Per Diem</label></td> <td><input type="button" onclick="alert('route to /changehours<user1>')" value="user1.timeIn"></td> <td><input type="submit" value="Clock Out"></td> </tr> @@ -15,7 +15,7 @@ <td><input type="button" onclick="alert('route to /changehours<user2>')" value="user2.name"></td> <td><input type="checkbox" name="onCrew" checked><label for="onCrew">On Crew</label></td> <td><input type="checkbox" name="lunch"><label for="lunch">Lunch</label></td> - <td><input type="checkbox" name="perdium"><label for="perdium">Perdium</label></td> + <td><input type="checkbox" name="per_diem"><label for="per_diem">Per Diem</label></td> <td><input type="button" onclick="alert('route to /changehours<user2>')" value="user2.timeIn"></td> <td><input type="submit" value="Clock Out"></td> </tr> @@ -25,7 +25,7 @@ <th><select><option value="user3.name" selected>user3.name</option><option value="user4.name">user4.name</option><option value="user5.name">user5.name</option></select></th> <td><input type="checkbox" name="onCrew" checked><label for="onCrew">On Crew</label></td> <td><input type="checkbox" name="lunch"><label for="lunch">Lunch</label></td> - <td><input type="checkbox" name="perdium"><label for="perdium">Perdium</label></td> + <td><input type="checkbox" name="per_diem"><label for="per_diem">Per Diem</label></td> <td><input type="time" value="12:12"/></td> <td><input type="submit" value="Clock in New Member"></td> </tr> diff --git a/app/templates/dashboard/punchclock/index.html b/app/templates/dashboard/punchclock/index.html @@ -19,7 +19,7 @@ <th>Start</th> <th>Finish</th> <th>Lunch</th> - <th>Purdium</th> + <th>Per Diem</th> <th>Add Project</th> <th>Remove Time</th> </tr>