Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions QuickBooksDesktop.slnx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<Project Path="src/Infrastructure/QBD.Infrastructure/QBD.Infrastructure.csproj" />
</Folder>
<Folder Name="/src/Presentation/">
<Project Path="src/Presentation/QBD.API/QBD.API.csproj" />
<Project Path="src/Presentation/QBD.WPF/QBD.WPF.csproj" />
</Folder>
<Folder Name="/src/Presentation/Modules/">
Expand Down
3 changes: 3 additions & 0 deletions src/Core/QBD.Application/DTOs/RegisterEntryDto.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) 2026, Ravindu Gajanayaka
// Licensed under GPLv3. See LICENSE

using QBD.Domain.Enums;

namespace QBD.Application.ViewModels;
Expand Down
3 changes: 3 additions & 0 deletions src/Core/QBD.Application/DTOs/ReportColumnDto.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) 2026, Ravindu Gajanayaka
// Licensed under GPLv3. See LICENSE

namespace QBD.Application.ViewModels;

public class ReportColumnDto
Expand Down
3 changes: 3 additions & 0 deletions src/Core/QBD.Application/DTOs/ReportRowDto.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) 2026, Ravindu Gajanayaka
// Licensed under GPLv3. See LICENSE

namespace QBD.Application.ViewModels;

public class ReportRowDto
Expand Down
3 changes: 3 additions & 0 deletions src/Core/QBD.Application/DTOs/TransactionSummaryDto.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) 2026, Ravindu Gajanayaka
// Licensed under GPLv3. See LICENSE

using QBD.Domain.Enums;

namespace QBD.Application.ViewModels;
Expand Down
3 changes: 3 additions & 0 deletions src/Core/QBD.Application/Interfaces/IAuditService.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) 2026, Ravindu Gajanayaka
// Licensed under GPLv3. See LICENSE

namespace QBD.Application.Interfaces;

public interface IAuditService
Expand Down
10 changes: 10 additions & 0 deletions src/Core/QBD.Application/Interfaces/IFileDialogService.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Copyright (c) 2026, Ravindu Gajanayaka
// Licensed under GPLv3. See LICENSE

namespace QBD.Application.Interfaces
{
public interface IFileDialogService
{
string? ShowSaveFileDialog(string fileName, string defaultExt, string filter);
}
}
3 changes: 3 additions & 0 deletions src/Core/QBD.Application/Interfaces/INavigationService.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) 2026, Ravindu Gajanayaka
// Licensed under GPLv3. See LICENSE

namespace QBD.Application.Interfaces;

public interface INavigationService
Expand Down
3 changes: 3 additions & 0 deletions src/Core/QBD.Application/Interfaces/INumberSequenceService.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) 2026, Ravindu Gajanayaka
// Licensed under GPLv3. See LICENSE

namespace QBD.Application.Interfaces;

public interface INumberSequenceService
Expand Down
15 changes: 15 additions & 0 deletions src/Core/QBD.Application/Interfaces/IPdfExportService.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// Copyright (c) 2026, Ravindu Gajanayaka
// Licensed under GPLv3. See LICENSE

using System.Threading.Tasks;
using QBD.Domain.Entities.Customers;

namespace QBD.Application.Interfaces
{
public interface IPdfExportService
{
Task ExportInvoiceToPdfAsync(Invoice invoice, string filePath);

Task ExportReportToPdfAsync(string reportTitle, object reportData, string filePath);
}
}
3 changes: 3 additions & 0 deletions src/Core/QBD.Application/Interfaces/IRepository.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) 2026, Ravindu Gajanayaka
// Licensed under GPLv3. See LICENSE

using System.Linq.Expressions;
using QBD.Domain.Common;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) 2026, Ravindu Gajanayaka
// Licensed under GPLv3. See LICENSE

using QBD.Domain.Enums;

namespace QBD.Application.Interfaces;
Expand Down
3 changes: 3 additions & 0 deletions src/Core/QBD.Application/Interfaces/IUnitOfWork.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) 2026, Ravindu Gajanayaka
// Licensed under GPLv3. See LICENSE

namespace QBD.Application.Interfaces;

public interface IUnitOfWork : IDisposable
Expand Down
3 changes: 3 additions & 0 deletions src/Core/QBD.Application/ViewModels/CenterViewModelBase.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) 2026, Ravindu Gajanayaka
// Licensed under GPLv3. See LICENSE

