Update advanced_usage.md
This commit is contained in:
parent
3d02f54712
commit
ec39d651a4
@ -504,7 +504,7 @@ invoices/
|
|||||||
{{ custom_fields|get_cf_value("Date Field")|datetime('%Y') }}/
|
{{ 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('%m') }}/
|
||||||
{{ custom_fields|get_cf_value("Date Field")|datetime('%d') }}/
|
{{ 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`.
|
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`.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user