@campxdev/shared 2.0.4 → 2.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -217,7 +217,11 @@ export default function Table<T>({
|
|
|
217
217
|
sx={sx}
|
|
218
218
|
>
|
|
219
219
|
{col?.dataType && col?.dataType == 'currency' ? (
|
|
220
|
-
<>
|
|
220
|
+
<>
|
|
221
|
+
{convertToAmount(
|
|
222
|
+
row[col.dataIndex] ? row[col.dataIndex] : 0,
|
|
223
|
+
)}
|
|
224
|
+
</>
|
|
221
225
|
) : (
|
|
222
226
|
<>
|
|
223
227
|
{col?.render
|
|
@@ -245,7 +249,13 @@ export default function Table<T>({
|
|
|
245
249
|
>
|
|
246
250
|
{totalCols.includes(colIndex + 1) ? (
|
|
247
251
|
col?.dataType && col?.dataType == 'currency' ? (
|
|
248
|
-
<>
|
|
252
|
+
<>
|
|
253
|
+
{convertToAmount(
|
|
254
|
+
totalCount[colIndex]
|
|
255
|
+
? totalCount[colIndex]
|
|
256
|
+
: 0,
|
|
257
|
+
)}
|
|
258
|
+
</>
|
|
249
259
|
) : (
|
|
250
260
|
<>{totalCount[colIndex]}</>
|
|
251
261
|
)
|
|
@@ -86,6 +86,7 @@ export enum Permission {
|
|
|
86
86
|
COURSE_REGISTRATION_ADD = 'can_course_registration_add',
|
|
87
87
|
COURSE_REGISTRATION_EDIT = 'can_course_registration_edit',
|
|
88
88
|
COURSE_REGISTRATION_DELETE = 'can_course_registration_delete',
|
|
89
|
+
CAN_EXAM_RESULT_ISSUES_VIEW = 'can_exam_results_issues_view',
|
|
89
90
|
END_SEMESTER_EXAMINATIONS_ADD = 'can_end_semester_examinations_add',
|
|
90
91
|
END_SEMESTER_EXAMINATIONS_EDIT = 'can_end_semester_examinations_edit',
|
|
91
92
|
END_SEMESTER_EXAMINATIONS_NOTIFICATION = 'can_end_semester_examinations_notification',
|
|
@@ -1128,6 +1128,7 @@ export enum Permission {
|
|
|
1128
1128
|
CAN_MANAGE_EXAMS_PROFILE_PERMISSIONS_DELETE = 'can_manage_exams_profile_permissions_delete',
|
|
1129
1129
|
|
|
1130
1130
|
// End Semester Examination
|
|
1131
|
+
CAN_EXAM_RESULT_ISSUES_VIEW = 'can_exam_results_issues_view',
|
|
1131
1132
|
CAN_END_SEMESTER_EXAMINATIONS_VIEW = 'can_end_semester_examinations_view',
|
|
1132
1133
|
CAN_END_SEMESTER_EXAMINATIONS_ADD = 'can_end_semester_examinations_add',
|
|
1133
1134
|
CAN_END_SEMESTER_EXAMINATIONS_EDIT = 'can_end_semester_examinations_edit',
|