using System.Collections.ObjectModel;
using CommunityToolkit.Mvvm.ComponentModel;
using CommunityToolkit.Mvvm.Input;
Expand Down
3 changes: 3 additions & 0 deletions src/Core/QBD.Application/ViewModels/HomePageViewModel.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) 2026, Ravindu Gajanayaka
// Licensed under GPLv3. See LICENSE

using CommunityToolkit.Mvvm.Input;
using QBD.Application.Interfaces;

Expand Down
3 changes: 3 additions & 0 deletions src/Core/QBD.Application/ViewModels/ListViewModelBase.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) 2026, Ravindu Gajanayaka
// Licensed under GPLv3. See LICENSE

using System.Collections.ObjectModel;
using CommunityToolkit.Mvvm.ComponentModel;
using CommunityToolkit.Mvvm.Input;
Expand Down
3 changes: 3 additions & 0 deletions src/Core/QBD.Application/ViewModels/RegisterViewModelBase.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) 2026, Ravindu Gajanayaka
// Licensed under GPLv3. See LICENSE

using System.Collections.ObjectModel;
using CommunityToolkit.Mvvm.ComponentModel;
using CommunityToolkit.Mvvm.Input;
Expand Down
3 changes: 3 additions & 0 deletions src/Core/QBD.Application/ViewModels/ReportViewModelBase.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) 2026, Ravindu Gajanayaka
// Licensed under GPLv3. See LICENSE

using System.Collections.ObjectModel;
using CommunityToolkit.Mvvm.ComponentModel;
using CommunityToolkit.Mvvm.Input;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) 2026, Ravindu Gajanayaka
// Licensed under GPLv3. See LICENSE

using System.Collections.ObjectModel;
using CommunityToolkit.Mvvm.ComponentModel;
using CommunityToolkit.Mvvm.Input;
Expand Down
3 changes: 3 additions & 0 deletions src/Core/QBD.Application/ViewModels/ViewModelBase.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) 2026, Ravindu Gajanayaka
// Licensed under GPLv3. See LICENSE

using CommunityToolkit.Mvvm.ComponentModel;
using CommunityToolkit.Mvvm.Input;

Expand Down
3 changes: 3 additions & 0 deletions src/Core/QBD.Domain/Common/AuditLogEntry.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) 2026, Ravindu Gajanayaka
// Licensed under GPLv3. See LICENSE

namespace QBD.Domain.Common;

public class AuditLogEntry
Expand Down
3 changes: 3 additions & 0 deletions src/Core/QBD.Domain/Common/BaseEntity.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) 2026, Ravindu Gajanayaka
// Licensed under GPLv3. See LICENSE

using System.ComponentModel.DataAnnotations;

namespace QBD.Domain.Common;
Expand Down
3 changes: 3 additions & 0 deletions src/Core/QBD.Domain/Common/NumberSequence.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) 2026, Ravindu Gajanayaka
// Licensed under GPLv3. See LICENSE

namespace QBD.Domain.Common;

public class NumberSequence : BaseEntity
Expand Down
3 changes: 3 additions & 0 deletions src/Core/QBD.Domain/Entities/Accounting/Account.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) 2026, Ravindu Gajanayaka
// Licensed under GPLv3. See LICENSE

using QBD.Domain.Common;
using QBD.Domain.Enums;

Expand Down
3 changes: 3 additions & 0 deletions src/Core/QBD.Domain/Entities/Accounting/Class.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) 2026, Ravindu Gajanayaka
// Licensed under GPLv3. See LICENSE

using QBD.Domain.Common;

namespace QBD.Domain.Entities.Accounting;
Expand Down
3 changes: 3 additions & 0 deletions src/Core/QBD.Domain/Entities/Accounting/FiscalPeriod.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) 2026, Ravindu Gajanayaka
// Licensed under GPLv3. See LICENSE

using QBD.Domain.Common;

namespace QBD.Domain.Entities.Accounting;
Expand Down
3 changes: 3 additions & 0 deletions src/Core/QBD.Domain/Entities/Accounting/FiscalYear.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) 2026, Ravindu Gajanayaka
// Licensed under GPLv3. See LICENSE

using QBD.Domain.Common;

namespace QBD.Domain.Entities.Accounting;
Expand Down
3 changes: 3 additions & 0 deletions src/Core/QBD.Domain/Entities/Accounting/GLEntry.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) 2026, Ravindu Gajanayaka
// Licensed under GPLv3. See LICENSE

