upd: task division

Deskripsi:
- tambah task division
- hapus task division yg telah dibatalkan
- akses user sesuai dengan role

No Issuese
This commit is contained in:
amel
2025-05-27 12:20:47 +08:00
parent bc74be122d
commit 42f6257d03
9 changed files with 672 additions and 64 deletions

View File

@@ -50,7 +50,6 @@ export default function DetailTaskDivision() {
handleLoad()
}, [update.progress, update.data])
return (
<SafeAreaView>
<Stack.Screen
@@ -58,7 +57,7 @@ export default function DetailTaskDivision() {
headerLeft: () => <ButtonBackHeader onPress={() => { router.back() }} />,
headerTitle: loading ? 'Loading...' : data?.title,
headerTitleAlign: 'center',
headerRight: () => <HeaderRightTaskDetail id={detail} />,
headerRight: () => <HeaderRightTaskDetail id={detail} division={id} status={data?.status}/>,
}}
/>
<ScrollView>