From ec39d651a4ee0a394486bd5330358f2305c726d8 Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Fri, 4 Oct 2024 19:59:36 -0700 Subject: [PATCH] Update advanced_usage.md --- docs/advanced_usage.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/advanced_usage.md b/docs/advanced_usage.md index c7a7070f3..b19f73acf 100644 --- a/docs/advanced_usage.md +++ b/docs/advanced_usage.md @@ -504,7 +504,7 @@ invoices/ {{ custom_fields|get_cf_value("Date Field")|datetime('%Y') }}/ {{ custom_fields|get_cf_value("Date Field")|datetime('%m') }}/ {{ custom_fields|get_cf_value("Date Field")|datetime('%d') }}/ -Invoice_{{ custom_fields|get_cf_value:"Select Field" }}_{{ custom_fields|get_cf_value("Date Field")|replace("-", "") }}.pdf +Invoice_{{ custom_fields|get_cf_value("Select Field") }}_{{ custom_fields|get_cf_value("Date Field")|replace("-", "") }}.pdf ``` This will create a path like `invoices/2022/01/01/Invoice_OptionTwo_20220101.pdf` if the custom field "Date Field" is set to January 1, 2022 and "Select Field" is set to `OptionTwo`.