chore: add new features
This commit is contained in:
@@ -212,7 +212,7 @@ export default function OrdersScreen() {
|
||||
{new Date(item.created_at).toLocaleString("fr-FR")}
|
||||
</Text>
|
||||
<View style={styles.actions}>
|
||||
{item.status === "pending" && (
|
||||
{!["approved", "cancelled"].includes(item.status) && (
|
||||
<Button
|
||||
title="Assigner"
|
||||
onPress={() => openAssignModal(item.id)}
|
||||
|
||||
Reference in New Issue
Block a user