|  |  |  | @ -64,47 +64,56 @@ class _LeaveBalanceState extends State<LeaveBalance> { | 
		
	
		
			
				|  |  |  |  |         context, | 
		
	
		
			
				|  |  |  |  |         title: LocaleKeys.leaveBalance.tr(), | 
		
	
		
			
				|  |  |  |  |       ), | 
		
	
		
			
				|  |  |  |  |       body: absenceTransList == null | 
		
	
		
			
				|  |  |  |  |           ? const SizedBox() | 
		
	
		
			
				|  |  |  |  |           : (absenceTransList!.isEmpty | 
		
	
		
			
				|  |  |  |  |               ? Utils.getNoDataWidget(context).paddingOnly(top: 50) | 
		
	
		
			
				|  |  |  |  |               : ListView( | 
		
	
		
			
				|  |  |  |  |                   physics: const BouncingScrollPhysics(), | 
		
	
		
			
				|  |  |  |  |                   padding: const EdgeInsets.all(21), | 
		
	
		
			
				|  |  |  |  |                   children: [ | 
		
	
		
			
				|  |  |  |  |                     BalancesDashboardWidget(LocaleKeys.currentLeaveBalance.tr(), true, selectedEmp: employeeId, showLoading: false), | 
		
	
		
			
				|  |  |  |  |                     12.height, | 
		
	
		
			
				|  |  |  |  |                     ListView.separated( | 
		
	
		
			
				|  |  |  |  |                         physics: const NeverScrollableScrollPhysics(), | 
		
	
		
			
				|  |  |  |  |                         shrinkWrap: true, | 
		
	
		
			
				|  |  |  |  |                         padding: EdgeInsets.zero, | 
		
	
		
			
				|  |  |  |  |                         itemBuilder: (cxt, int index) => Column( | 
		
	
		
			
				|  |  |  |  |                               crossAxisAlignment: CrossAxisAlignment.start, | 
		
	
		
			
				|  |  |  |  |                               mainAxisSize: MainAxisSize.min, | 
		
	
		
			
				|  |  |  |  |                               children: [ | 
		
	
		
			
				|  |  |  |  |                                 ItemDetailGrid( | 
		
	
		
			
				|  |  |  |  |                                   ItemDetailViewCol(LocaleKeys.startDateT.tr(), absenceTransList![index].sTARTDATE ?? ""), | 
		
	
		
			
				|  |  |  |  |                                   ItemDetailViewCol(LocaleKeys.endDateT.tr(), absenceTransList![index].eNDDATE ?? ""), | 
		
	
		
			
				|  |  |  |  |                                 ), | 
		
	
		
			
				|  |  |  |  |                                 ItemDetailGrid( | 
		
	
		
			
				|  |  |  |  |                                   ItemDetailViewCol(LocaleKeys.absenceType.tr(), absenceTransList![index].aBSENCETYPE ?? ""), | 
		
	
		
			
				|  |  |  |  |                                   ItemDetailViewCol(LocaleKeys.absenceCategory.tr(), absenceTransList![index].aBSENCECATEGORY ?? ""), | 
		
	
		
			
				|  |  |  |  |                                 ), | 
		
	
		
			
				|  |  |  |  |                                 ItemDetailGrid( | 
		
	
		
			
				|  |  |  |  |                                   ItemDetailViewCol(LocaleKeys.days.tr(), absenceTransList![index].aBSENCEDAYS?.toString() ?? ""), | 
		
	
		
			
				|  |  |  |  |                                   ItemDetailViewCol(LocaleKeys.hours.tr(), absenceTransList![index].aBSENCEHOURS?.toString() ?? ""), | 
		
	
		
			
				|  |  |  |  |                                 ), | 
		
	
		
			
				|  |  |  |  |                                 ItemDetailGrid( | 
		
	
		
			
				|  |  |  |  |                                   ItemDetailViewCol(LocaleKeys.approvalStatus.tr(), absenceTransList![index].aPPROVALSTATUS ?? ""), | 
		
	
		
			
				|  |  |  |  |                                   ItemDetailViewCol(LocaleKeys.absenceStatus.tr(), absenceTransList![index].aBSENCESTATUS ?? ""), | 
		
	
		
			
				|  |  |  |  |                                   isItLast: true, | 
		
	
		
			
				|  |  |  |  |                                 ), | 
		
	
		
			
				|  |  |  |  |                               ], | 
		
	
		
			
				|  |  |  |  |                             ).objectContainerView(), | 
		
	
		
			
				|  |  |  |  |                         separatorBuilder: (cxt, index) => 12.height, | 
		
	
		
			
				|  |  |  |  |                         itemCount: absenceTransList!.length), | 
		
	
		
			
				|  |  |  |  |                   ], | 
		
	
		
			
				|  |  |  |  |                 )), | 
		
	
		
			
				|  |  |  |  |       body: Column( | 
		
	
		
			
				|  |  |  |  |         children: [ | 
		
	
		
			
				|  |  |  |  |           Padding( | 
		
	
		
			
				|  |  |  |  |             padding: const EdgeInsets.all(21.0), | 
		
	
		
			
				|  |  |  |  |             child: BalancesDashboardWidget(LocaleKeys.currentLeaveBalance.tr(), true, selectedEmp: employeeId, showLoading: false), | 
		
	
		
			
				|  |  |  |  |           ), | 
		
	
		
			
				|  |  |  |  |           12.height, | 
		
	
		
			
				|  |  |  |  |           absenceTransList == null | 
		
	
		
			
				|  |  |  |  |               ? const SizedBox() | 
		
	
		
			
				|  |  |  |  |               : (absenceTransList!.isEmpty | 
		
	
		
			
				|  |  |  |  |                   ? Utils.getNoDataWidget(context).paddingOnly(top: 50) | 
		
	
		
			
				|  |  |  |  |                   : ListView( | 
		
	
		
			
				|  |  |  |  |                       physics: const BouncingScrollPhysics(), | 
		
	
		
			
				|  |  |  |  |                       padding: const EdgeInsets.all(21), | 
		
	
		
			
				|  |  |  |  |                       children: [ | 
		
	
		
			
				|  |  |  |  |                         // BalancesDashboardWidget(LocaleKeys.currentLeaveBalance.tr(), true, selectedEmp: employeeId, showLoading: false), | 
		
	
		
			
				|  |  |  |  |                         // 12.height, | 
		
	
		
			
				|  |  |  |  |                         ListView.separated( | 
		
	
		
			
				|  |  |  |  |                             physics: const NeverScrollableScrollPhysics(), | 
		
	
		
			
				|  |  |  |  |                             shrinkWrap: true, | 
		
	
		
			
				|  |  |  |  |                             padding: EdgeInsets.zero, | 
		
	
		
			
				|  |  |  |  |                             itemBuilder: (cxt, int index) => Column( | 
		
	
		
			
				|  |  |  |  |                                   crossAxisAlignment: CrossAxisAlignment.start, | 
		
	
		
			
				|  |  |  |  |                                   mainAxisSize: MainAxisSize.min, | 
		
	
		
			
				|  |  |  |  |                                   children: [ | 
		
	
		
			
				|  |  |  |  |                                     ItemDetailGrid( | 
		
	
		
			
				|  |  |  |  |                                       ItemDetailViewCol(LocaleKeys.startDateT.tr(), absenceTransList![index].sTARTDATE ?? ""), | 
		
	
		
			
				|  |  |  |  |                                       ItemDetailViewCol(LocaleKeys.endDateT.tr(), absenceTransList![index].eNDDATE ?? ""), | 
		
	
		
			
				|  |  |  |  |                                     ), | 
		
	
		
			
				|  |  |  |  |                                     ItemDetailGrid( | 
		
	
		
			
				|  |  |  |  |                                       ItemDetailViewCol(LocaleKeys.absenceType.tr(), absenceTransList![index].aBSENCETYPE ?? ""), | 
		
	
		
			
				|  |  |  |  |                                       ItemDetailViewCol(LocaleKeys.absenceCategory.tr(), absenceTransList![index].aBSENCECATEGORY ?? ""), | 
		
	
		
			
				|  |  |  |  |                                     ), | 
		
	
		
			
				|  |  |  |  |                                     ItemDetailGrid( | 
		
	
		
			
				|  |  |  |  |                                       ItemDetailViewCol(LocaleKeys.days.tr(), absenceTransList![index].aBSENCEDAYS?.toString() ?? ""), | 
		
	
		
			
				|  |  |  |  |                                       ItemDetailViewCol(LocaleKeys.hours.tr(), absenceTransList![index].aBSENCEHOURS?.toString() ?? ""), | 
		
	
		
			
				|  |  |  |  |                                     ), | 
		
	
		
			
				|  |  |  |  |                                     ItemDetailGrid( | 
		
	
		
			
				|  |  |  |  |                                       ItemDetailViewCol(LocaleKeys.approvalStatus.tr(), absenceTransList![index].aPPROVALSTATUS ?? ""), | 
		
	
		
			
				|  |  |  |  |                                       ItemDetailViewCol(LocaleKeys.absenceStatus.tr(), absenceTransList![index].aBSENCESTATUS ?? ""), | 
		
	
		
			
				|  |  |  |  |                                       isItLast: true, | 
		
	
		
			
				|  |  |  |  |                                     ), | 
		
	
		
			
				|  |  |  |  |                                   ], | 
		
	
		
			
				|  |  |  |  |                                 ).objectContainerView(), | 
		
	
		
			
				|  |  |  |  |                             separatorBuilder: (cxt, index) => 12.height, | 
		
	
		
			
				|  |  |  |  |                             itemCount: absenceTransList!.length), | 
		
	
		
			
				|  |  |  |  |                       ], | 
		
	
		
			
				|  |  |  |  |                     )), | 
		
	
		
			
				|  |  |  |  |         ], | 
		
	
		
			
				|  |  |  |  |       ), | 
		
	
		
			
				|  |  |  |  |       floatingActionButton: Container( | 
		
	
		
			
				|  |  |  |  |         height: 54, | 
		
	
		
			
				|  |  |  |  |         width: 54, | 
		
	
	
		
			
				
					|  |  |  | 
 |