mirror of
https://github.com/serty2005/rmser.git
synced 2026-02-04 19:02:33 -06:00
редактирование и удаление сопоставлений
список накладных с позициями
This commit is contained in:
@@ -42,6 +42,7 @@ type InvoiceItem struct {
|
||||
}
|
||||
|
||||
type Repository interface {
|
||||
GetByID(id uuid.UUID) (*Invoice, error)
|
||||
GetLastInvoiceDate(serverID uuid.UUID) (*time.Time, error)
|
||||
GetByPeriod(serverID uuid.UUID, from, to time.Time) ([]Invoice, error)
|
||||
SaveInvoices(invoices []Invoice) error
|
||||
|
||||
Reference in New Issue
Block a user