Only show office days in reports for people that have them

parent 2af7055b
......@@ -83,7 +83,7 @@ reports/ combined-worklogs.sqlite combined-daylog.sqlite
sqlite3 --header -csv combined-worklogs.sqlite "SELECT file as Filename, SUM(added) AS Added, SUM(-removed) AS Removed FROM commits WHERE author='$${author}' AND strftime('%Y-%m', date)='$${month}' GROUP BY Filename"
echo '```'
if [[ $${days} -ge 0 ]]; then
if [[ $${days} -gt 0 ]]; then
echo "### Office Days"
echo "Days spent at office: $${days}"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment