Padroniza copias e badges da interface

This commit is contained in:
Felipe Coutinho
2026-03-14 18:36:02 +00:00
parent 1e8e6e0d3d
commit 62b94e6b1d
45 changed files with 184 additions and 200 deletions

View File

@@ -207,7 +207,7 @@ export function BudgetDialog({
) : (
<form className="space-y-4" onSubmit={handleSubmit}>
<div className="space-y-2">
<Label htmlFor="budget-category">Category</Label>
<Label htmlFor="budget-category">Categoria</Label>
<Select
value={formState.categoryId}
onValueChange={(value) => updateField("categoryId", value)}

View File

@@ -1,6 +1,6 @@
"use client";
import { RiAddCircleLine, RiFileCopyLine, RiFundsLine } from "@remixicon/react";
import { RiAddCircleFill, RiFileCopyLine, RiFundsLine } from "@remixicon/react";
import { useState } from "react";
import { toast } from "sonner";
import {
@@ -115,7 +115,7 @@ export function BudgetsPage({
disabled={categories.length === 0}
className="w-full sm:w-auto"
>
<RiAddCircleLine className="size-4" />
<RiAddCircleFill className="size-4" />
Novo orçamento
</Button>
}

View File

@@ -1,11 +1,5 @@
import { and, asc, eq, inArray, isNull, or, sql, sum } from "drizzle-orm";
import {
type Budget,
budgets,
categories,
payers,
transactions,
} from "@/db/schema";
import { budgets, categories, payers, transactions } from "@/db/schema";
import { ACCOUNT_AUTO_INVOICE_NOTE_PREFIX } from "@/shared/lib/accounts/constants";
import { db } from "@/shared/lib/db";
import { PAYER_ROLE_ADMIN } from "@/shared/lib/payers/constants";