Skip to content
Merged

Dev #2053

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
317bcf6
AB#31813 Improve analysis prompt structure and output constraints
jacobwillsmith Feb 21, 2026
6b46d5a
AB#32004 Improve attachment summary prompt structure and evidence rules
jacobwillsmith Feb 21, 2026
72065d7
AB#32005 Improve scoresheet prompt contract and response reliability
jacobwillsmith Feb 21, 2026
a866258
AB#32005 Align scoresheet AI rationale/confidence parsing and integer…
jacobwillsmith Feb 21, 2026
e70e47c
AB#31813 Align analysis prompt with structured schema/data/attachment…
jacobwillsmith Feb 25, 2026
34a03cb
AB#32004 Simplify attachment summary prompt payload construction
jacobwillsmith Feb 25, 2026
92a5839
AB#30430 update documentation
AndreGAot Feb 25, 2026
8769582
AB#30430 move docs to correct place
AndreGAot Feb 25, 2026
dd34287
AB#32005 Further scoresheet alignment
jacobwillsmith Feb 25, 2026
34d97ea
AB#32063 Remove obsolete openshift yaml files moved to GitOps
DarylTodosichuk Feb 25, 2026
94b7622
Merge pull request #2034 from bcgov/feature/AB#32063-GitOps-Workflows…
DarylTodosichuk Feb 26, 2026
d246898
Merge pull request #2033 from bcgov/feature/AB#30430-documentation-on…
AndreGAot Feb 26, 2026
f276b66
AB#32005 Simplifying scoresheet display handling
jacobwillsmith Feb 26, 2026
ac834c3
AB#31785: No gaps for UnityApplicationId Sequence Number
aurelio-aot Feb 26, 2026
b604f82
AB#31785: Fix sonarqube issue
aurelio-aot Feb 26, 2026
cb629b5
AB#31785: Limit UnityApplicationId Prefix to 100 characters
aurelio-aot Feb 26, 2026
e82878d
Merge pull request #2039 from bcgov/hotfix/AB#31672-ClientCodes
DarylTodosichuk Feb 26, 2026
45bd082
AB#32007 Add PDF text extraction support in TextExtractionService
jacobwillsmith Feb 21, 2026
5e9062d
Merge pull request #2038 from bcgov/bugfix/AB#31785-no-gaps-for-Unity…
JamesPasta Feb 26, 2026
8a6bc90
AB#32007 Text extraction post processing
jacobwillsmith Feb 26, 2026
0dac2fe
Added hooks for DataTables state save/load/loaded events. This is to …
DavidBrightBcGov Feb 26, 2026
11193f3
Centralized multiple calls to setting local date storage under a sing…
DavidBrightBcGov Feb 26, 2026
8f7d0e2
Merge pull request #2044 from bcgov/bugfix/AB#32030-saved-view-quick-…
DavidBrightBcGov Feb 26, 2026
cddc20b
Merge pull request #2040 from bcgov/feature/AB#32007-AddPdfExtraction…
jacobwillsmith Feb 27, 2026
56dc050
Merge pull request #2035 from bcgov/feature/AB#31813-ImproveAnalysisP…
jacobwillsmith Feb 27, 2026
7f86aea
Merge pull request #2036 from bcgov/feature/AB#32004-ImproveAttachmen…
jacobwillsmith Feb 27, 2026
1ab9ec2
Merge pull request #2037 from bcgov/feature/AB#32005-ImproveScoreshee…
jacobwillsmith Feb 27, 2026
4714f49
hotfix/AB#32016-FixBatchPaymentsNightly
JamesPasta Feb 27, 2026
252f767
Merge pull request #2051 from bcgov/hotfix/AB#32016-FixBatchNightly
JamesPasta Feb 27, 2026
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
4 changes: 2 additions & 2 deletions .github/workflows/docker-build-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ on:
- '.gitignore'
- 'database/**'
- 'documentation/**'
- 'openshift/**'
- 'tests/**'
- '**/docs/**'
- '**/README*'
- 'CODE_OF_CONDUCT.md'
- 'COMPLIANCE.yaml'
- 'CONTRIBUTING.md'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docker-build-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ on:
- '.gitignore'
- 'database/**'
- 'documentation/**'
- 'openshift/**'
- 'tests/**'
- '**/docs/**'
- '**/README*'
- 'CODE_OF_CONDUCT.md'
- 'COMPLIANCE.yaml'
- 'CONTRIBUTING.md'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docker-build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ on:
- '.gitignore'
- 'database/**'
- 'documentation/**'
- 'openshift/**'
- 'tests/**'
- '**/docs/**'
- '**/README*'
- 'CODE_OF_CONDUCT.md'
- 'COMPLIANCE.yaml'
- 'CONTRIBUTING.md'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-check-dev-branch.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Dev - CI & Unit Tests
name: Dev - Branch Protection - CI & Unit Tests

permissions:
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-check-main-branch.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Main - Branch Protection
name: Main - Branch Protection - CI & Unit Tests
permissions:
contents: read
pull-requests: write
Expand Down
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@ The project is in a reliable state and major changes are unlikely to happen.
├── Unity.NginxData/ - Nginx HTTP server and reference files
├── Unity.RabbitMQ/ - RabbitMQ message broker configuration
└── Unity.RedisSentinel/- Redis Sentinel high-availability setup
database/ - Database configuration and scripts
documentation/ - Solution documentation and assets
openshift/ - OpenShift deployment files and configs
database/ - Database configuration scripts
documentation/ - Solution documentation
COMPLIANCE.yaml - BCGov PIA/STRA compliance status
CONTRIBUTING.md - How to contribute
LICENSE - License
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@
using Unity.Payments.PaymentTags;
using Unity.Payments.Suppliers;
using Volo.Abp.Application.Dtos;
using Volo.Abp.MultiTenancy;

