function hmgt_view_report() { $notice = $_REQUEST['evnet_id']; //var_dump($notice); $obj_dignosis = new Hmgt_dignosis(); $result = $obj_dignosis->get_single_dignosis_report($notice); ?> <div class="form-group"> <a href="#" class="close-btn-cat badge badge-success pull-right">X</a> <h4 class="modal-title" id="myLargeModalLabel"> <?php _e('View Report', 'hospital_mgt'); ?> </h4> </div> <hr> <div class="panel panel-white form-horizontal"> <div class="form-group"> <label class="col-sm-3" for="notice_title"> <?php _e(' Report Type', 'hospital_mgt'); ?> : </label> <div class="col-sm-9"> <?php echo get_the_title($result->report_type); ?> </div> </div> <div class="form-group"> <label class="col-sm-3" for="notice_title"> <?php _e(' Report Cost', 'hospital_mgt'); ?> : </label> <div class="col-sm-9"> <?php echo $result->report_cost; ?> </div> </div> <div class="form-group"> <label class="col-sm-3" for="notice_title"> <?php _e('Description', 'hospital_mgt'); ?> : </label> <div class="col-sm-9"> <?php echo $result->diagno_description; ?> </div> </div> </div> <?php die; }
</div> <?php } elseif ($message == 3) { ?> <div id="message" class="updated below-h2"><p> <?php _e('Record deleted successfully', 'hospital_mgt'); ?> </div></p><?php } } $active_tab = isset($_GET['tab']) ? $_GET['tab'] : 'diagnosislist'; $edit = 0; if (isset($_REQUEST['action']) && $_REQUEST['action'] == 'edit') { $edit = 1; $result = $obj_dignosis->get_single_dignosis_report($_REQUEST['diagnosis_id']); } ?> <script type="text/javascript"> $(document).ready(function() { jQuery('#diagnosis').DataTable({ "order": [[ 0, "Desc" ]], "aoColumns":[ {"bSortable": true}, {"bSortable": true}, {"bSortable": true}, {"bSortable": true}, {"bVisible": true}, {"bSortable": false}