setup

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2026 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BranchForm

func BranchForm(data layout.AppLayoutData, branch *model.Branch, errMsg string) templ.Component

func Branches

func Branches(data layout.AppLayoutData, branches []model.Branch) templ.Component

func CompanyCreateForm

func CompanyCreateForm(data layout.AppLayoutData, suggestedCurrency string, errMsg string) templ.Component

CompanyCreateForm is the global, handle-less "create a company" page — used both for an owner's very first company and for adding another one later. No logo upload here: there's no company ID yet to scope it to.

func CompanySettingsForm

func CompanySettingsForm(data layout.AppLayoutData, company *model.Company, errMsg string) templ.Component

CompanySettingsForm edits an existing company, always resolved from the /@:handle URL (company is never nil here — see companyFromContext).

func SetupNav

func SetupNav(current, basePath string) templ.Component

func StationForm

func StationForm(data layout.AppLayoutData, station *model.POSStation, branches []model.Branch, errMsg string) templ.Component

func Stations

func Stations(data layout.AppLayoutData, stations []model.POSStation, branchNames map[uuid.UUID]string) templ.Component

Types

This section is empty.

Jump to

Keyboard shortcuts

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