Created
April 13, 2020 23:09
-
-
Save ingliths/cbacc2f9d0b2c25b27bf810fb53a3a66 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php if(in_array($tipologiaAgendamento, array( TIPOLOGIA_LICENCA_MEDICA_TRATAMENTO_SAUDE))):?> | |
| <fieldset class="scheduler-border"> | |
| <legend class="scheduler-border">Arquivos</legend> | |
| <div class="row"> | |
| <?php | |
| $existFile = (isset($this->data['Agendamento']['declaracao_medica_path']) && isset($this->data['Agendamento']['id'])); | |
| var_dump($existFile); die(); | |
| if($existFile){?> | |
| <div class="col-md-3" > | |
| <label style="font-weight: bold">Declaração Medica </label> | |
| <div class="btn-group"> | |
| <button data-toggle="dropdown" class="btn btn-info dropdown-toggle btn-sm" type="button"><?php echo __('label_arquivo') ?> <span class="caret"></span></button> | |
| <ul role="menu" class="dropdown-menu listaAcoes"> | |
| <li><?php echo $this->Html->link(__('bt_file'),$this->data['Agendamento']['declaracao_medica_path'], array('class' => 'fa fa-file', 'title' => __('bt_file'),'target'=>'_blank','escape'=>false)); ?></li> | |
| </ul> | |
| </div> | |
| </div> | |
| <?php }?> | |
| </div> | |
| </fieldset> | |
| <?php endif; ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment