Esempio n. 1
0
?>
" alt="OpenEyes logo" />
                </div>  

                <div class="large-5 column">
                    <h2 class="primaryPatient">Primary</h2>
                    <?php 
$this->renderPartial('//patientmergerequest/_patient_details', array('model' => $model, 'type' => 'primary'));
?>
                </div>
            </div>
            <hr>
            <div class="row">
                <div class="large-5 column">Comment:
                    <?php 
echo CHTML::activeTextArea($model, 'comment');
?>
                </div>
            </div>
            <br>
            <?php 
if ($personalDetailsConflictConfirm && Yii::app()->user->checkAccess('Patient Merge')) {
    ?>
                <div id="patientDataConflictConfirmation" class="row">
                    <div class="large-10 large-offset-1 column alert-box with-icon warning">
                        <h2> Personal details are conflicting. </h2>
                        Please confirm you selected the right patients. <br>
                        Note, the primary patient's personal details will <strong>NOT</strong> be overwritten.<br><br>
                        <label>
                        <?php 
    echo CHTML::checkBox('PatientMergeRequest[personalDetailsConflictConfirm]', false);
Esempio n. 2
0
echo $model->id;
?>
</h1>

<div id="patientMergeWrapper" class="container content">
    
    <div class="row">
        <div class="large-4 column large-centered text-right large-offset-8">
            <section class="box dashboard">
            <?php 
echo CHtml::link('Back to Patient Merge list', array('patientMergeRequest/index'), array('class' => 'button small')) . ' ';
echo CHtml::link('add', array('patientMergeRequest/create'), array('class' => 'button small'));
?>
            </section>
        </div>
    </div>

<div class="row">
    <div class="large-8 column large-centered">

        <?php 
$this->widget('zii.widgets.grid.CGridView', array('itemsCssClass' => 'grid', 'dataProvider' => $dataProvider, 'summaryText' => '<h3><small> {start}-{end} of {count} </small></h3>', 'htmlOptions' => array('id' => 'patientMergeList'), 'columns' => array('log')));
?>
      
        <?php 
echo CHTML::activeTextArea($model, 'comment', array('disabled' => 'disabled'));
?>
        
        <br>
    </div>
</div>