Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
AmritaOD
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Android 2017
AmritaOD
Commits
85809121
Commit
85809121
authored
8 years ago
by
Saran Kumar
Browse files
Options
Downloads
Patches
Plain Diff
Saran
parent
2c337721
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
app/src/main/java/com/peruse/saran/amritaod/actionareas/applyodActivity.java
+11
-11
11 additions, 11 deletions
...om/peruse/saran/amritaod/actionareas/applyodActivity.java
with
11 additions
and
11 deletions
app/src/main/java/com/peruse/saran/amritaod/actionareas/applyodActivity.java
+
11
−
11
View file @
85809121
...
@@ -59,9 +59,9 @@ public class applyodActivity extends AppCompatActivity implements AdapterView.On
...
@@ -59,9 +59,9 @@ public class applyodActivity extends AppCompatActivity implements AdapterView.On
recievedBranch
,
recievedBranch
,
currentdate
,
currentdate
,
currentdatesend
,
currentdatesend
,
startperiod
=
null
,
startperiod
=
""
,
endperiod
=
null
,
endperiod
=
""
,
reason
=
null
;
reason
=
""
;
private
int
PICK_IMAGE_REQUEST
=
1
,
private
int
PICK_IMAGE_REQUEST
=
1
,
CAMERA_REQUEST
=
2
,
CAMERA_REQUEST
=
2
,
startyear
=
calendar
.
get
(
Calendar
.
YEAR
),
startyear
=
calendar
.
get
(
Calendar
.
YEAR
),
...
@@ -178,25 +178,25 @@ public class applyodActivity extends AppCompatActivity implements AdapterView.On
...
@@ -178,25 +178,25 @@ public class applyodActivity extends AppCompatActivity implements AdapterView.On
reason
=
odapplyreason
.
getText
().
toString
();
reason
=
odapplyreason
.
getText
().
toString
();
startperiod
=
odapplystartperiod
.
getText
().
toString
();
startperiod
=
odapplystartperiod
.
getText
().
toString
();
endperiod
=
odapplyendperiod
.
getText
().
toString
();
endperiod
=
odapplyendperiod
.
getText
().
toString
();
if
(
setleavetype
.
equals
(
"-Select Leave Type-"
)){
if
(
sendstartdate
==
null
){
Toast
.
makeText
(
this
,
"Please Select the Leave Type"
,
Toast
.
LENGTH_SHORT
).
show
();
}
else
if
(
sendstartdate
==
null
){
Toast
.
makeText
(
this
,
"Please Select the Start Date"
,
Toast
.
LENGTH_SHORT
).
show
();
Toast
.
makeText
(
this
,
"Please Select the Start Date"
,
Toast
.
LENGTH_SHORT
).
show
();
}
}
else
if
(
sendenddate
==
null
){
else
if
(
sendenddate
==
null
){
Toast
.
makeText
(
this
,
"Please Select the End Date"
,
Toast
.
LENGTH_SHORT
).
show
();
Toast
.
makeText
(
this
,
"Please Select the End Date"
,
Toast
.
LENGTH_SHORT
).
show
();
}
}
else
if
(
startperiod
==
null
){
else
if
(
startperiod
.
equals
(
""
)
){
Toast
.
makeText
(
this
,
"Please Select the Start Period"
,
Toast
.
LENGTH_SHORT
).
show
();
Toast
.
makeText
(
this
,
"Please Select the Start Period"
,
Toast
.
LENGTH_SHORT
).
show
();
}
}
else
if
(
endperiod
==
null
){
else
if
(
endperiod
.
equals
(
""
)
){
Toast
.
makeText
(
this
,
"Please Select the End Period"
,
Toast
.
LENGTH_SHORT
).
show
();
Toast
.
makeText
(
this
,
"Please Select the End Period"
,
Toast
.
LENGTH_SHORT
).
show
();
}
}
else
if
(
reason
==
null
){
else
if
(
reason
.
equals
(
""
)
){
Toast
.
makeText
(
this
,
"Please give a reason"
,
Toast
.
LENGTH_SHORT
).
show
();
Toast
.
makeText
(
this
,
"Please give a reason"
,
Toast
.
LENGTH_SHORT
).
show
();
}
}
if
(
bitmap
==
null
){
else
if
(
setleavetype
.
equals
(
"-Select Leave Type-"
)){
Toast
.
makeText
(
this
,
"Please Select the Leave Type"
,
Toast
.
LENGTH_SHORT
).
show
();
}
else
if
(
bitmap
==
null
){
Toast
.
makeText
(
this
,
"Please Select an Image"
,
Toast
.
LENGTH_SHORT
).
show
();
Toast
.
makeText
(
this
,
"Please Select an Image"
,
Toast
.
LENGTH_SHORT
).
show
();
}
}
else
{
else
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment