getIndex(); $model = $attachment->getModelEntity(); $performRegulation = $performRegulation ?? false; $isRequired = $isRequired ?? (!$isReadonly && $attachment->isRequired()); $container_id = "attachment-{$attachment->attachmentType->id}"; $minify = $minify ?? false; $addNewFile = true; $canDeleteFile = true; if ( $isReadonly && ( $hasPassedApplication || ( isset($attachment->questionary) && $attachment->questionary->hasApprovedApps() ) ) ) { $isReadonly = false; $addNewFile = ArrayHelper::getValue($attachment, 'attachmentType.allow_add_new_file_after_app_approve', false); $canDeleteFile = ArrayHelper::getValue($attachment, 'attachmentType.allow_delete_file_after_app_approve', false); if (!$addNewFile && !$canDeleteFile) { $addNewFile = true; $isReadonly = true; $canDeleteFile = true; } } ?>
render('@abiturient/views/partial/fileInput/_fileInput', [ 'attachmentCollection' => $attachment, 'isReadonly' => $isReadonly, 'required' => $isRequired, 'container_id' => $container_id, 'model' => $model, 'minify' => $minify, 'addNewFile' => $addNewFile, 'canDeleteFile' => $canDeleteFile, 'multiple' => $multiple ]); ?> getSendingProperties() as $property => $value) : ?> formName()}[{$i}][{$property}]", $value); ?> formName()}[{$i}][regulation]", '1'); ?> getAttachmentsErrors())) : ?>

getAttachmentsErrors() as $fileName => $errors) : ?>

    $attrErrors) : ?>
iniGet::getUploadMaxFilesizeString()] ); ?>