Renamed Service Charges to Incentives including account fixture and permission

replaced my custom ValidationErro with FastAPI HTTPException
Fixed?:
 Attendance
 Employee Attendance
This commit is contained in:
tanshu
2020-05-12 20:52:07 +05:30
parent de4d248de7
commit 9c9f0dfdd6
33 changed files with 373 additions and 314 deletions

View File

@ -11,7 +11,7 @@ const incentiveRoutes: Routes = [
component: IncentiveComponent,
canActivate: [AuthGuard],
data: {
permission: 'Service Charge'
permission: 'Incentive'
},
resolve: {
voucher: IncentiveResolver
@ -23,7 +23,7 @@ const incentiveRoutes: Routes = [
component: IncentiveComponent,
canActivate: [AuthGuard],
data: {
permission: 'Service Charge'
permission: 'Incentive'
},
resolve: {
voucher: IncentiveResolver