* You should have received a copy of the GNU General Public License along with OpenEyes in a file titled COPYING. If not, see <http://www.gnu.org/licenses/>. * * @package OpenEyes * @link http://www.openeyes.org.uk * @author OpenEyes <*****@*****.**> * @copyright Copyright (c) 2008-2011, Moorfields Eye Hospital NHS Foundation Trust * @copyright Copyright (c) 2011-2013, OpenEyes Foundation * @license http://www.gnu.org/licenses/gpl-3.0.html The GNU General Public License V3.0 */ ?> <?php $this->beginContent('//patient/event_container'); ?> <?php $this->event_actions[] = EventAction::button('Save', 'save', array('level' => 'save'), array('form' => 'examination-create')); ?> <?php $form = $this->beginWidget('BaseEventTypeCActiveForm', array('id' => 'examination-create', 'enableAjaxValidation' => false, 'layoutColumns' => array('label' => 4, 'field' => 8))); ?> <?php if (!empty($errors)) { } ?> <script type='text/javascript'> $(document).ready( function(){ window.formHasChanged = true; }); </script>
/> </td> <td><?php echo $sessionunavailablereason->name; ?> </td> </tr> <?php } ?> </tbody> <tfoot> <tr> <td colspan="2"> <?php echo EventAction::button('Add', 'add', null, array('class' => 'button small', 'data-uri' => '/OphTrOperationbooking/admin/Addsessionunavailablereason'))->toHtml(); ?> </td> </tr> </tfoot> </table> </form> </div> <script type="text/javascript"> $(document).ready(function() { $('.sessionunavailablereasons-enabled').on('change', function() { var checkbox = $(this); var id = $(this).val(); var action = 'disabled'; if ($(this).is(':checked')) {
<label class="inline"><input type="checkbox" name="inline_week1" value="1" /> 1st</label> <input type="hidden" name="inline_week2" value="0" /> <label class="inline"><input type="checkbox" name="inline_week2" value="1" /> 2nd</label> <input type="hidden" name="inline_week3" value="0" /> <label class="inline"><input type="checkbox" name="inline_week3" value="1" /> 3rd</label> <input type="hidden" name="inline_week4" value="0" /> <label class="inline"><input type="checkbox" name="inline_week4" value="1" /> 4th</label> <input type="hidden" name="inline_week5" value="0" /> <label class="inline"><input type="checkbox" name="inline_week5" value="1" /> 5th</label> </fieldset> </div> </div> <div class="row field-row"> <div class="large-10 large-offset-2 column"> <?php echo EventAction::button('Update', 'update_inline', array('colour' => 'green'))->toHtml(); ?> <img class="loader" src="<?php echo Yii::app()->assetManager->createUrl('img/ajax-loader.gif'); ?> " alt="loading..." style="display: none;" /> </div> </div> <?php $this->endWidget(); ?> </div> <div id="confirm_delete_sequences" title="Confirm delete sequence" style="display: none;"> <div id="delete_sequences"> <div class="alert-box alert with-icon">
* You should have received a copy of the GNU General Public License along with OpenEyes in a file titled COPYING. If not, see <http://www.gnu.org/licenses/>. * * @link http://www.openeyes.org.uk * * @author OpenEyes <*****@*****.**> * @copyright Copyright (c) 2008-2011, Moorfields Eye Hospital NHS Foundation Trust * @copyright Copyright (c) 2011-2013, OpenEyes Foundation * @license http://www.gnu.org/licenses/gpl-3.0.html The GNU General Public License V3.0 */ ?> <?php $this->beginContent('//patient/event_container'); ?> <?php $this->event_actions[] = EventAction::button('Save', 'save', array('level' => 'save'), array('form' => 'clinical-create')); $this->title .= ' (' . $this->getNextStep()->name . ')'; ?> <?php $form = $this->beginWidget('BaseEventTypeCActiveForm', array('id' => 'clinical-create', 'enableAjaxValidation' => false, 'layoutColumns' => array('label' => 4, 'field' => 8))); ?> <?php $this->displayErrors($errors); ?> <?php $this->renderPartial('//patient/event_elements', array('form' => $form)); ?> <?php $this->displayErrors($errors, true); ?>
* You should have received a copy of the GNU General Public License along with OpenEyes in a file titled COPYING. If not, see <http://www.gnu.org/licenses/>. * * @link http://www.openeyes.org.uk * * @author OpenEyes <*****@*****.**> * @copyright Copyright (c) 2008-2011, Moorfields Eye Hospital NHS Foundation Trust * @copyright Copyright (c) 2011-2013, OpenEyes Foundation * @license http://www.gnu.org/licenses/gpl-3.0.html The GNU General Public License V3.0 */ $this->beginContent('//patient/event_container'); ?> <?php // Event actions if ($this->checkPrintAccess()) { $this->event_actions[] = EventAction::button('Print', 'print', null, array('id' => 'et_print', 'class' => 'button small')); } ?> <?php $this->renderPartial('//base/_messages'); ?> <?php if ($this->event->delete_pending) { ?> <div class="alert-box alert with-icon"> This event is pending deletion and has been locked. </div> <?php } elseif (Element_OphDrPrescription_Details::model()->find('event_id=?', array($this->event->id))->draft) {
echo $step->position; ?> </td> <td><?php echo $step->name; ?> </td> <td><a href="#" class="removeElementSet" rel="<?php echo $step->id; ?> ">Remove</a></td> </tr> <?php } ?> </tbody> <tfoot class="pagination-container"> <tr> <td colspan="3"> <?php echo EventAction::button('Add step', 'add_step', null, array('class' => 'small'))->toHtml(); ?> </td> </tr> </tfoot> </table> </form> </div> <div class="box_admin" id="step_element_types"> </div>
<td> <a href="/admin/editAnaestheticAgent/<?php echo $anaestheticAgent->id; ?> ">Edit</a> | <a href="/admin/deleteAnaestheticAgent/<?php echo $anaestheticAgent->id; ?> ">Delete</a> </td> </tr> <?php } ?> </tbody> <tfoot class="pagination-container"> <tr> <td colspan="3"> <?php echo EventAction::button('Add', 'add', null, array('class' => 'small', 'data-uri' => '/OphTrOperationnote/admin/addPostOpDrug'))->toHtml(); ?> <?php echo EventAction::button('Delete', 'delete', null, array('class' => 'small', 'data-uri' => '/OphTrOperationnote/admin/deletePostOpDrugs', 'data-object' => 'drug'))->toHtml(); ?> </td> </tr> </tfoot> </table> </form> </div>
echo $model->recipient_email; ?> </td> </tr> <?php } ?> </tbody> <tfoot class="pagination-container"> <tr> <td colspan="5"> <?php echo EventAction::button('Add', 'add', null, array('class' => 'small', 'data-uri' => '/OphCoTherapyapplication/admin/addEmailRecipient'))->toHtml(); ?> <?php echo EventAction::button('Delete', 'delete', null, array('class' => 'small', 'data-uri' => '/OphCoTherapyapplication/admin/deleteEmailRecipients', 'data-object' => 'email_recipients'))->toHtml(); ?> </td> </tr> </tfoot> </table> </form> <h3>How the rules are applied</h3> <p> Rules set for a specific site override rules set for "All sites", so for example you could set a rule for "All sites" and then override it for a few sites that need different rules. </p> <p> If any rules are found that match the current site AND the letter type (compliant/non-compliant), they are ALL used. So for example if you have three email addresses associated with St Georges and non-compliant, and the letter being sent is non-compliant, they will all be processed and all three recipients will receive the emails. </p> <p> If there are rules that match the current site but not the letter type, or no rules for the current site at all, it will fall back to looking for rules for "All sites" which do match the letter type. In this case all rules found for "All sites" which match the letter type of the letter being sent will be processed and all recipients defined in these rules will receive the emails.
echo $site->remote_id; ?> </td> <td><?php echo $site->name; ?> </td> <td><?php echo $site->getLetterAddress(array('delimiter' => ', ')); ?> </td> </tr> <?php } ?> </tbody> <tfoot class="pagination-container"> <tr> <td colspan="4"> <?php echo EventAction::button('Add', 'add', array(), array('class' => 'small'))->toHtml(); ?> <?php echo $this->renderPartial('_pagination', array('pagination' => $pagination)); ?> </td> </tr> </tfoot> </table> </form> </div>
and its descendants<?php } ?> ?</strong></p> </div> </div> </div> <?php echo $this->renderPartial('//admin/_form_errors', array('errors' => $errors)); ?> <div> <?php echo EventAction::button('Delete', 'delete', array('colour' => 'green'))->toHtml(); ?> <?php echo EventAction::button('Cancel', 'cancel', array('level' => 'cancel'))->toHtml(); ?> <img class="loader" src="<?php echo Yii::app()->assetManager->createUrl('img/ajax-loader.gif'); ?> " alt="loading..." style="display: none;" /> </div> <script type="text/javascript"> handleButton($('#et_cancel'),function() { window.location.href = baseUrl+'/OphTrOperationbooking/admin/edit'+OE_rule_model+'/<?php echo $rule->id; ?> '; }); handleButton($('#et_delete'),function() { $('#lcr_deleteform').submit();
"> <td><input type="checkbox" name="workflows[]" value="<?php echo $model->id; ?> " /></td> <td> <?php echo $model->name; ?> </td> </tr> <?php } ?> </tbody> <tfoot class="pagination-container"> <tr> <td colspan="5"> <?php echo EventAction::button('Add', 'add', null, array('class' => 'small', 'data-uri' => '/OphCiExamination/admin/addWorkflow'))->toHtml(); ?> <?php echo EventAction::button('Delete', 'delete', null, array('class' => 'small', 'data-uri' => '/OphCiExamination/admin/deleteWorkflows', 'data-object' => 'email_recipients'))->toHtml(); ?> </td> </tr> </tfoot> </table> </form> </div>
<td><a href="<?php echo Yii::app()->createUrl('/' . $event->eventType->class_name . '/default/view/' . $event->id); ?> "><?php echo $event->eventType->name; ?> <?php echo $event->id; ?> </a></td> <td><?php echo $event->delete_reason; ?> </td> <td> <?php echo EventAction::button('Approve', 'approve', null, array('class' => 'small'))->toHtml(); ?> <?php echo EventAction::button('Reject', 'reject', null, array('class' => 'small'))->toHtml(); ?> </td> </tr> <?php } ?> </tbody> </table> </form> </div>
* @copyright Copyright (c) 2011-2013, OpenEyes Foundation * @license http://www.gnu.org/licenses/gpl-3.0.html The GNU General Public License V3.0 */ $this->beginContent('//patient/event_container'); $assetAliasPath = 'application.modules.OphInBiometry.assets'; $this->moduleNameCssClass .= ' edit'; ?> <div class="row"> <div class="large-12 column"> <section class="element"> <?php $form = $this->beginWidget('BaseEventTypeCActiveForm', array('id' => 'biometry-event-select', 'enableAjaxValidation' => false)); // Event actions $this->event_actions[] = EventAction::button('Continue', 'save', array('level' => 'secondary'), array('form' => 'biometry-event-select', 'class' => 'button small')); ?> <?php $this->displayErrors($errors); ?> <header class="element-header"> <h3 class="element-title">Select Biometry Report</h3> </header> <div class="element-fields"> <div class="field-row"> <div class="field-info"> <?php if (count($imported_events) > 0) {
* You should have received a copy of the GNU General Public License along with OpenEyes in a file titled COPYING. If not, see <http://www.gnu.org/licenses/>. * * @link http://www.openeyes.org.uk * * @author OpenEyes <*****@*****.**> * @copyright Copyright (c) 2008-2011, Moorfields Eye Hospital NHS Foundation Trust * @copyright Copyright (c) 2011-2013, OpenEyes Foundation * @license http://www.gnu.org/licenses/gpl-3.0.html The GNU General Public License V3.0 */ ?> <div class="box admin"> <header class="box-header"> <h2 class="box-title">Waiting list contact rules</h2> <div class="box-actions"> <?php echo EventAction::button('Add', 'add_letter_contact_rule', null, array('class' => 'button small'))->toHtml(); ?> </div> </header> <form id="rulestest" class="panel"> <fieldset class="row field-row"> <legend class="large-1 column align"> Test: </legend> <div class="large-2 column"> <?php echo CHtml::dropDownList('lcr_site_id', '', Site::model()->getListForCurrentInstitution('name'), array('empty' => '- Site -')); ?> </div> <div class="large-2 column">
* (C) OpenEyes Foundation, 2011-2013 * This file is part of OpenEyes. * OpenEyes is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. * OpenEyes is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. * You should have received a copy of the GNU General Public License along with OpenEyes in a file titled COPYING. If not, see <http://www.gnu.org/licenses/>. * * @link http://www.openeyes.org.uk * * @author OpenEyes <*****@*****.**> * @copyright Copyright (c) 2008-2011, Moorfields Eye Hospital NHS Foundation Trust * @copyright Copyright (c) 2011-2013, OpenEyes Foundation * @license http://www.gnu.org/licenses/gpl-3.0.html The GNU General Public License V3.0 */ // Event actions $this->event_actions[] = EventAction::link('Cancel', Yii::app()->createUrl('/patient/episode/' . $episode->id), array('level' => 'cancel')); $this->event_actions[] = EventAction::button('Save', 'save', array('id' => 'episode_save', 'level' => 'save')); if ($episode->diagnosis) { $eye = $episode->eye ? $episode->eye->name : 'None'; $diagnosis = $episode->diagnosis ? $episode->diagnosis->term : 'none'; } else { $eye = 'No diagnosis'; $diagnosis = 'No diagnosis'; } $episode->audit('episode summary', 'view'); $form = $this->beginWidget('BaseEventTypeCActiveForm', array('id' => 'update-episode', 'enableAjaxValidation' => false, 'action' => array('patient/updateepisode/' . $episode->id))); ?> <div class="element-data"> <h2>Summary</h2> <h3><?php echo $episode->firm->serviceSubspecialtyAssignment->subspecialty->name;
echo $cb->address ? $cb->address->address1 : 'None'; ?> </td> </tr> <?php } ?> </tbody> <tfoot> <tr> <td colspan="5"> <?php echo EventAction::button('Add', 'add_commissioning_body', array(), array('class' => 'small'))->toHtml(); ?> <?php echo EventAction::button('Delete', 'delete_commissioning_body', array(), array('class' => 'small'))->toHtml(); ?> </td> </tr> </tfoot> </table> </form> </div> <div id="confirm_delete_commissioning_bodies" title="Confirm delete commissioning_body" style="display: none;"> <div> <div id="delete_commissioning_bodies"> <div class="alertBox" style="margin-top: 10px; margin-bottom: 15px;"> <strong>WARNING: This will remove the commissioning bodies from the system.<br/>This action cannot be undone.</strong> </div> <p> <strong>Are you sure you want to proceed?</strong>
<div class="large-<?php echo 12 - $layoutColumns['label']; ?> large-offset-<?php echo $layoutColumns['label']; ?> column"> <?php echo EventAction::button($buttonOptions['submit'], 'save', array(), array('class' => 'button small'))->toHtml(); ?> <?php if ($buttonOptions['cancel']) { $cancelHtmlOptions = array('class' => 'warning button small'); if (@$buttonOptions['cancel-uri']) { $cancelHtmlOptions['data-uri'] = $buttonOptions['cancel-uri']; } echo EventAction::button($buttonOptions['cancel'], 'cancel', array(), $cancelHtmlOptions)->toHtml(); } ?> <?php if ($buttonOptions['delete']) { echo EventAction::button($buttonOptions['delete'], 'delete', array(), array('class' => 'warning button small'))->toHtml(); } ?> <img class="loader" src="<?php echo Yii::app()->assetManager->createUrl('img/ajax-loader.gif'); ?> " alt="loading..." style="display: none;" /> </div> </div>
<?php /** * OpenEyes. * * (C) Moorfields Eye Hospital NHS Foundation Trust, 2008-2013 * (C) OpenEyes Foundation, 2011-2013 * This file is part of OpenEyes. * OpenEyes is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. * OpenEyes is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. * You should have received a copy of the GNU General Public License along with OpenEyes in a file titled COPYING. If not, see <http://www.gnu.org/licenses/>. * * @link http://www.openeyes.org.uk * * @author OpenEyes <*****@*****.**> * @copyright Copyright (c) 2008-2011, Moorfields Eye Hospital NHS Foundation Trust * @copyright Copyright (c) 2011-2013, OpenEyes Foundation * @license http://www.gnu.org/licenses/gpl-3.0.html The GNU General Public License V3.0 */ $this->beginContent('//patient/event_container', array()); $form = $this->beginWidget('BaseEventTypeCActiveForm', array('id' => 'update-form', 'enableAjaxValidation' => false, 'layoutColumns' => array('label' => 2, 'field' => 10))); $this->event_actions[] = EventAction::button('Save', 'save', array('level' => 'save'), array('form' => 'update-form')); $this->displayErrors($errors); $this->renderPartial('//patient/event_elements', array('form' => $form, 'disableOptionalElementActions' => true)); $this->displayErrors($errors, true); $this->endWidget(); $this->endContent();
* * @link http://www.openeyes.org.uk * * @author OpenEyes <*****@*****.**> * @copyright Copyright (c) 2008-2011, Moorfields Eye Hospital NHS Foundation Trust * @copyright Copyright (c) 2011-2013, OpenEyes Foundation * @license http://www.gnu.org/licenses/gpl-3.0.html The GNU General Public License V3.0 */ $this->beginContent('//patient/event_container'); ?> <?php $form = $this->beginWidget('BaseEventTypeCActiveForm', array('id' => 'correspondence-create', 'enableAjaxValidation' => false, 'layoutColumns' => array('label' => 2, 'field' => 10))); // Event actions $this->event_actions[] = EventAction::button('Save draft', 'savedraft', array('level' => 'secondary'), array('id' => 'et_save_draft', 'class' => 'button small', 'form' => 'correspondence-create')); $this->event_actions[] = EventAction::button('Save and print', 'saveprint', array('level' => 'secondary'), array('id' => 'et_save_print', 'class' => 'button small', 'form' => 'correspondence-create')); ?> <?php if (!$this->patient->practice || !$this->patient->practice->contact->address) { ?> <div id="no-practice-address" class="alert-box alert with-icon"> Patient has no GP practice address, please correct in PAS before creating GP letter. </div> <?php } ?> <?php $this->displayErrors($errors); ?>
?> " /></td> <td><?php echo $incisionLength->value; ?> </td> <td><?php echo $incisionLength->firm->getNameAndSubspecialty(); ?> </td> </tr> <?php } ?> </tbody> <tfoot class="pagination-container"> <tr> <td colspan="3"> <?php echo EventAction::button('Add', 'add', null, array('class' => 'small', 'data-uri' => '/OphTrOperationnote/admin/incisionLengthDefaultAddForm'))->toHtml(); ?> <?php echo EventAction::button('Delete', 'delete', null, array('class' => 'small', 'data-uri' => '/OphTrOperationnote/admin/deleteIncisionLengthDefaults', 'data-object' => 'incisionLength'))->toHtml(); ?> </td> </tr> </tfoot> </table> </form> </div>
* OpenEyes is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. * You should have received a copy of the GNU General Public License along with OpenEyes in a file titled COPYING. If not, see <http://www.gnu.org/licenses/>. * * @link http://www.openeyes.org.uk * * @author OpenEyes <*****@*****.**> * @copyright Copyright (c) 2008-2011, Moorfields Eye Hospital NHS Foundation Trust * @copyright Copyright (c) 2011-2013, OpenEyes Foundation * @license http://www.gnu.org/licenses/gpl-3.0.html The GNU General Public License V3.0 */ $this->beginContent('//patient/event_container'); ?> <?php $form = $this->beginWidget('BaseEventTypeCActiveForm', array('id' => 'clinical-create', 'enableAjaxValidation' => false)); // Event actions $this->event_actions[] = EventAction::button('Save', '#', null, array('name' => 'scheduleLater', 'id' => 'et_save', 'class' => 'button small', 'form' => 'clinical-create', 'style' => $this->checkScheduleAccess() ? 'display: none;' : '')); $this->event_actions[] = EventAction::button('Save and Schedule later', '#', null, array('name' => 'scheduleLater', 'id' => 'et_save_and_schedule_later', 'class' => 'button small', 'form' => 'clinical-create', 'style' => $this->checkScheduleAccess() ? '' : 'display: none;')); $this->event_actions[] = EventAction::button('Save and Schedule now', '#', array('level' => 'secondary'), array('name' => 'scheduleNow', 'id' => 'et_save_and_schedule', 'class' => 'button small', 'form' => 'clinical-create', 'style' => $this->checkScheduleAccess() ? '' : 'display: none;')); ?> <input type="hidden" name="schedule_now" id="schedule_now" value="0" /> <?php $this->displayErrors($errors); $this->renderOpenElements($this->action->id, $form); $this->renderOptionalElements($this->action->id, $form); $this->displayErrors($errors, true); $this->endWidget(); ?> <?php $this->endContent();
<td> <?php echo $model->name; ?> </td> <td> <?php echo $model->active ? 'Yes' : 'No'; ?> </td> </tr> <?php } ?> </tbody> <tfoot class="pagination-container"> <tr> <td colspan="2"> <?php echo EventAction::button('Add', 'add', null, array('class' => 'small', 'data-uri' => '/OphTrIntravitrealinjection/admin/addTreatmentDrug'))->toHtml(); ?> <?php echo EventAction::button('Delete', 'delete', null, array('class' => 'small', 'data-uri' => '/OphTrIntravitrealinjection/admin/deleteTreatmentDrugs', 'data-object' => 'treatment_drugs'))->toHtml(); ?> </td> </tr> </tfoot> </table> </form> </div>
<td><?php echo $firm->consultant ? $firm->consultant->fullName : 'None'; ?> </td> <td><?php echo $firm->active ? 'Active' : 'Inactive'; ?> </td> </tr> <?php } ?> </tbody> <tfoot class="pagination-container"> <tr> <td colspan="6"> <?php echo EventAction::button('Add', 'add', array(), array('class' => 'small'))->toHtml(); ?> <?php echo EventAction::button('Delete', 'delete', array(), array('class' => 'small'))->toHtml(); ?> <?php echo $this->renderPartial('_pagination', array('pagination' => $pagination)); ?> </td> </tr> </tfoot> </table> </form> </div>
* * @link http://www.openeyes.org.uk * * @author OpenEyes <*****@*****.**> * @copyright Copyright (c) 2008-2011, Moorfields Eye Hospital NHS Foundation Trust * @copyright Copyright (c) 2011-2013, OpenEyes Foundation * @license http://www.gnu.org/licenses/gpl-3.0.html The GNU General Public License V3.0 */ ?> <?php $this->beginContent('//patient/event_container'); ?> <?php $this->breadcrumbs = array($this->module->id); $this->event_actions[] = EventAction::button('Save', 'save', array('level' => 'save'), array('form' => 'anaesthetic-update')); ?> <?php $this->renderPartial('//base/_messages'); ?> <?php $form = $this->beginWidget('BaseEventTypeCActiveForm', array('id' => 'anaesthetic-update', 'enableAjaxValidation' => false, 'layoutColumns' => array('label' => 2, 'field' => 10))); ?> <?php $this->displayErrors($errors); ?> <?php $this->renderOpenElements($this->action->id, $form); ?>
echo $theatre->ward ? $theatre->ward->name : 'None'; ?> </td> </tr> <?php } ?> </tbody> <tfoot> <tr> <td colspan="5"> <?php echo EventAction::button('Add', 'add_theatre', null, array('class' => 'button small'))->toHtml(); ?> <?php echo EventAction::button('Delete', 'delete_theatre', null, array('class' => 'button small'))->toHtml(); ?> </td> </tr> </tfoot> </table> </form> </div> <div id="confirm_delete_theatres" title="Confirm delete theatre" style="display: none;"> <div id="delete_theatres"> <div class="alert-box alert with-icon"> <strong>WARNING: This will remove the theatres from the system.<br/>This action cannot be undone.</strong> </div> <p> <strong>Are you sure you want to proceed?</strong>
Edit | Delete </span> <?php } ?> </td> </tr> <?php } ?> </tbody> <tfoot> <tr> <td colspan="4"> <?php echo EventAction::button('Sort', 'sort', array(), array('class' => 'small', 'style' => 'display:none;', 'data-uri' => '/worklistAdmin/definitionMappingSort/' . $definition->id, 'data-object' => 'WorklistDefinitionMapping'))->toHtml(); ?> </td> </tr> </tfoot> </table> <?php } if ($definition->hidden_mappings) { ?> <h2>Hidden Mapping Items</h2> <table class="generic-admin grid"> <thead> <tr> <th>Order</th> <th>Name</th>
</div> </div> <div class="row field-row"> <div class="large-2 column"> <label for="label">Label:</label> </div> <div class="large-4 column end"> <?php echo CHtml::dropDownList('label', @$_GET['label'], CHtml::listData(ContactLabel::model()->active()->findAll(array('order' => 'name')), 'id', 'name'), array('empty' => '- Any label -')); ?> </div> </div> <div class="row field-row"> <div class="large-4 large-offset-2 column end"> <?php echo EventAction::button('Search', 'search', array(), array('class' => 'small'))->toHtml(); ?> <img src="<?php echo Yii::app()->assetManager->createUrl('img/ajax-loader.gif'); ?> " class="loader" alt="loading..." style="display: none;" /> </div> </div> </form> </div> <?php if (@$contacts) { ?> <?php echo $this->renderPartial('/admin/_contacts_list', array('contacts' => $contacts)); }
<?php $this->beginContent('//patient/event_container'); ?> <?php $form = $this->beginWidget('BaseEventTypeCActiveForm', array('id' => 'lab-results-create', 'enableAjaxValidation' => false)); // Event actions $this->event_actions[] = EventAction::button('Save', 'save', array('level' => 'save'), array('form' => 'lab-results-create')); $this->displayErrors($errors); ?> <?php $this->renderOpenElements($this->action->id, $form); ?> <?php $this->displayErrors($errors, true); $this->endWidget(); ?> <div id="dialog-confirm-cancel" title="Cancel" class="hide"> <p><span class="ui-icon ui-icon-alert" style="float:left; margin:0 7px 20px 0;"></span>All text entered will be lost. Are you sure?</p> </div> <?php $this->endContent();
if (!$element->has_gp || !$element->has_address) { $print_letter_options['disabled'] = true; } $this->event_actions[] = EventAction::button('Print ' . $element->letterType . ' letter', 'print-letter', $print_letter_options, array('id' => 'btn_print-letter', 'class' => 'button small')); if ($element->letterType === 'Invitation') { $this->event_actions[] = EventAction::button('Print Admission form', 'print_admission_form', null, array('class' => 'small button')); } } if ($this->checkScheduleAccess()) { $this->event_actions[] = EventAction::link('Schedule now', Yii::app()->createUrl('/' . $element->event->eventType->class_name . '/booking/schedule/' . $element->event_id), array('level' => 'secondary'), array('id' => 'btn_schedule-now', 'class' => 'button small')); } } else { if ($this->checkPrintAccess()) { $print_letter_options = null; if (!$element->has_address) { $print_letter_options['disabled'] = true; } $this->event_actions[] = EventAction::button('Print letter', 'print-letter', $print_letter_options, array('id' => 'btn_print-admissionletter', 'class' => 'small button')); $this->event_actions[] = EventAction::button('Print admission form', 'print_admission_form', null, array('class' => 'small button')); } if ($this->checkScheduleAccess()) { $this->event_actions[] = EventAction::link('Reschedule now', Yii::app()->createUrl('/' . $element->event->eventType->class_name . '/booking/reschedule/' . $element->event_id), array('level' => 'secondary'), array('id' => 'btn_reschedule-now', 'class' => 'button small')); } if ($this->checkEditAccess()) { $this->event_actions[] = EventAction::link('Reschedule later', Yii::app()->createUrl('/' . $element->event->eventType->class_name . '/booking/rescheduleLater/' . $element->event_id), array('level' => 'secondary'), array('id' => 'btn_reschedule-later', 'class' => 'button small')); } } if ($this->checkEditAccess()) { $this->event_actions[] = EventAction::link('Cancel operation', Yii::app()->createUrl('/' . $element->event->eventType->class_name . '/default/cancel/' . $element->event_id), array(), array('id' => 'btn_cancel-operation', 'class' => 'warning button small')); } }
} ?> </td> </tr> <?php } ?> </tbody> <tfoot class="pagination-container"> <tr> <td colspan="2"> <?php echo EventAction::button('Add', 'add2', null, array('class' => 'small'))->toHtml(); ?> <?php echo EventAction::button('Delete', 'delete', null, array('class' => 'small', 'data-uri' => '/OphCoTherapyapplication/admin/deleteDiagnoses', 'data-object' => 'diagnoses'))->toHtml(); ?> </td> </tr> </tfoot> </table> </form> </div> <div class="hidden" id="add-new-form" style="margin-bottom: 10px"> <?php $form = $this->beginWidget('BaseEventTypeCActiveForm', array('id' => 'clinical-create', 'enableAjaxValidation' => false, 'action' => Yii::app()->createURL($this->module->getName() . '/admin/addDiagnosis'))); if ($parent_id) { echo CHtml::hiddenField('parent_id', $parent_id); } $form->widget('application.widgets.DiagnosisSelection', array('field' => 'new_disorder_id', 'layout' => 'minimal', 'default' => false, 'callback' => 'OphCoTherapyapplication_AddDiagnosis', 'placeholder' => 'type the first few characters to search')); echo CHtml::hiddenField('disorder_id', '', array('id' => 'disorder_id'));