upd: project

Deskripsi:
- update button save pada tambah edit project
- ui edit tugas dan tanggal project
- modal menu detail tugas dan tanggal
- modal menu detail file
- modal menu detail anggota project

No Issues
This commit is contained in:
amel
2025-03-13 14:56:24 +08:00
parent c9e5260644
commit 4139c95794
12 changed files with 387 additions and 129 deletions

View File

@@ -1,6 +1,5 @@
import AlertKonfirmasi from "@/components/alertKonfirmasi"
import ButtonBackHeader from "@/components/buttonBackHeader"
import { ButtonForm } from "@/components/buttonForm"
import ButtonSaveHeader from "@/components/buttonSaveHeader"
import { InputForm } from "@/components/inputForm"
import Styles from "@/constants/Styles"
import { router, Stack, useLocalSearchParams } from "expo-router"
@@ -15,12 +14,16 @@ export default function ProjectCancel() {
headerLeft: () => <ButtonBackHeader onPress={() => { router.back() }} />,
headerTitle: 'Pembatalan Kegiatan',
headerTitleAlign: 'center',
headerRight: () => <ButtonSaveHeader category="cancel" onPress={() => {
ToastAndroid.show('Berhasil mengubah data', ToastAndroid.SHORT)
router.push('/project/4324')
}} />
}}
/>
<ScrollView>
<View style={[Styles.p15, Styles.mb100]}>
<InputForm label="Alasan Pembatalan" type="default" placeholder="Alasan Pembatalan" required bg="white" />
<ButtonForm
{/* <ButtonForm
text="SIMPAN"
onPress={() => {
AlertKonfirmasi({
@@ -31,7 +34,7 @@ export default function ProjectCancel() {
router.push('/project/4324')
}
})
}} />
}} /> */}
</View>
</ScrollView>
</SafeAreaView>