Added Document upload to ConstructionConsent Owners

This commit is contained in:
Frank Schubert
2025-01-15 17:14:49 +01:00
parent 2366dc0300
commit 905a2d0ede
8 changed files with 557 additions and 44 deletions

View File

@@ -167,7 +167,7 @@ class ConstructionConsentController extends mfBaseController {
$this->layout()->set("consent", $cc);
//return true;
$filename = $cc->createConsentFormPdf();
$filename = $cc->createConsentFormPdf($owner);
if(!$filename) {
$this->layout()->setFlash("Beim Erstellen des PDFs ist ein Fehler aufgetreten. Bitte versuchen Sie es erneut.", "error");
$this->redirect("ConstructionConsent", "View", ["id" => $cc->id]);