Added customer list, coupon list and started working on purchase list
This commit is contained in:
1 parent
2fe5dbcb21
commit
f2af9dc566
223 files changed
+5027
-3017
No files matched your search
@@ -0,0 +1,14 @@
|
||||
import { IconPlus } from "@tabler/icons-react";
|
||||
import { Button } from "@/components/ui/button";
|
||||
import { useCouponsContext } from "../context/coupon-context";
|
||||
|
||||
export function CouponPrimaryButtons() {
|
||||
const { setOpen } = useCouponsContext();
|
||||
return (
|
||||
<div className="flex gap-2">
|
||||
<Button className="space-x-1" onClick={() => setOpen("add")}>
|
||||
<span>Add Coupon</span> <IconPlus size={18} />
|
||||
</Button>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user