Added the ability to specify the PlanName and PlanDescription of the Add-ons
in the account summary template: <table> <tbody> <ad:if test="#not(isnull(Plans[Space.PlanId]))#"> <ad:if test="#notequals(Addons.Count,0)#"> <tr> <td class="Label">Add-on</td> <td class="Label">Quantity</td> <td class="Label">Purchase Date</td> </tr> <ad:foreach collection="#Addons#" var="Addon" index="j"> <tr> <td>#Addons[j].PlanName#</td> <td>#Addons[j].Quantity#</td> <td>#Addons[j].PurchaseDate#</td> </tr> </ad:foreach> </ad:if> </ad:if> </tbody> </table>
This commit is contained in:
parent
3c3374d8ae
commit
0ba956b582
2 changed files with 30 additions and 0 deletions
|
@ -43,6 +43,8 @@ namespace WebsitePanel.EnterpriseServer
|
|||
int statusId;
|
||||
DateTime purchaseDate;
|
||||
string comments;
|
||||
string planName;
|
||||
string planDescription;
|
||||
|
||||
|
||||
public PackageAddonInfo()
|
||||
|
@ -90,5 +92,18 @@ namespace WebsitePanel.EnterpriseServer
|
|||
get { return this.statusId; }
|
||||
set { this.statusId = value; }
|
||||
}
|
||||
|
||||
public string PlanName
|
||||
{
|
||||
get { return planName; }
|
||||
set { planName = value; }
|
||||
}
|
||||
|
||||
public string PlanDescription
|
||||
{
|
||||
get { return planDescription; }
|
||||
set { planDescription = value; }
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue