From b888a494c0bcce1ebadfd0ae733da0ef7c913233 Mon Sep 17 00:00:00 2001 From: Kevin Papst Date: Tue, 4 Feb 2025 21:43:52 +0100 Subject: [PATCH] explain further reasons for the error --- collections/_documentation/invoices.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/collections/_documentation/invoices.md b/collections/_documentation/invoices.md index 957565cd6..5587ed2a6 100644 --- a/collections/_documentation/invoices.md +++ b/collections/_documentation/invoices.md @@ -319,10 +319,11 @@ Find out more about PHPWord templates [here](https://phpword.readthedocs.io/en/l Spreadsheet templates are powered by [PhpSpreadsheet](https://github.com/PHPOffice/PhpSpreadsheet). -**Important:** within the first 100 rows you MUST-HAVE the template row for timesheet entries, which means there must be -a value starting with `${entry.` in one of the first 10 columns, otherwise no timesheet records will be rendered! +**Important:** within the first 100 rows of the **active spreadsheet** you MUST-HAVE the template row for timesheet entries, which means there must be +a value starting with `${entry.` in one of the first 10 columns, otherwise no timesheet records will be rendered. If you don't have that, you will see the error `Invalid invoice document, no template row found.`. +This error might also happen if you have multiple sheets in your spreadsheet, and save the file while the active sheet is one without the `${entry.` placeholder. _Check the default templates if that doesn't make sense to you ;-)_