chore: add button for deliverymen
This commit is contained in:
@@ -839,9 +839,14 @@ export default function DashboardScreen() {
|
|||||||
style={{ flex: 1, backgroundColor: colors.danger }}
|
style={{ flex: 1, backgroundColor: colors.danger }}
|
||||||
/>
|
/>
|
||||||
</View>
|
</View>
|
||||||
|
<Button
|
||||||
|
title="Client pas là"
|
||||||
|
onPress={() => handleClientAbsent(item.id)}
|
||||||
|
style={{ backgroundColor: colors.warning }}
|
||||||
|
/>
|
||||||
{showAbsent ? (
|
{showAbsent ? (
|
||||||
<Button
|
<Button
|
||||||
title="Client absent"
|
title="Client absent (5 min écoulées)"
|
||||||
onPress={() => handleClientAbsent(item.id)}
|
onPress={() => handleClientAbsent(item.id)}
|
||||||
style={{ backgroundColor: colors.danger }}
|
style={{ backgroundColor: colors.danger }}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user