Print PDF template start and end date list

Hey;


Is it possible to insert in the PDF layout of the list these filter dates (start and end) that are marked in the image below? If so, how would I do it?


upload_2021-7-22_10-16-17.png

Thanks!
 
Hey @troester ! Thanks for your help!


is it possible to format these return dates?

I tried to do it that way:
"<?php echo $converted = date("d-m-Y", strotime($this->filters['table___element']->displayValue))?>"

but to no avail.

Thank you!
 
I already have this information, thank you and it already worked, but I need to format this return content, example, year and month (Y-m) only.
 
You cannot format multiple dates separated by comma at once, but only individually.
So, you could e.g. first explode() them into an array, then loop through it.
 
There can be several reasons: e.g. webpage layout might not be suitable for A4 format; you need just part of the information in the pdf and not all the html; end-user doesn't have pdf printer installed or is not able to use browser's "save as pdf" function etc., etc., etc.

Why not print the select pages to pdf within your pdf viewing software? Why does anyone need a web browser for a simple task like this?
 
Last edited:
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top