feat: categoria is_tax exclui impostos do denominador do savings_pct
savings_pct = (receita - despesas) / (receita - impostos). Toggle IMPOSTO no CRUD de categorias; badge dourado na lista. Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
This commit is contained in:
@@ -7,6 +7,7 @@ type Category struct {
|
||||
Name string `json:"name"`
|
||||
Color string `json:"color"`
|
||||
IsDefault bool `json:"is_default"`
|
||||
IsTax bool `json:"is_tax"`
|
||||
CreatedAt time.Time `json:"created_at"`
|
||||
UpdatedAt time.Time `json:"updated_at"`
|
||||
}
|
||||
@@ -14,4 +15,5 @@ type Category struct {
|
||||
type CategoryInput struct {
|
||||
Name string `json:"name"`
|
||||
Color string `json:"color"`
|
||||
IsTax bool `json:"is_tax"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user