namespace Unity.Payments.PaymentRequests
{
#pragma warning disable CS8618
[Serializable]
public class PaymentRequestDto : AuditedEntityDto<Guid>
public class PaymentRequestDto : AuditedEntityDto<Guid>, IMultiTenant
{
public string InvoiceNumber { get; set; }
public decimal Amount { get; set; }
Expand Down Expand Up @@ -46,6 +47,8 @@ public class PaymentRequestDto : AuditedEntityDto<Guid>
public DateTime? FsbNotificationSentDate { get; set; }
public string? FsbApNotified { get; set; }

public Guid? TenantId { get; set; }

public static explicit operator PaymentRequestDto(CreatePaymentRequestDto v)
{
throw new NotImplementedException();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,31 +4,36 @@
using System;
using Unity.Payments.PaymentRequests;
using Unity.Payments.Integrations.Cas;
using Volo.Abp.MultiTenancy;

namespace Unity.Payments.Integrations.RabbitMQ;

public class ReconciliationConsumer(
CasPaymentRequestCoordinator casPaymentRequestCoordinator,
InvoiceService invoiceService
InvoiceService invoiceService,
ICurrentTenant currentTenant
) : IQueueConsumer<ReconcilePaymentMessages>
{
public async Task ConsumeAsync(ReconcilePaymentMessages reconcilePaymentMessage)
{
if (reconcilePaymentMessage != null && !reconcilePaymentMessage.InvoiceNumber.IsNullOrEmpty() && reconcilePaymentMessage.TenantId != Guid.Empty)
{
// string invoiceNumber, string supplierNumber, string siteNumber)
// Go to CAS retrieve the status of the payment
CasPaymentSearchResult result = await invoiceService.GetCasPaymentAsync(
reconcilePaymentMessage.TenantId,
reconcilePaymentMessage.InvoiceNumber,
reconcilePaymentMessage.SupplierNumber,
reconcilePaymentMessage.SiteNumber);
{

if (result != null && result.InvoiceStatus != null && result.InvoiceStatus != "")
using (currentTenant.Change(reconcilePaymentMessage.TenantId))
{
await casPaymentRequestCoordinator.UpdatePaymentRequestStatus(reconcilePaymentMessage.TenantId, reconcilePaymentMessage.PaymentRequestId, result);
}
// string invoiceNumber, string supplierNumber, string siteNumber)
// Go to CAS retrieve the status of the payment
CasPaymentSearchResult result = await invoiceService.GetCasPaymentAsync(
reconcilePaymentMessage.TenantId,
reconcilePaymentMessage.InvoiceNumber,
reconcilePaymentMessage.SupplierNumber,
reconcilePaymentMessage.SiteNumber);

if (result != null && result.InvoiceStatus != null && result.InvoiceStatus != "")
{
await casPaymentRequestCoordinator.UpdatePaymentRequestStatus(reconcilePaymentMessage.TenantId, reconcilePaymentMessage.PaymentRequestId, result);
}
}
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public async Task ManuallyAddPaymentRequestsToReconciliationQueue(List<PaymentRe
InvoiceNumber = paymentRequest.InvoiceNumber,
SupplierNumber = paymentRequest.SupplierNumber,
SiteNumber = paymentRequest.Site?.Number ?? string.Empty,
TenantId = _currentTenant.Id!.Value
TenantId = paymentRequest.TenantId ?? _currentTenant.Id!.Value
};

await _paymentQueueService.SendPaymentToReconciliationQueueAsync(reconcilePaymentMessage);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,9 @@ function initializeDataTable(options) {
externalSearchId = 'search',
disableColumnSelect = false,
listColumnDefs,
onStateSaveParams,//External hooks for save/load/loaded
onStateLoadParams,
onStateLoaded,
} = options;

// Process columns and visibility
Expand Down Expand Up @@ -314,15 +317,29 @@ function initializeDataTable(options) {
processing: true,
stateSave: true,
stateDuration: 0,
externalSearchInputId: `#${externalSearchId}`,
onStateSaveParams,
onStateLoadParams,
onStateLoaded,
stateSaveParams: function (settings, data) {
let externalSearch = $(settings.oInit.externalSearchInputId);
if (externalSearch.length) data.externalSearch = externalSearch.val();

// Call custom stateSave hook if provided
if (typeof settings.oInit.onStateSaveParams === 'function') {
settings.oInit.onStateSaveParams(settings, data);
}
},
stateLoadParams: function (settings, data) {
if (data.externalSearch) {
let externalSearch = $(settings.oInit.externalSearchInputId);
if (externalSearch.length) externalSearch.val(data.externalSearch);
}

// Call custom stateLoad hook if provided
if (typeof settings.oInit.onStateLoadParams === 'function') {
settings.oInit.onStateLoadParams(settings, data);
}
},
stateLoaded: function (settings, data) {
let dtApi = new $.fn.dataTable.Api(settings);
Expand Down Expand Up @@ -360,6 +377,11 @@ function initializeDataTable(options) {
}
}
}

// Call custom loaded hook if provided
if (typeof settings.oInit.onStateLoaded === 'function') {
settings.oInit.onStateLoaded(dtApi, data);
}
},
});

Expand Down
Loading
Loading