You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2024-06-20 10:50:35

chengyuhsin
Member
Registered: 2024-06-19
Posts: 1

Alert Reservation available tags is not working

When Reservation object time expired, system send the email for me ,but the mail contents is wrong.

Email HTML Body

##FOREACHreservations##
預借類別與項目 : ##reservation.itemtype## - ##reservation.item##
##lang.reservation.expirationdate## : ##reservation.expirationdate##
##lang.reservation.itemurl## : ##reservation.itemurl##

##ENDFOREACHreservations##

email content

預借類別與項目 : 電腦 - test
結束日期 : 2024-06-19 15:55
被預借項目的URL : ##reservation.itemurl##

how can i solve ##reservation.itemurl## can't show the correct value?

Offline

#2 2024-07-23 19:01:09

KRP
Member
Registered: 2019-10-08
Posts: 34

Re: Alert Reservation available tags is not working

If you are using the Salleman plugin add-on might also be true for the default Reservations, my understanding is the FOREACH tags are not applicable as each reserved item on the same booking are handled individually. Meaning each item does have it's own reservation therefore there is no list of items to step through in the FOREACH loop.

https://github.com/salleman33/reservation/issues/17/

Offline

Board footer

Powered by FluxBB