update_invoice

package
v0.0.0-...-4d895cd Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UoW

type UoW struct {
	// contains filtered or unexported fields
}

func NewUoW

func NewUoW(db *resources.Bolt, templates templatesRepository, invoices invoicesRepository) *UoW

func (*UoW) Commit

func (u *UoW) Commit(_ context.Context) error

func (*UoW) CreateInvoices

func (u *UoW) CreateInvoices(invoices []entities.Invoice, template entities.InvoiceTemplate)

func (*UoW) CreateTemplate

func (u *UoW) CreateTemplate(template entities.InvoiceTemplate)

func (*UoW) DeleteInvoice

func (u *UoW) DeleteInvoice(id uint64)

func (*UoW) DeleteTemplate

func (u *UoW) DeleteTemplate(id uint64)

func (*UoW) UpdateInvoice

func (u *UoW) UpdateInvoice(invoice entities.Invoice)

Jump to

Keyboard shortcuts

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