expenses

package
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 1, 2024 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Overview

templ: version: v0.2.793

templ: version: v0.2.793

templ: version: v0.2.793

templ: version: v0.2.793

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AccountSelect

func AccountSelect(props *AccountSelectProps) templ.Component

func CategorySelect

func CategorySelect(props *CategorySelectProps) templ.Component

func CreateForm

func CreateForm(props *CreatePageProps) templ.Component

func Edit

func Edit(props *EditPageProps) templ.Component

func EditForm

func EditForm(props *EditPageProps) templ.Component

func ExpensesContent

func ExpensesContent(props *IndexPageProps) templ.Component

func ExpensesTable

func ExpensesTable(props *IndexPageProps) templ.Component

func Index

func Index(props *IndexPageProps) templ.Component

func New

func New(props *CreatePageProps) templ.Component

Types

type AccountSelectProps

type AccountSelectProps struct {
	*types.PageContext
	Value    string
	Accounts []*viewmodels.MoneyAccount
	Attrs    templ.Attributes
}

type CategorySelectProps

type CategorySelectProps struct {
	*types.PageContext
	Value      string
	Categories []*viewmodels.ExpenseCategory
	Attrs      templ.Attributes
}

type CreatePageProps

type CreatePageProps struct {
	*types.PageContext
	Accounts   []*viewmodels.MoneyAccount
	Categories []*viewmodels.ExpenseCategory
	Expense    *viewmodels.Expense
	Errors     map[string]string
}

type EditPageProps

type EditPageProps struct {
	*types.PageContext
	Expense    *viewmodels.Expense
	Accounts   []*viewmodels.MoneyAccount
	Categories []*viewmodels.ExpenseCategory
	Errors     map[string]string
}

type IndexPageProps

type IndexPageProps struct {
	*types.PageContext
	Expenses        []*viewmodels.Expense
	PaginationState *pagination.State
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL