---
title: "CapYourTime"
weight: 1
description: "Enter the time spent on a project task from a smartphone, by scanning a QR code displayed on the task card."
source_hash: "b83d5d04"
---

# CapYourTime

CapYourTime adds a QR code at the bottom right of the project task time entry page (`Projects > Task > Time spent`). You scan the QR code with your smartphone and get a minimalist page to enter your time in a few seconds: date, start time, duration, associated service and report (dictatable via the keyboard microphone).

This module is not meant to replace Dolibarr's native interface. It simply covers the use case "I enter the time spent on a customer's tasks at the end of the month". Having the smartphone on the desk as a dictaphone and the workstation free to search through emails, commits, tickets, makes entry much smoother.

![QR code panel displayed on the task time entry page](screenshots/qr-sur-time-php.webp)

## Main features

- QR code automatically displayed on the native `Projects > Task > Time spent` page.
- Responsive mobile page with a polished design (automatic light and dark mode).
- Authentication by HMAC-signed link (no password to type on the phone, link valid 24 h by default).
- Configurable link validity, up to unlimited mode (printable QR code that can be stuck on a machine, valid as long as the project is open).
- Email notification on each entry (project, task, user, date, duration, service, report).
- Configurable duration chips (15, 30, 60, 120 min by default) plus an "Other" field for a free duration.
- Service selector (Dolibarr product of type Service) with three filtering modes: all services, by category, or manual list.
- Local storage in the smartphone browser: entered date, time, service and duration. On save, the start time is automatically advanced by the duration to chain the entries of the same day.
- Free text field for the report, compatible with the native voice dictation of the mobile keyboard.
- Administration page to configure the duration chips, the link validity, the notification email, the service filter and regenerate the HMAC secret (invalidates all existing QR codes).

## Prerequisites

- Dolibarr 18.0 or later.
- PHP 7.4 or later.
- `Projects` module enabled.
- At least one validated project containing a task, to be able to scan the QR code.
- A recent smartphone with a camera and a browser supporting `localStorage` and `fetch()` (all browsers since 2017).
