Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
StoreMonitor
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ramesh Babu Puvvadi
StoreMonitor
Commits
fff8be6c
Commit
fff8be6c
authored
Oct 06, 2023
by
Ramesh Babu Puvvadi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added few changes
parent
9b8435fb
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
11 deletions
+9
-11
CheckList.dart
lib/Screens/CheckList.dart
+1
-2
EmployeeReport.dart
lib/Screens/EmployeeReport.dart
+5
-4
FootFall.dart
lib/Screens/FootFall.dart
+3
-4
Home.dart
lib/Screens/Home.dart
+0
-1
No files found.
lib/Screens/CheckList.dart
View file @
fff8be6c
...
...
@@ -482,8 +482,7 @@ class _CheckList extends State<CheckList> {
Navigator
.
pop
(
context
);
}
}
else
{
Constants
(
'CheckList'
,
'Enter Atleast one item'
)
.
showAlertDialog
(
context
,
false
);
Constants
(
'CheckList'
,
'Enter Atleast one item'
).
showAlertDialog
(
context
,
false
);
}
}
},
...
...
lib/Screens/EmployeeReport.dart
View file @
fff8be6c
...
...
@@ -8,8 +8,8 @@ import '../Services/RemoteData.dart';
import
'Constants.dart'
;
class
EmployeeReport
extends
StatefulWidget
{
String
message
;
EmployeeReport
({
super
.
key
,
required
this
.
message
});
final
String
message
;
const
EmployeeReport
({
super
.
key
,
required
this
.
message
});
@override
State
<
EmployeeReport
>
createState
()
=>
_EmployeeReport
();
...
...
@@ -27,6 +27,7 @@ class _EmployeeReport extends State<EmployeeReport> {
int
registered
=
0
;
int
unregistered
=
0
;
int
total
=
0
;
@override
void
initState
()
{
super
.
initState
();
...
...
@@ -373,6 +374,7 @@ class _EmployeeReport extends State<EmployeeReport> {
),
);
}
void
showProgressDialog
(
BuildContext
context
)
{
// Capture the context in a local variable
BuildContext
dialogContext
=
context
;
...
...
@@ -427,8 +429,7 @@ class _EmployeeReport extends State<EmployeeReport> {
});
}
else
{
Navigator
.
of
(
context
).
pop
();
Constants
(
'Employee Report'
,
'Please check your internet connection'
)
.
showAlertDialog
(
context
,
false
);
Constants
(
'Employee Report'
,
'Please check your internet connection'
).
showAlertDialog
(
context
,
false
);
}
}
}
lib/Screens/FootFall.dart
View file @
fff8be6c
...
...
@@ -14,8 +14,6 @@ class FootFall extends StatefulWidget {
const
FootFall
(
{
super
.
key
,
required
this
.
message
,
required
this
.
selecteddate
});
//const Home({super.key});
@override
_FootFall
createState
()
=>
_FootFall
();
}
...
...
@@ -35,7 +33,7 @@ class _FootFall extends State<FootFall> {
super
.
initState
();
isMeeters
=
widget
.
message
;
loadData
();
//
_selectedDate
= DateTime.now();
//
_selectedDate
= DateTime.now();
String
dateString
=
widget
.
selecteddate
;
DateFormat
format
=
DateFormat
(
"yyyy/MM/dd"
);
_selectedDate
=
format
.
parse
(
dateString
);
...
...
@@ -632,7 +630,8 @@ class _FootFall extends State<FootFall> {
const
Text
(
'Gender Breakup'
,
textAlign:
TextAlign
.
left
,
style:
Constants
.
headerfontStyle
)
].
map
((
e
)
=>
Padding
(
]
.
map
((
e
)
=>
Padding
(
padding:
const
EdgeInsets
.
only
(
left:
10
),
child:
e
))
...
...
lib/Screens/Home.dart
View file @
fff8be6c
...
...
@@ -4,7 +4,6 @@ import 'package:flutter/foundation.dart';
import
'package:flutter/material.dart'
;
import
'package:shared_preferences/shared_preferences.dart'
;
import
'package:storemonitor/Models/chartdata.dart'
;
import
'package:storemonitor/Screens/CameraGridItems.dart'
;
import
'package:storemonitor/Screens/EmployeeStatus.dart'
;
import
'package:storemonitor/Screens/IssueVideos.dart'
;
import
'package:storemonitor/Screens/NavBar.dart'
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment