Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
AppUms_Lecturer
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
tungnq
AppUms_Lecturer
Commits
ce49f291
Commit
ce49f291
authored
Aug 20, 2025
by
tungnq
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
TODO: Đã thêm chức năng check box
parent
5345fd17
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
4 deletions
+9
-4
index.js
src/screens/compensate/register/index.js
+0
-0
style.js
src/screens/compensate/register/style.js
+2
-2
view.js
src/screens/compensate/register/view.js
+7
-2
No files found.
src/screens/compensate/register/index.js
View file @
ce49f291
This diff is collapsed.
Click to expand it.
src/screens/compensate/register/style.js
View file @
ce49f291
...
@@ -110,8 +110,8 @@ container:{
...
@@ -110,8 +110,8 @@ container:{
},
},
dateText
:{
dateText
:{
fontSize
:
R
.
sizes
.
sm
,
fontSize
:
R
.
sizes
.
sm
,
fontWeight
:
'
5
00'
,
fontWeight
:
'
4
00'
,
fontFamily
:
R
.
fonts
.
font
Medium
,
fontFamily
:
R
.
fonts
.
font
Regular
,
color
:
R
.
colors
.
black
,
color
:
R
.
colors
.
black
,
},
},
percentText
:{
percentText
:{
...
...
src/screens/compensate/register/view.js
View file @
ce49f291
...
@@ -15,7 +15,7 @@ import TextMulti from '../../../components/Input/TextMulti';
...
@@ -15,7 +15,7 @@ import TextMulti from '../../../components/Input/TextMulti';
import
Button
from
'../../../components/Button'
;
import
Button
from
'../../../components/Button'
;
import
CheckBox
from
'../../../components/CheckBox'
;
import
CheckBox
from
'../../../components/CheckBox'
;
const
CompensateRegisterView
=
props
=>
{
const
CompensateRegisterView
=
props
=>
{
const
{
isShow
,
setShowSchedule
,
scheduleData
}
=
props
;
const
{
isShow
,
setShowSchedule
,
scheduleData
,
onCheckboxChange
}
=
props
;
const
getCheckColor
=
(
item
)
=>
{
const
getCheckColor
=
(
item
)
=>
{
console
.
log
(
item
?.
totalSession
);
console
.
log
(
item
?.
totalSession
);
...
@@ -67,8 +67,13 @@ const CompensateRegisterView = props => {
...
@@ -67,8 +67,13 @@ const CompensateRegisterView = props => {
period
.
available
&&
styles
.
availableCell
,
period
.
available
&&
styles
.
availableCell
,
]}
>
]}
>
<
CheckBox
<
CheckBox
size
=
{
20
}
checked
=
{
period
.
available
}
checked
=
{
period
.
available
}
value
=
{
period
.
available
}
onValueChange
=
{
value
=>
onCheckboxChange
(
index
,
periodIndex
,
value
)}
size
=
{
20
}
labelStyle
=
{
styles
.
label
}
checkedColor
=
{
R
.
colors
.
main
}
tickColor
=
{
R
.
colors
.
white
}
/
>
/
>
<
View
style
=
{{
flexDirection
:
'row'
}}
>
<
View
style
=
{{
flexDirection
:
'row'
}}
>
<
Text
<
Text
...
...
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