@using InventoryTraker.Web.Helpers @model InventoryTraker.Web.Models.CustomerViewModel @{ var customer = Html.Angular().ModelFor("vm.customer"); }
@customer.BindingFor(x => x.Name)
Rate this customer: @(Html.Angular().UIRating("vm.customer.rating") .NgClick("vm.setRating()") .Max(10))
Inactive Customer
E-mail Work: @customer.BindingFor(x => x.WorkEmail)
Home: @customer.BindingFor(x => x.HomeEmail)
Phone Office: @customer.BindingFor(x => x.WorkPhone)
Mobile: @customer.BindingFor(x => x.HomePhone)
Work Address @customer.BindingFor(x => x.WorkAddress) Home Address @customer.BindingFor(x => x.HomeAddress)

There are no opportunities for this customer.

@using (var opportunity = customer.Repeat(x => x.Opportunities, "opportunity")) {

@opportunity.BindingFor(x => x.Title)

@opportunity.BindingFor(x => x.Description)

}

Add a new opportunity

There are no risks for this customer.

@using (var risk = customer.Repeat(x => x.Risks, "risk")) {

@risk.BindingFor(x => x.Title)

@risk.BindingFor(x => x.Description)

}

Add a new risk