Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Extensions
CiviDiscount
Commits
e0f1baef
Commit
e0f1baef
authored
May 08, 2013
by
Kurund Jalmi
Browse files
Merge pull request #21 from cividesk/master
Correcting templates
parents
e01b837c
84d50908
Changes
2
Hide whitespace changes
Inline
Side-by-side
templates/CDM/Page/Discount/Report.tpl
View file @
e0f1baef
...
...
@@ -31,17 +31,17 @@
<th
class=
"label"
>
{
ts
}
Event
{/
ts
}
</th>
<th
class=
"label"
>
{
ts
}
Membership
{/
ts
}
</th>
<th
class=
"label"
>
{
ts
}
Date
{/
ts
}
</th>
<tr>
{
foreach
from
=
$rows
item
=
row
}
{
if
$row
}
<td><a
href=
'
{
crmURL
p
=
'civicrm/contact/view'
q
=
"cid=`$row.contact_id`&reset=1"
}
'
>
{
$row.display_name
}
</a>
(ID:
{
$row.contact_id
}
)
</td>
</tr>
{
foreach
from
=
$rows
item
=
row
}
{
if
$row
}
<tr>
<td><a
href=
'
{
crmURL
p
=
'civicrm/contact/view'
q
=
"cid=`$row.contact_id`&reset=1"
}
'
>
{
$row.display_name
}
</a>
(ID:
{
$row.contact_id
}
)
</td>
<td>
{
$row.event_title
}
</td>
<td>
{
$row.membership_title
}
</td>
<td>
{
$row.used_date
|
crmDate
}
</td>
{/
if
}
{/
foreach
}
</tr>
{/
if
}
{/
foreach
}
</tr>
</table>
</div>
templates/CDM/Page/Discount/Usage.tpl
View file @
e0f1baef
...
...
@@ -34,9 +34,10 @@
<th
class=
"label"
>
{
ts
}
Membership
{/
ts
}
</th>
<th
class=
"label"
>
{
ts
}
Date
{/
ts
}
</th>
<th
class=
"label"
>
{
ts
}
Code
{/
ts
}
</th>
<tr>
{
foreach
from
=
$rows
item
=
row
}
{
if
$row
}
</tr>
{
foreach
from
=
$rows
item
=
row
}
{
if
$row
}
<tr>
{
if
$hide_contact
===
NULL
}
{
assign
var
=
'urlParams'
value
=
"cid=`$row.contact_id`&reset=1"
}
<td>
...
...
@@ -47,8 +48,9 @@
<td>
{
$row.membership_title
}
</td>
<td>
{
$row.used_date
|
crmDate
}
</td>
<td>
{
$row.code
}
</td>
{/
if
}
{/
foreach
}
</tr>
{/
if
}
{/
foreach
}
</tr>
</table>
</div>
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment