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 ¶
- func BranchForm(data layout.AppLayoutData, branch *model.Branch, errMsg string) templ.Component
- func Branches(data layout.AppLayoutData, branches []model.Branch) templ.Component
- func CompanyCreateForm(data layout.AppLayoutData, suggestedCurrency string, errMsg string) templ.Component
- func CompanySettingsForm(data layout.AppLayoutData, company *model.Company, errMsg string) templ.Component
- func SetupNav(current, basePath string) templ.Component
- func StationForm(data layout.AppLayoutData, station *model.POSStation, branches []model.Branch, ...) templ.Component
- func Stations(data layout.AppLayoutData, stations []model.POSStation, ...) templ.Component
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BranchForm ¶
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 StationForm ¶
func StationForm(data layout.AppLayoutData, station *model.POSStation, branches []model.Branch, errMsg string) templ.Component
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.