Fixed indentations making pipeline fail. Hopefully
Some checks failed
Avalonia Code Quality / Lint, Analyze & Build (push) Failing after 55s

This commit is contained in:
2025-06-05 04:57:46 +02:00
parent c82300da81
commit b2246726a5
2 changed files with 24 additions and 1 deletions

6
Models/Invoice.cs Normal file
View File

@ -0,0 +1,6 @@
namespace Invoice_App.Models;
public class Invoice
{
}

View File

@ -30,9 +30,26 @@ class Program
testCar.RegistrationDate = DateTime.Now; testCar.RegistrationDate = DateTime.Now;
testCar.Comments = "Good condition"; 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. // Avalonia configuration, don't remove; also used by visual designer.
public static AppBuilder BuildAvaloniaApp() public static AppBuilder BuildAvaloniaApp()
=> AppBuilder.Configure<App>() => AppBuilder.Configure<App>()