38 lines
944 B
Plaintext
38 lines
944 B
Plaintext
@model IList<EnVisage.Models.ClientModel>
|
|
<script type="text/javascript">
|
|
|
|
function SelectAll(obj)
|
|
{
|
|
|
|
$.each($("input[type='checkbox']"), function(i, o)
|
|
{
|
|
if(o.id.substr(0, 16) == 'expCatCheckedId_')
|
|
{
|
|
o.checked = obj.checked;
|
|
}
|
|
}
|
|
);
|
|
|
|
}
|
|
</script>
|
|
|
|
<table class="table table-striped table-bordered dataTable" id="uom">
|
|
<thead>
|
|
<tr>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@if (Model != null)
|
|
{
|
|
foreach (var client in Model)
|
|
{
|
|
<tr>
|
|
<td style="width:30px;text-align: right;">
|
|
<input type="checkbox" value="@client.Id" name="ClientId" id="clientId_@client.Id"/>
|
|
</td>
|
|
<td>@client.Name</td>
|
|
</tr>
|
|
}
|
|
}
|
|
</tbody>
|
|
</table> |