Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AdultMare = model.Adult{ Name: "Nom de la mare", Surname: "1er llinatge_mare", SecondSurname: "2on llinatge_mare", TaxID: "36361882D", Role: adult_role.Mother, }
View Source
var AdultPare = model.Adult{ Name: "Nom de la pare", Surname: "1er llinatge_pare", SecondSurname: "2on llinatge_pare", TaxID: "71032204Q", Role: adult_role.Father, }
View Source
var Child1850 = model.Child{ Id: 1850, Name: "Laura", Surname: "Llull", SecondSurname: "Bibiloni", BirthDate: Date, Group: group_type.EI_1, Active: true, }
View Source
var Child1851 = model.Child{ Id: 1851, Name: "Aina", Surname: "Llull", SecondSurname: "Bibiloni", TaxID: "60235657Z", BirthDate: Date, Group: group_type.EI_1, Active: true, }
View Source
var Customer148 = model.Customer{ Id: 148, Active: true, Children: []model.Child{ Child1850, Child1851, }, Adults: []model.Adult{ AdultMare, AdultPare, }, InvoiceHolder: InvoiceHolder148, Note: "Nota del client", Language: language.Catalan, }
View Source
var Customer149 = model.Customer{ Id: 149, Active: true, Children: []model.Child{ Child1850, Child1851, }, Adults: []model.Adult{ AdultMare, AdultPare, }, InvoiceHolder: InvoiceHolder149, Note: "Nota del client", Language: language.Catalan, }
View Source
var Date = time.Date(2019, 5, 25, 0, 0, 0, 0, time.UTC)
View Source
var InvoiceF100 = model.Invoice{ Id: "F-100", CustomerId: 148, Date: Date, YearMonth: "2019-05", ChildrenIds: []int{1800, 1801}, Lines: lines, PaymentType: payment_type.BankDirectDebit, Note: "Invoice note", Emailed: false, Printed: false, SentToBank: false, }
View Source
var InvoiceF101 = model.Invoice{ Id: "F-101", CustomerId: 148, Date: Date, YearMonth: "2019-05", ChildrenIds: []int{1801, 1802}, Lines: lines, PaymentType: payment_type.BankDirectDebit, Note: "Invoice note", Emailed: false, Printed: false, SentToBank: false, }
View Source
var InvoiceF102 = model.Invoice{ Id: "F-102", CustomerId: 149, Date: Date, YearMonth: "2019-05", ChildrenIds: []int{1800, 1801, 1802}, Lines: lines, PaymentType: payment_type.BankDirectDebit, Note: "Invoice note", Emailed: false, Printed: false, SentToBank: false, }
View Source
var InvoiceF103 = model.Invoice{ Id: "F-103", CustomerId: 149, Date: Date, YearMonth: "2019-05", ChildrenIds: []int{1800}, Lines: lines, PaymentType: payment_type.BankDirectDebit, Note: "Invoice note", Emailed: false, Printed: false, SentToBank: false, }
View Source
var InvoiceHolder148 = model.InvoiceHolder{ Name: "Nom de la mare 1er llinatge_mare 2on llinatge_mare", TaxID: "36361882D", Address: model.Address{ Street: "Address first line", ZipCode: "07007", City: "Palma", State: "Illes Balears", }, Email: "email@gmail.com", PaymentType: payment_type.BankDirectDebit, BankAccount: "ES2830668859978258529057", }
View Source
var InvoiceHolder149 = model.InvoiceHolder{ Name: "Nom empresa", TaxID: "37866397W", Address: model.Address{ Street: "Address first line", ZipCode: "07007", City: "Palma", State: "Illes Balears", }, Email: "email@gmail.com", PaymentType: payment_type.BankTransfer, BankAccount: "ES2830668859978258529057", IsBusiness: true, }
View Source
var ProductTST = model.Product{
Id: "TST",
Name: "TST product",
ShortName: "TstProduct",
Price: 10.9,
}
View Source
var ProductXXX = model.Product{
Id: "XXX",
Name: "XXX product",
ShortName: "XxxProduct",
Price: 9.1,
}
View Source
var ProductYYY = model.Product{
Id: "YYY",
Name: "YYY product",
ShortName: "YyyProduct",
Price: 5,
}
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.