@@ -24,6 +24,14 @@ function landedQaReceiptsVerified(array $command, string $output): bool
|
||||
return false;
|
||||
};
|
||||
$mode = ($command[1] ?? '') === 'vendor/bin/pest' ? 'pest' : ($command[3] ?? '');
|
||||
if ($mode === 'capital') {
|
||||
if (! $contains(fn ($row) => ($row['capital_register_versions_restored'] ?? null) === 2
|
||||
&& ($row['capital_assignment_source_version_restored'] ?? null) === 1 && ($row['capital_archived_head_preserved'] ?? false) === true
|
||||
&& ($row['capital_replay_without_effects'] ?? false) === true)) {
|
||||
return false;
|
||||
}
|
||||
$mode = 'import-legal-amount';
|
||||
}
|
||||
if ($mode === 'migrate') {
|
||||
return $contains(fn ($row) => ($row['isolated_schema_prepared'] ?? false) === true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user