using QBD.Domain.Common;
using QBD.Domain.Enums;

Expand Down
3 changes: 3 additions & 0 deletions src/Core/QBD.Domain/Entities/Accounting/JournalEntry.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) 2026, Ravindu Gajanayaka
// Licensed under GPLv3. See LICENSE

using QBD.Domain.Common;
using QBD.Domain.Enums;

Expand Down
3 changes: 3 additions & 0 deletions src/Core/QBD.Domain/Entities/Accounting/JournalEntryLine.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) 2026, Ravindu Gajanayaka
// Licensed under GPLv3. See LICENSE

using QBD.Domain.Common;

namespace QBD.Domain.Entities.Accounting;
Expand Down
3 changes: 3 additions & 0 deletions src/Core/QBD.Domain/Entities/Accounting/Location.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) 2026, Ravindu Gajanayaka
// Licensed under GPLv3. See LICENSE

using QBD.Domain.Common;

namespace QBD.Domain.Entities.Accounting;
Expand Down
3 changes: 3 additions & 0 deletions src/Core/QBD.Domain/Entities/Accounting/PaymentMethod.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) 2026, Ravindu Gajanayaka
// Licensed under GPLv3. See LICENSE

using QBD.Domain.Common;

namespace QBD.Domain.Entities.Accounting;
Expand Down
3 changes: 3 additions & 0 deletions src/Core/QBD.Domain/Entities/Accounting/TaxCode.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) 2026, Ravindu Gajanayaka
// Licensed under GPLv3. See LICENSE

using QBD.Domain.Common;

namespace QBD.Domain.Entities.Accounting;
Expand Down
3 changes: 3 additions & 0 deletions src/Core/QBD.Domain/Entities/Accounting/Terms.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) 2026, Ravindu Gajanayaka
// Licensed under GPLv3. See LICENSE

using QBD.Domain.Common;

namespace QBD.Domain.Entities.Accounting;
Expand Down
3 changes: 3 additions & 0 deletions src/Core/QBD.Domain/Entities/Banking/Check.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) 2026, Ravindu Gajanayaka
// Licensed under GPLv3. See LICENSE

using QBD.Domain.Common;
using QBD.Domain.Entities.Accounting;
using QBD.Domain.Enums;
Expand Down
3 changes: 3 additions & 0 deletions src/Core/QBD.Domain/Entities/Banking/CheckExpenseLine.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) 2026, Ravindu Gajanayaka
// Licensed under GPLv3. See LICENSE

using QBD.Domain.Common;
using QBD.Domain.Entities.Accounting;
using QBD.Domain.Entities.Customers;
Expand Down
3 changes: 3 additions & 0 deletions src/Core/QBD.Domain/Entities/Banking/CheckItemLine.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) 2026, Ravindu Gajanayaka
// Licensed under GPLv3. See LICENSE

using QBD.Domain.Common;
using QBD.Domain.Entities.Items;

Expand Down
3 changes: 3 additions & 0 deletions src/Core/QBD.Domain/Entities/Banking/Deposit.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) 2026, Ravindu Gajanayaka
// Licensed under GPLv3. See LICENSE

using QBD.Domain.Common;
using QBD.Domain.Entities.Accounting;
using QBD.Domain.Enums;
Expand Down
3 changes: 3 additions & 0 deletions src/Core/QBD.Domain/Entities/Banking/DepositLine.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) 2026, Ravindu Gajanayaka
// Licensed under GPLv3. See LICENSE

using QBD.Domain.Common;
using QBD.Domain.Entities.Accounting;

Expand Down
3 changes: 3 additions & 0 deletions src/Core/QBD.Domain/Entities/Banking/Reconciliation.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) 2026, Ravindu Gajanayaka
// Licensed under GPLv3. See LICENSE

using QBD.Domain.Common;
using QBD.Domain.Entities.Accounting;

Expand Down
3 changes: 3 additions & 0 deletions src/Core/QBD.Domain/Entities/Banking/ReconciliationLine.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) 2026, Ravindu Gajanayaka
// Licensed under GPLv3. See LICENSE

using QBD.Domain.Common;
using QBD.Domain.Enums;

