Fixed indentations making pipeline fail. Hopefully
Some checks failed
Avalonia Code Quality / Lint, Analyze & Build (push) Failing after 55s
Some checks failed
Avalonia Code Quality / Lint, Analyze & Build (push) Failing after 55s
This commit is contained in:
6
Models/Invoice.cs
Normal file
6
Models/Invoice.cs
Normal file
@ -0,0 +1,6 @@
|
||||
namespace Invoice_App.Models;
|
||||
|
||||
public class Invoice
|
||||
{
|
||||
|
||||
}
|
||||
19
Program.cs
19
Program.cs
@ -30,9 +30,26 @@ class Program
|
||||
testCar.RegistrationDate = DateTime.Now;
|
||||
testCar.Comments = "Good condition";
|
||||
|
||||
// No console output for now - just creating the object to test compilation
|
||||
// Test Company
|
||||
var testCompany = new Company();
|
||||
testCompany.CompanyName = "ABC Motors";
|
||||
testCompany.Address = "Kongens Nytorv 1";
|
||||
testCompany.ZipCode = "1050"; // Copenhagen K
|
||||
testCompany.City = "Copenhagen";
|
||||
testCompany.CVR = "12345678";
|
||||
testCompany.PhoneNumber = "33123456";
|
||||
|
||||
// Test Customer
|
||||
var testCustomer = new Customer();
|
||||
testCustomer.Name = "Lars Nielsen";
|
||||
testCustomer.Address = "Vesterbrogade 123";
|
||||
testCustomer.ZipCode = "1620";
|
||||
testCustomer.City = "Copenhagen V";
|
||||
testCustomer.PhoneNumber = "23456789";
|
||||
testCustomer.Email = "lars@example.com";
|
||||
}
|
||||
|
||||
|
||||
// Avalonia configuration, don't remove; also used by visual designer.
|
||||
public static AppBuilder BuildAvaloniaApp()
|
||||
=> AppBuilder.Configure<App>()
|
||||
|
||||
Reference in New Issue
Block a user