diff --git a/client/src/pages/mobile/CustomerOrdersPage.tsx b/client/src/pages/mobile/CustomerOrdersPage.tsx index 7b77be5..6d480e5 100644 --- a/client/src/pages/mobile/CustomerOrdersPage.tsx +++ b/client/src/pages/mobile/CustomerOrdersPage.tsx @@ -58,6 +58,7 @@ import { SelectValue, } from "@/components/ui/select"; import { Textarea } from "@/components/ui/textarea"; +import { Checkbox } from "@/components/ui/checkbox"; // Schema for form validation const customerOrderFormSchema = z.object({ @@ -177,8 +178,8 @@ export default function MobileCustomerOrdersPage() { productDesignation: data.productName, status: "En attente de Commande", groupId, - isPromotionalPrice: false, - customerNotified: false + isPromotionalPrice: data.isPromotionalPrice, + customerNotified: data.customerNotified }; createMutation.mutate(submitData); @@ -422,6 +423,46 @@ export default function MobileCustomerOrdersPage() { /> + ( + + + + +
+ + Prix promotionnel / Pub + +
+
+ )} + /> + + ( + + + + +
+ + Client déjà notifié + +
+
+ )} + /> + + ( + + Notes internes + +