Expand Down
3 changes: 3 additions & 0 deletions src/Core/QBD.Domain/Entities/Banking/Transfer.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) 2026, Ravindu Gajanayaka
// Licensed under GPLv3. See LICENSE

using QBD.Domain.Common;
using QBD.Domain.Entities.Accounting;
using QBD.Domain.Enums;
Expand Down
3 changes: 3 additions & 0 deletions src/Core/QBD.Domain/Entities/Company/CompanyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) 2026, Ravindu Gajanayaka
// Licensed under GPLv3. See LICENSE

using QBD.Domain.Common;

namespace QBD.Domain.Entities.Company;
Expand Down
3 changes: 3 additions & 0 deletions src/Core/QBD.Domain/Entities/Company/Preference.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) 2026, Ravindu Gajanayaka
// Licensed under GPLv3. See LICENSE

using QBD.Domain.Common;

namespace QBD.Domain.Entities.Company;
Expand Down
3 changes: 3 additions & 0 deletions src/Core/QBD.Domain/Entities/Company/User.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) 2026, Ravindu Gajanayaka
// Licensed under GPLv3. See LICENSE

using QBD.Domain.Common;

namespace QBD.Domain.Entities.Company;
Expand Down
3 changes: 3 additions & 0 deletions src/Core/QBD.Domain/Entities/Customers/CreditMemo.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) 2026, Ravindu Gajanayaka
// Licensed under GPLv3. See LICENSE

using QBD.Domain.Common;
using QBD.Domain.Enums;

Expand Down
3 changes: 3 additions & 0 deletions src/Core/QBD.Domain/Entities/Customers/CreditMemoLine.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) 2026, Ravindu Gajanayaka
// Licensed under GPLv3. See LICENSE

using QBD.Domain.Common;
using QBD.Domain.Entities.Accounting;
using QBD.Domain.Entities.Items;
Expand Down
3 changes: 3 additions & 0 deletions src/Core/QBD.Domain/Entities/Customers/Customer.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) 2026, Ravindu Gajanayaka
// Licensed under GPLv3. See LICENSE

using QBD.Domain.Common;
using QBD.Domain.Entities.Accounting;

Expand Down
3 changes: 3 additions & 0 deletions src/Core/QBD.Domain/Entities/Customers/Estimate.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) 2026, Ravindu Gajanayaka
// Licensed under GPLv3. See LICENSE

using QBD.Domain.Common;
using QBD.Domain.Enums;

Expand Down
3 changes: 3 additions & 0 deletions src/Core/QBD.Domain/Entities/Customers/EstimateLine.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) 2026, Ravindu Gajanayaka
// Licensed under GPLv3. See LICENSE

using QBD.Domain.Common;
using QBD.Domain.Entities.Accounting;
using QBD.Domain.Entities.Items;
Expand Down
3 changes: 3 additions & 0 deletions src/Core/QBD.Domain/Entities/Customers/Invoice.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) 2026, Ravindu Gajanayaka
// Licensed under GPLv3. See LICENSE

using QBD.Domain.Common;
using QBD.Domain.Entities.Accounting;
using QBD.Domain.Enums;
Expand Down
3 changes: 3 additions & 0 deletions src/Core/QBD.Domain/Entities/Customers/InvoiceLine.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) 2026, Ravindu Gajanayaka
// Licensed under GPLv3. See LICENSE

using QBD.Domain.Common;
using QBD.Domain.Entities.Accounting;
using QBD.Domain.Entities.Items;
Expand Down
3 changes: 3 additions & 0 deletions src/Core/QBD.Domain/Entities/Customers/Job.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) 2026, Ravindu Gajanayaka
// Licensed under GPLv3. See LICENSE

using QBD.Domain.Common;

namespace QBD.Domain.Entities.Customers;
Expand Down
3 changes: 3 additions & 0 deletions src/Core/QBD.Domain/Entities/Customers/PaymentApplication.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) 2026, Ravindu Gajanayaka
// Licensed under GPLv3. See LICENSE

using QBD.Domain.Common;

namespace QBD.Domain.Entities.Customers;
Expand Down
3 changes: 3 additions & 0 deletions src/Core/QBD.Domain/Entities/Customers/ReceivePayment.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) 2026, Ravindu Gajanayaka
// Licensed under GPLv3. See LICENSE

using QBD.Domain.Common;
using QBD.Domain.Entities.Accounting;
using QBD.Domain.Enums;
Expand Down
Loading