mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
28 lines
462 B
TypeScript
28 lines
462 B
TypeScript
import { Injectable } from '@angular/core';
|
|
|
|
@Injectable({
|
|
providedIn: 'root'
|
|
})
|
|
export class DeadlineService {
|
|
|
|
constructor() { }
|
|
|
|
|
|
priorityToDeadlineType(Priority): string {
|
|
if(Priority=='99999861') {
|
|
return 'Normal';
|
|
}
|
|
else if(Priority=='99999862') {
|
|
return 'Urgente';
|
|
}
|
|
else if(Priority=='99999863') {
|
|
return 'Muito Urgente';
|
|
}
|
|
else if(Priority=='99999864') {
|
|
return 'Urgentíssimo';
|
|
}
|
|
|
|
}
|
|
|
|
}
|