@using InventoryTraker.Web.Helpers @model InventoryTraker.Web.Models.CustomerViewModel @{ var customer = Html.Angular().ModelFor("vm.customer"); }
| Rate this customer: @(Html.Angular().UIRating("vm.customer.rating") .NgClick("vm.setRating()") .Max(10)) | |||
| Inactive Customer | |||
|
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.Description)
}There are no risks for this customer.
@using (var risk = customer.Repeat(x => x.Risks, "risk")) {@risk.BindingFor(x => x.Description)
}