mirror of
https://github.com/R0m1k3/Regisflow.git
synced 2026-10-19 21:28:39 +02:00
Enable the recording of sales with multiple products at the same time
Implements a new form component `NewSaleFormMultiProduct.tsx` with React Hook Form and Zod for multi-product sales and replaces the old form. Replit-Commit-Author: Agent Replit-Commit-Session-Id: c7151ec8-4e6b-4fcf-b628-65b094ac18fd
This commit is contained in:
1 parent
0821b70b7d
commit
2ad8acfb48
2 files changed
+685
-2
No files matched your search
@@ -5,7 +5,7 @@ import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@
|
||||
import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs";
|
||||
import { useAuth } from "@/hooks/useAuth";
|
||||
import { StoreProvider, useStoreContext } from "@/hooks/useStoreContext";
|
||||
import NewSaleForm from "@/components/NewSaleForm";
|
||||
import NewSaleFormMultiProduct from "@/components/NewSaleFormMultiProduct";
|
||||
import SalesHistory from "@/components/SalesHistory";
|
||||
import Administration from "@/components/Administration";
|
||||
import { Package, History, Settings, LogOut, User, Building2, Shield } from "lucide-react";
|
||||
@@ -146,7 +146,7 @@ function DashboardContent() {
|
||||
|
||||
<TabsContent value="new-sale" className="mt-8">
|
||||
<div className="slide-in-up">
|
||||
<NewSaleForm />
|
||||
<NewSaleFormMultiProduct />
|
||||
</div>
|
||||
</TabsContent>
|
||||
|
||||
|
||||
Reference in new issue
Block a user