"use client"; import { useState } from "react"; import { Card, CardHeader, CardTitle, CardContent, CardDescription } from "@/components/ui/card"; import { Button } from "@/components/ui/button"; import { Input } from "@/components/ui/input"; import { Label } from "@/components/ui/label"; import { PieChart, Plus, Settings2, AlertTriangle, CheckCircle2, ArrowRight, Target, BarChart, Edit2 } from "lucide-react"; const initialBudgets = [ { department: 'Engineering (IT)', limit: 250000, spent: 185000, status: 'Healthy', color: 'bg-indigo-600' }, { department: 'Marketing', limit: 120000, spent: 115000, status: 'Warning', color: 'bg-rose-500' }, { department: 'Human Resources', limit: 80000, spent: 42000, status: 'Healthy', color: 'bg-emerald-500' }, { department: 'Customer Success', limit: 60000, spent: 58000, status: 'Critical', color: 'bg-amber-500' }, ]; export default function BudgetingPage() { const [budgets, setBudgets] = useState(initialBudgets); return (
Set and monitor expenditure limits across the organization.
FY 2024 • Q1 ACTIVE
Overall Utilization
78%
Total Limit
$510,000.00
Spent to Date
$400,000.00
Automated analysis of current spend
Marketing Budget at 96%
Marketing spend is significantly higher than projected. Approvals for non-essential spend restricted.
HR Savings Opportunity
Current HR spend is 45% below budget. Consider reallocating $15k to Engineering Q2.
Current Period