28 lines
1008 B
Plaintext
28 lines
1008 B
Plaintext
<div class="input-group input-group-sm">
|
|
@* <label class="input-group-text">Cliente</label> *@
|
|
<select class="form-select form-select-sm" @bind="@CustomerID" disabled="@selDisabled">
|
|
<option value="0">--- Sel. Cliente ---</option>
|
|
@if (CustomersList != null)
|
|
{
|
|
<AuthorizeView Roles="SuperAdmin, Admin">
|
|
<Authorized>
|
|
@foreach (var item in CustomersList)
|
|
{
|
|
<option value="@item.CustomerID">@item.Name [@item.CustomerID/@item.MainKey]</option>
|
|
}
|
|
</Authorized>
|
|
</AuthorizeView>
|
|
<AuthorizeView Roles="User">
|
|
<Authorized>
|
|
@foreach (var item in CustomersList)
|
|
{
|
|
<option value="@item.CustomerID">@item.Name [@item.CustomerID]</option>
|
|
}
|
|
</Authorized>
|
|
</AuthorizeView>
|
|
}
|
|
</select>
|
|
</div>
|
|
|
|
|