| 1234567891011121314151617181920212223242526272829303132333435363738 |
- <div class="container">
- <div class="container-page-wrapper shodowed bordered">
- <div class="container-page-container">
- <?php //debug($this->view->attachments); ?>
-
- <h2><?php echo $this->actionTitle; ?></h2>
- <p><?php echo $this->view->patientInfo; ?></p>
-
- <hr>
-
- <?php if(is_array($this->view->groupedAttachments) && !empty($this->view->groupedAttachments)): ?>
- <div class="card margin-top-10">
- <div class="card-body">
-
- <h5 class="card-title"><?php echo _('Attachments'); ?></h5>
-
- <div id="attach_wrapper">
- <?php foreach($this->view->groupedAttachments as $created_at => $attachments): ?>
- <label class="label-main"><?php echo $this->helper->getDateString($created_at, false); ?></label>
- <ul class="list-no-type margin-bottom-10">
- <?php foreach($attachments as $attach): ?>
- <li class="list-no-type padding-left-10">
- <?php
- $attach['simple_viewer'] = $this->view->isSimpleViewer;
- ?>
- <?php echo $this->helper->getPreviewLink($attach); ?>
- </li>
- <?php endforeach; ?>
- </ul>
- <?php endforeach; ?>
- <?php //debug($this->view->isSimpleViewer); ?>
- </div>
- </div>
- </div>
- <?php endif; ?>
- </div>
- </div>
- </div>
|