AccessType
This commit is contained in:
parent
4928535909
commit
8673cdd893
|
|
@ -221,12 +221,14 @@
|
|||
<fieldset>
|
||||
<div class="button-container1">
|
||||
@for (type of payrollTypes; track type) {
|
||||
<button kendoButton
|
||||
class="access-type-button"
|
||||
(click)="selectAccessType(type.id)">
|
||||
<img [src]="getImagePath(type.id)" alt="{{ type.description }}" class="access-type-image"/>
|
||||
<span class="button-text">{{ type.description }}</span>
|
||||
</button>
|
||||
@if (type.id != selectedPayrollTypeID) {
|
||||
<button kendoButton
|
||||
class="access-type-button"
|
||||
(click)="selectAccessType(type.id)">
|
||||
<img [src]="getImagePath(type.id)" alt="{{ type.description }}" class="access-type-image"/>
|
||||
<span class="button-text">{{ type.description }}</span>
|
||||
</button>
|
||||
}
|
||||
}
|
||||
</div>
|
||||
</fieldset>
|
||||
|
|
|
|||
|
|
@ -869,7 +869,7 @@ namespace HRM.UI.Controllers
|
|||
{
|
||||
return BadRequest("You do not have approved access to this Access Type.");
|
||||
}
|
||||
token = this.CreateToten(oempUser, optype.ID, optype.NextPayProcessDate);
|
||||
token = this.CreateTokenNew(oempUser, optype.ID, optype.NextPayProcessDate, null);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user