Updated getRedirectUrl func. in create quality_validations page

This commit is contained in:
dhanabalan
2025-05-12 19:33:15 +05:30
parent 76b17d4abc
commit 877a4a4696

View File

@@ -95,7 +95,11 @@ class CreateQualityValidation extends CreateRecord
protected function getRedirectUrl(): string protected function getRedirectUrl(): string
{ {
return $this->getResource()::getUrl('create'); // Stay on Create Page after saving //return $this->getResource()::getUrl('create'); // Stay on Create Page after saving
return $this->getResource()::getUrl('create', [
'plant_id' => $this->data['plant_id'] ?? null,
]);
} }
} }