Verify staff basket price overrides (#4403)

* 🔒 Verify staff basket price overrides

* 🐛 Fix update patcher test spelling

* 🐛 Apply staff price overrides to promo discounts

* Update ServiceTest.php

* Fix percent promo invoice discount base

* Base % invoice promos on order line totals

* Clarify invoice promo discount comments
This commit is contained in:
Adam Daley authored and GitHub committed 2026-09-24 04:05:17 +01:00
1 parent 14e9c49cc2
commit 67756a43cd
9 files changed
+270 -36

No files matched your search

+1 -1
View File
@@ -1384,7 +1384,7 @@ test('applyCorePatches removes retired hook data on non-MySQL drivers and remain
});
});
test('retired hook cleanup uses both parameterless portable delete statements', function (): void {
test('retired hook cleanup uses both portable delete statements without parameters', function (): void {
withNonMysqlDbDriver(function (): void {
$listenerStatement = Mockery::mock(PDOStatement::class);
$listenerStatement->expects('execute')->with([])->andReturnTrue();