Added Document upload to ConstructionConsent Owners
This commit is contained in:
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user