CMS MADE SIMPLE FORGE

Availability

 

[#4504] {foreach from=$reservation.notes item='onenote'} shows more than notes.

avatar
Created By: Ronny Krijt (ronnyk)
Date Submitted: Fri Jan 08 13:31:51 -0500 2010

Assigned To:
Version: None
CMSMS Version: None
Severity: None
Resolution: None
State: Open
Summary:
{foreach from=$reservation.notes item='onenote'} shows more than notes.
Detailed Description:
WIth the following logic in the confirmation template, not only the notes, but
more is showing... WIthout this, the reservation shows, with this logic, the
reservation + confirmation (kind of doubling the logic)..

{foreach from=$reservation.notes item='onenote'}
  <div class="row" style="margin-bottom: 0.5em;">
<div style="width: 50%; float: left;">{$mod->Lang('subject')}:
{$onenote.subject}</div>
<div style="width: 49%; float: left;">{$mod->Lang('created')}:
{$onenote.create_date|cms_date_format}</div>
    <p>{$onenote.text}</p>
  </div>
{/foreach}


History