resolved conflicts

This commit is contained in:
2025-03-31 03:46:05 +03:00
6454 changed files with 1520539 additions and 9 deletions
@@ -0,0 +1 @@
1736856164b:1;
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
a:7:{s:6:"_token";s:40:"0aE1Br3Tfss4zA0qVP0jOcRBoEnRFl4pILQKF555";s:9:"_previous";a:1:{s:3:"url";s:30:"http://localhost:3000/patients";}s:6:"_flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}s:50:"login_web_59ba36addc2b2f9401580f014c7f58ea4e30989d";i:1;s:4:"auth";a:1:{s:21:"password_confirmed_at";i:1736856018;}s:23:"session_expiration_time";s:3:"120";s:17:"password_hash_web";s:60:"$2y$12$h3jPyDZWj.y4ZuOV7lWDjOyli.aNsSoEI//KeeabuO4xcFPGKC12e";}
@@ -0,0 +1,31 @@
<?php $__currentLoopData = session('flash_notification', collect())->toArray(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $message): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php if($message['overlay']): ?>
<?php echo $__env->make('flash::modal', [
'modalClass' => 'flash-modal',
'title' => $message['title'],
'body' => $message['message']
], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php else: ?>
<div class="alert
alert-<?php echo e($message['level']); ?>
<?php echo e($message['important'] ? 'alert-important' : ''); ?>"
role="alert"
>
<?php if($message['important']): ?>
<button type="button"
class="close"
data-dismiss="alert"
aria-hidden="true"
>&times;</button>
<?php endif; ?>
<?php echo $message['message']; ?>
</div>
<?php endif; ?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<?php echo e(session()->forget('flash_notification')); ?>
<?php /**PATH /var/www/html/vendor/laracasts/flash/src/Laracasts/Flash/../../views/message.blade.php ENDPATH**/ ?>
@@ -0,0 +1,111 @@
<?php $__env->startSection('content'); ?>
<div class="row bg-title">
<div class="col-lg-8 col-md-4 col-sm-4 col-xs-12">
<h4 class="page-title"><?php echo e(__('home.dashboard')); ?></h4>
<h4><font style="color: maroon; text-align: center;">
<?php echo e(__('home.confidentiality_warning')); ?></font> -----
<b><?php echo e(__('home.logout_warning')); ?></b>
</h4>
</div>
<div class="col-lg-4 col-sm-8 col-md-8 col-xs-12">
<ol class="breadcrumb">
<li><a href="<?php echo e(route('home')); ?>"><?php echo e(config('app.name')); ?></a></li>
<li class="active"><?php echo e(__('home.dashboard')); ?></li>
</ol>
</div>
</div>
<!--Flash messages at the top -->
<?php echo $__env->make('flash::message', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<div class="row">
<div class="col-md-12">
<div class="card-header box-title" style="border-radius: 10px 10px 0 0;">
<h3 class="box-title"><i class="fa fa-envelope-o"></i> <?php echo e(__('home.message_board')); ?></h3>
</div>
<div class="white-box" style="background-color: #ffff99; border-radius: 0 0 10px 10px">
<?php $__currentLoopData = $messages; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $message): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<div class="row">
<div class="col-sm-12">
<a href="<?php echo e(url('#')); ?>"><strong><?php echo e(Carbon\Carbon::parse($message->created_at)->format('jS M Y h:ia')); ?></strong></a><br/>
<?php if(file_exists(($message->photo))): ?>
<img src="<?php echo e(asset($message->photo)); ?>" title="" alt="" width="200" height="200" align="right"/>
<?php endif; ?>
<font size='2'><?php echo $message->body; ?></font>
</div>
</div>
<br>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<div class="row">
<div style="margin-left:auto; margin-right:0;"><?php echo e($messages->links()); ?></div>
</div>
</div>
<div class="white-box" style="border-radius: 5px;">
<div class="row">
<?php if(Module::has('Patients') && Module::isEnabled('Patients') && Auth::user()->can('patient-create')): ?>
<div class="col-md-2">
<a href="<?php echo e(route('patients.create')); ?>" class="btn btn-rounded btn-success btn-block"
style="text-align: left"><i class="fa fa-user"></i> <?php echo e(__('home.new_patient')); ?></a>
</div>
<?php endif; ?>
<?php if(Module::has('Patients') && Module::isEnabled('Patients') && Auth::user()->can('patient-list')): ?>
<div class="col-md-2">
<a href="<?php echo e(route('patients.select')); ?>" class="btn btn-primary btn-rounded btn-block"
style="text-align: left"> <i class="fa fa-hand-pointer-o"></i> <?php echo e(__('home.select_patient')); ?></a>
</div>
<?php endif; ?>
<?php if(Module::has('WardManagement') && Module::isEnabled('WardManagement') &&Auth::user()->can('ward-list')): ?>
<div class="col-md-2">
<a href="<?php echo e(route('wards.select')); ?>" class="btn btn-primary btn-rounded btn-block"
style="text-align: left"><i class="fa fa-hand-pointer-o"></i><?php echo e(__('home.select_ward')); ?></a>
</div>
<?php endif; ?>
<?php if(Module::has('Patients') && Module::isEnabled('Patients') && Auth::user()->can('patient-flow-monitoring')): ?>
<div class="col-md-2">
<a href="<?php echo e(route('patient_flow_monitoring.index')); ?>" class="btn btn-rounded btn-primary btn-block"
style="text-align: left"><i class="fa fa-hand-pointer-o"></i> <?php echo e(__('home.select_clinic')); ?></a>
</div>
<?php endif; ?>
<?php if(Module::has('Reports') && Module::isEnabled('Reports') &&Auth::user()->can('streamline-reports-list')): ?>
<div class="col-md-2">
<a href="<?php echo e(url('reports')); ?>" class="btn btn-rounded btn-info btn-block"
style="text-align: left"><i class="fa fa-list-ul"></i> <?php echo e(__('home.reports')); ?></a>
</div>
<?php endif; ?>
<?php if(Module::has('ClinicalData') && Module::isEnabled('ClinicalData')): ?>
<div class="col-md-2">
<a href="<?php echo e(route('resources.index')); ?>" class="btn btn-info btn-rounded btn-block"
style="text-align: left"><i class="fa fa-file-o"></i> <?php echo e(__('home.hospital_resources')); ?></a>
</div>
<?php endif; ?>
</div>
</div>
</div>
<div class="col-md-12">
<div class="row">
<!-- <div class="col-sm-12">
<h4 style="color: maroon; text-align: center;"><?php echo e(__('home.confidentiality_warning')); ?></h4>
<h5 style="color: black;" align="center"><b><?php echo e(__('home.logout_warning')); ?></b></h5>
</div> -->
<div class="col-sm-12">
<!--<img src="/uploads/streamline_images/child_with_phone.jpg" class="img-rounded"
style=" height: 250px; margin: auto;" alt="child with phone"/> -->
<div style="display: block;">
<img style="margin: auto;" src="/uploads/streamline_images/home_page_bottom.png" class="img-rounded img-responsive" alt="platinum party"/>
</div>
</div>
</div>
</div>
</div>
<?php echo $__env->make('general_settings.popup', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.main', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/html/resources/views/home.blade.php ENDPATH**/ ?>
@@ -0,0 +1,34 @@
<!-- Modal -->
<div id="myModal" class="modal fade" role="dialog">
<div class="modal-dialog">
<!-- Modal content-->
<div class="modal-content">
<div class="modal-header">
<h4 style="color: red;"> <?php echo e(__('home.renew_subscription')); ?> <button type="button" class="close" data-dismiss="modal">&times;</button></h4>
</div>
<div class="modal-body">
<div class="row">
<div class="col-md-12 text-center" style="color: red;">
<?php echo e(show_subscription_reminder_message()); ?>
</div>
</div>
</div>
</div>
</div>
</div>
<?php $__env->startPush('scripts'); ?>
<script>
$(document).ready(function() {
var status = <?php echo json_encode(show_popup()); ?>
if (status){
$('#myModal').modal('show');
$(".modal-dialog").css({'margin': '300px auto',});
}
});
</script>
<?php $__env->stopPush(); ?>
<?php /**PATH /var/www/html/resources/views/general_settings/popup.blade.php ENDPATH**/ ?>
@@ -0,0 +1,5 @@
<?php $__env->startSection('title', __('Not Found')); ?>
<?php $__env->startSection('code', '404'); ?>
<?php $__env->startSection('message', __('Not Found')); ?>
<?php echo $__env->make('errors::minimal', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/html/resources/views/errors/404.blade.php ENDPATH**/ ?>
@@ -0,0 +1,72 @@
<div class="right-sidebar">
<div class="slimscrollright">
<div class="rpanel-title"> Service Panel <span><i class="ti-close right-side-toggle"></i></span> </div>
<div class="r-panel-body">
<ul>
<li><b>Layout Options</b></li>
<li>
<div class="checkbox checkbox-info">
<input id="checkbox1" type="checkbox" class="fxhdr">
<label for="checkbox1"> Fix Header </label>
</div>
</li>
<li>
<div class="checkbox checkbox-warning">
<input id="checkbox2" type="checkbox" class="fxsdr">
<label for="checkbox2"> Fix Sidebar </label>
</div>
</li>
<li>
<div class="checkbox checkbox-success">
<input id="checkbox4" type="checkbox" class="open-close">
<label for="checkbox4"> Toggle Sidebar </label>
</div>
</li>
</ul>
<ul id="themecolors" class="m-t-20">
<li><b>With Light sidebar</b></li>
<li><a href="javascript:void(0)" theme="default" class="default-theme">1</a></li>
<li><a href="javascript:void(0)" theme="green" class="green-theme">2</a></li>
<li><a href="javascript:void(0)" theme="gray" class="yellow-theme">3</a></li>
<li><a href="javascript:void(0)" theme="blue" class="blue-theme">4</a></li>
<li><a href="javascript:void(0)" theme="purple" class="purple-theme">5</a></li>
<li><a href="javascript:void(0)" theme="megna" class="megna-theme working">6</a></li>
<li><b>With Dark sidebar</b></li>
<br/>
<li><a href="javascript:void(0)" theme="default-dark" class="default-dark-theme">7</a></li>
<li><a href="javascript:void(0)" theme="green-dark" class="green-dark-theme">8</a></li>
<li><a href="javascript:void(0)" theme="gray-dark" class="yellow-dark-theme">9</a></li>
<li><a href="javascript:void(0)" theme="blue-dark" class="blue-dark-theme">10</a></li>
<li><a href="javascript:void(0)" theme="purple-dark" class="purple-dark-theme">11</a></li>
<li><a href="javascript:void(0)" theme="megna-dark" class="megna-dark-theme">12</a></li>
</ul>
</div>
</div>
</div><?php /**PATH /var/www/html/resources/views/layouts/options.blade.php ENDPATH**/ ?>
@@ -0,0 +1,261 @@
<?php $__env->startPush('styles'); ?>
<link href="<?php echo e(asset('elite/bower_components/typeahead.js-master/dist/typehead-min.css')); ?>" rel="stylesheet">
<link href="<?php echo e(asset('elite/bower_components/datatables/jquery.dataTables.min.css')); ?>" rel="stylesheet" type="text/css" />
<link href="<?php echo e(asset('elite/tables/css/buttons.dataTables.min.css')); ?>" rel="stylesheet" type="text/css" />
<?php $__env->stopPush(); ?>
<?php $__env->startSection('content'); ?>
<div class="row bg-title">
<div class="col-lg-3 col-md-4 col-sm-4 col-xs-12">
<h4 class="page-title"><?php echo e(__('patients.view')); ?></h4>
</div>
<div class="col-lg-9 col-sm-8 col-md-8 col-xs-12">
<ol class="breadcrumb">
<li><a href="<?php echo e(route('home')); ?>"><?php echo e(__('patients.dashboard')); ?></a></li>
<li><a href="<?php echo e(route('patients.index')); ?>"><?php echo e(__('patients.patients')); ?></a></li>
<li class="active"><?php echo e(__('patients.view')); ?></li>
</ol>
</div>
</div>
<div class="white-box">
<?php echo $__env->make('flash::message', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php echo e(Form::open(['route' => 'patients.search', 'method' => 'ANY', 'role' => 'search'])); ?>
<div class="row">
<div class="col-md-2">
<div class="form-group" id="patient_numbers">
<?php echo e(Form::text('number', '', ['class' => 'form-control typeahead', 'placeholder' => 'Patient number', 'autocomplete' => 'off', 'spellcheck' => false])); ?>
</div>
</div>
<div class="col-md-2" <?php if(!is_eye_module_enabled()): ?> style='display: none' <?php endif; ?>>
<div class="form-group" id="previous_numbers">
<?php echo e(Form::text('previous_id', '', ['class' => 'form-control typeahead', 'placeholder' => 'Previous Number', 'autocomplete' => 'off', 'spellcheck' => false])); ?>
</div>
</div>
<div class="col-md-4">
<div class="form-group" id="full_names">
<?php echo e(Form::text('full_name', '', ['class' => 'form-control typeahead', 'placeholder' => 'Patient Name', 'autocomplete' => 'off', 'spellcheck' => false])); ?>
</div>
</div>
<div class="col-md-2">
<div class="form-group" id="villages">
<?php echo e(Form::text('village', '', ['class' => 'form-control typeahead', 'placeholder' => 'Village', 'autocomplete' => 'off', 'spellcheck' => false])); ?>
</div>
</div>
<div class="col-md-2">
<button type="submit" class="btn btn-rounded btn-success"><span class="glyphicon glyphicon-search"></span> <?php echo e(__('patients.search')); ?></button>
<span class="label label-info float-right" style="font-size: 12.5px;"> <?php echo e(count($patient_numbers)); ?> <?php echo e(__('patients.patients_registered')); ?></span>
</div>
</div>
<?php if(isset($criteria)): ?>
<p><?php echo e(__('patients.search_criteria')); ?> : <code><?php echo e($criteria); ?></code></p>
<?php endif; ?>
<?php echo e(Form::close()); ?>
<div class="table-responsive">
<table class="table success-table table-sm table-striped table-hover" style="color: white;">
<thead >
<tr style="background-color: #00c292; color: white;">
<th><?php echo e(__('patients.patient_number')); ?></th>
<th><?php echo e(__('patients.full_names')); ?></th>
<th><?php echo e(__('patients.gender')); ?></th>
<th><?php echo e(__('patients.age')); ?></th>
<th><?php echo e(__('patients.phone')); ?></th>
<th><?php echo e(__('patients.category')); ?></th>
<th><?php echo e(__('patients.village')); ?></th>
<th></th>
<th></th>
<th></th>
</tr>
</thead>
<tbody>
<?php $__currentLoopData = $patients; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $patient): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<tr>
<td><?php echo e($patient->number); ?></td>
<td><?php echo insurance_flag($patient->id); ?></td>
<td>
<?php if($patient->gender == 1): ?>
<?php echo e(__('patients.male')); ?>
<?php else: ?>
<?php echo e(__('patients.female')); ?>
<?php endif; ?>
</td>
<td><?php echo e(get_patients_age($patient->date_of_birth)); ?></td>
<td><?php echo e($patient->phone); ?></td>
<td><?php echo e($categories[$patient->category_id] ?? "N/A"); ?></td>
<td><?php echo e($villages[$patient->village_id] ?? ''); ?></td>
<td><a href="/patients/<?php echo e($patient->id); ?>/" class="btn btn-rounded btn-info btn-sm"><i class="fa fa-info-circle"></i> <?php echo e(__('patients.details')); ?></a></td>
<td>
<a href="/patients/<?php echo e($patient->id); ?>/edit/" class="btn btn-warning btn-rounded btn-sm"><i class="fa fa-pencil"></i> <?php echo e(__('patients.edit')); ?></a>
</td>
<td>
<a href="/patient_episodes/set_patient_id/<?php echo e($patient->id); ?>" class="btn btn-rounded btn-primary btn-sm"><i class="fa fa-hand-pointer-o"></i> <strong><?php echo e(__('patients.select')); ?></strong></a>
</td>
</tr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</tbody>
</table>
</div>
<?php echo e($patients->links()); ?>
</div>
<?php $__env->stopSection(); ?>
<?php $__env->startPush('scripts'); ?>
<!-- Typehead Plugin JavaScript -->
<script src="<?php echo e(asset('elite/bower_components/typeahead.js-master/dist/typeahead.bundle.min.js')); ?>"></script>
<!-- Data table javascript -->
<script src="<?php echo e(asset('elite/bower_components/datatables/jquery.dataTables.min.js')); ?>"></script>
<script src="<?php echo e(asset('elite/tables/js/dataTables.buttons.min.js')); ?>"></script>
<script src="<?php echo e(asset('elite/tables/js/buttons.flash.min.js')); ?>"></script>
<script src="<?php echo e(asset('elite/tables/js/jszip.min.js')); ?>"></script>
<script src="<?php echo e(asset('elite/tables/js/pdfmake.min.js')); ?>"></script>
<script src="<?php echo e(asset('elite/tables/js/vfs_fonts.js')); ?>"></script>
<script src="<?php echo e(asset('elite/tables/js/buttons.html5.min.js')); ?>"></script>
<script src="<?php echo e(asset('elite/tables/js/buttons.print.min.js')); ?>"></script>
<script src="<?php echo e(asset('elite/tables/js/buttons.colVis.min.js')); ?>"></script>
<script type="text/javascript">
var substringMatcher = function (strs) {
return function findMatches(q, cb) {
var matches, substringRegex;
// an array that will be populated with substring matches
matches = [];
// regex used to determine if a string contains the substring `q`
substrRegex = new RegExp(q, 'i');
// iterate through the pool of strings and for any string that
// contains the substring `q`, add it to the `matches` array
$.each(strs, function (i, str) {
if (substrRegex.test(str)) {
matches.push(str);
}
});
cb(matches);
};
};
$('#patient_numbers .typeahead').typeahead(
{
hint: true,
highlight: true,
minLength: 1
},
{
name: 'patient_numbers',
source: substringMatcher(<?php echo json_encode($patient_numbers); ?>)
}
);
$('#previous_numbers .typeahead').typeahead(
{
hint: true,
highlight: true,
minLength: 1
},
{
name: 'previous_numbers',
source: substringMatcher(<?php echo json_encode($previous_ids); ?>)
}
);
$('#villages .typeahead').typeahead(
{
hint: true,
highlight: true,
minLength: 1
},
{
name: 'villages',
source: substringMatcher(<?php echo json_encode(array_values($villages)); ?>)
}
);
$('#full_names .typeahead').typeahead(
{
hint: true,
highlight: true,
minLength: 1
},
{
name: 'full_names',
source: substringMatcher(<?php echo json_encode($full_names); ?>)
}
);
$('.table').DataTable({
dom: 'Bfrtip',
pageLength: 200,
buttons: [
'copy',
{extend: 'csv',
message: "<php echo __('patients.registered_patients')?>",
exportOptions: {
columns: [0, 1, 2, 3, 4, 5, 6]
},
},
{extend: 'excel',
message: "<php echo __('patients.registered_patients')?>",
exportOptions: {
columns: [0, 1, 2, 3, 4, 5, 6]
},
sheetName: "<php echo __('patients.registered_patients')?>"
},
{extend: 'pdf',
message: "<php echo __('patients.registered_patients')?>",
orientation: 'portrait',
pageSize: 'LETTER',
exportOptions: {
columns: [0, 1, 2, 3, 4, 5, 6]
},
customize: function (doc) {
doc.defaultStyle.fontSize = 10;
// doc.styles.tableHeader.alignment = 'left';
}
},
{extend: 'print',
message: "<php echo __('patients.registered_patients')?>",
exportOptions: {
columns: [0, 1, 2, 3, 4, 5, 6]
},
customize: function (win) {
$(win.document.body)
.css('font-size', '10pt')
.css('background', '#fff')
.prepend(
'<img src="<?php echo asset('uploads/logo/logo-sm.png'); ?>" style="position:absolute; top:0; right:0;" />'
);
$(win.document.body).find('table')
.addClass('compact')
.css('font-size', 'inherit');
}
}
]
});
$('.sorting').removeClass('sorting');//remove the sorting class
$('.sorting_asc').removeClass('sorting_asc');//remove the sorting class
</script>
<?php $__env->stopPush(); ?>
<?php echo $__env->make('layouts.main', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/html/Modules/Patients/Resources/views/patients/index.blade.php ENDPATH**/ ?>
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,47 @@
<?php if($paginator->hasPages()): ?>
<nav>
<ul class="pagination">
<?php if($paginator->onFirstPage()): ?>
<li class="disabled" aria-disabled="true" aria-label="<?php echo app('translator')->get('pagination.previous'); ?>">
<span aria-hidden="true">&lsaquo;</span>
</li>
<?php else: ?>
<li>
<a href="<?php echo e($paginator->previousPageUrl()); ?>" rel="prev" aria-label="<?php echo app('translator')->get('pagination.previous'); ?>">&lsaquo;</a>
</li>
<?php endif; ?>
<?php $__currentLoopData = $elements; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $element): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php if(is_string($element)): ?>
<li class="disabled" aria-disabled="true"><span><?php echo e($element); ?></span></li>
<?php endif; ?>
<?php if(is_array($element)): ?>
<?php $__currentLoopData = $element; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $page => $url): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php if($page == $paginator->currentPage()): ?>
<li class="active" aria-current="page"><span><?php echo e($page); ?></span></li>
<?php else: ?>
<li><a href="<?php echo e($url); ?>"><?php echo e($page); ?></a></li>
<?php endif; ?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<?php endif; ?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<?php if($paginator->hasMorePages()): ?>
<li>
<a href="<?php echo e($paginator->nextPageUrl()); ?>" rel="next" aria-label="<?php echo app('translator')->get('pagination.next'); ?>">&rsaquo;</a>
</li>
<?php else: ?>
<li class="disabled" aria-disabled="true" aria-label="<?php echo app('translator')->get('pagination.next'); ?>">
<span aria-hidden="true">&rsaquo;</span>
</li>
<?php endif; ?>
</ul>
</nav>
<?php endif; ?>
<?php /**PATH /var/www/html/vendor/laravel/framework/src/Illuminate/Pagination/resources/views/default.blade.php ENDPATH**/ ?>
@@ -0,0 +1,11 @@
<?php use Streamline\Enums\Roles; ?>
<?php if(Auth::user()->hasRole('Admin')): ?>
<?php if(warning_duration()): ?>
<div class="<?php echo e(show_subscription_reminder_message('class')); ?> " style="margin-left: -25.5px; margin-bottom:0%; margin-right: -25.5px;">
<i class="fa fa-exclamation-triangle" aria-hidden="true"></i>
<span style="font-weight:600;line-height: 22px;"><?php echo e(show_subscription_reminder_message()); ?></span>
</div>
<?php endif; ?>
<?php endif; ?><?php /**PATH /var/www/html/resources/views/general_settings/subscription_noti.blade.php ENDPATH**/ ?>
@@ -0,0 +1,97 @@
<?php
$hospital_information = \Streamline\Models\HospitalInformation::first();
?>
<nav class="navbar navbar-default navbar-static-top m-b-0">
<div class="navbar-header">
<a class="navbar-toggle hidden-sm hidden-md hidden-lg " href="javascript:void(0)" data-toggle="collapse"
data-target=".navbar-collapse">
<i class="ti-menu"></i>
</a>
<div class="top-left-part" style="background-color: white">
<a class="logo" href="<?php echo e(route('home')); ?>">
<b>
<img src="<?php echo e(asset('uploads/streamline/color/60X60-06.png')); ?>" style="height: 45px; width: 45px;"
alt="home" />
</b>
<span class="hidden-xs"><img src="<?php echo e(asset('uploads/streamline/color/280X50-06.png')); ?>"
style="height: 25px; width: 130px;" alt="home" /></span>
</a>
</div>
<ul class="nav navbar-top-links navbar-left hidden-xs">
<li>
<a href="javascript:void(0)"
class="open-close-custom hidden-xs waves-effect waves-light d-flex align-items-center"
id="open-close-custom">
<i class="icon-arrow-left-circle ti-menu" style="font-size: 20px"></i>
</a>
</li>
<li>
<img src="<?php echo e(asset(isset($hospital_information->logo) ? $hospital_information->logo : 'uploads/logo/logo-sm.png')); ?>"
height="60px" alt="">
</li>
</ul>
<ul class="nav navbar-top-links navbar-right pull-right d-flex align-items-center justify-content-between">
<?php if(session()->has('patient_id') && possible_patient_record_duplicates(session()->get('patient_id'))): ?>
<li>
<div class="alert alert-info position-relative py-2 px-3 my-0 mx-3 br-5">
<button type="button" class="close position-absolute right-0 top-0" style="z-index: 1;"
data-dismiss="alert">×</button>
<span>
<a href="<?php echo e(url('possible_duplicate_patients')); ?>/<?php echo e(session()->get('patient_id')); ?>"
target="_blank"><?php echo e(__('layout.has_possible_duplicates')); ?> &nbsp;&nbsp;</a>
</span>
</li>
<?php endif; ?>
<li>
<?php if(session()->has('patient_id')): ?>
<a href="/patient_episodes/"
style="color: #337ab7; background-color: #e6e600; text-shadow: none; height: 5px; line-height: normal"
class="d-flex align-items-center"><?php echo e(__('layout.patient_home')); ?></a>
<?php endif; ?>
</li>
<li>
<?php if(session()->has('patient_id')): ?>
<a href="/patient_finance/home"
style="background: #b6895e; color: white; text-shadow: none; height: 5px; line-height: normal"
class="d-flex align-items-center"><?php echo e(__('layout.finance_home')); ?></a>
<?php endif; ?>
</li>
<li class="dropdown">
<a class="dropdown-toggle profile-pic" data-toggle="dropdown" href="#"> <img
src="<?php echo e(asset('uploads/users/' . (Auth::user()->photo ?? 'placeholder.png'))); ?>"
alt="<?php echo e(Auth::user()->username); ?>" width="36" class="img-rounded"><b
class="hidden-xs"><?php echo e(Auth::user()->first_name . ' ' . Auth::user()->last_name); ?></b> </a>
<ul class="dropdown-menu dropdown-user animated flipInY">
<li><a href="<?php echo e(route('users.show', Auth::user()->id)); ?>"><i class="ti-eye"></i>
<?php echo e(__('layout.view_profile')); ?></a></li>
<li><a href="<?php echo e(route('users.edit', Auth::user()->id)); ?>"><i class="ti-user"></i>
<?php echo e(__('layout.edit_profile')); ?></a></li>
<li><a href="<?php echo e(route('logout')); ?>"
onclick="event.preventDefault(); document.getElementById('logout-form').submit();"><i
class="fa fa-power-off"></i> <?php echo e(__('layout.sign_out')); ?></a></li>
<form id="logout-form" action="<?php echo e(route('logout')); ?>" method="POST" style="display: none;">
<?php echo e(csrf_field()); ?>
</form>
</ul>
</li>
<?php if(Auth::user()->can('manage-frequently-asked-questions')): ?>
<li class="dropdown">
<a class="dropdown-toggle profile-pic" data-toggle="dropdown" href="#">
<i class="fa fa-question-circle"></i>
<b class="hidden-xs"><?php echo e(__('layout.help')); ?></b>
</a>
<ul class="dropdown-menu dropdown-user animated flipInY">
<li><a href="<?php echo e(route('frequently_asked_questions.index')); ?>">
<?php echo e(__('layout.frequently_asked_question')); ?></a></li>
<li><a target="_blank" a href="https://support.streamlinehealth.org/">
<?php echo e(__('layout.streamline_support_system')); ?></a></li>
</ul>
</li>
<?php endif; ?>
</ul>
</div>
</nav>
<?php /**PATH /var/www/html/resources/views/layouts/top.blade.php ENDPATH**/ ?>
File diff suppressed because one or more lines are too long
@@ -0,0 +1,153 @@
<!DOCTYPE html>
<html lang="<?php echo e(app()->getLocale()); ?>">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<!-- CSRF Token -->
<meta name="csrf-token" content="<?php echo e(csrf_token()); ?>">
<link rel="icon" type="image/png" sizes="16x16"
href="<?php echo e(asset('uploads/streamline/color/streamline_icon-02.png')); ?>">
<title><?php echo e(config('app.name', 'Streamline')); ?></title>
<!-- Bootstrap Core CSS -->
<link href="<?php echo e(asset('elite/bootstrap/dist/css/bootstrap.min.css')); ?>" rel="stylesheet">
<link href="<?php echo e(asset('elite/bower_components/bootstrap-extension/css/bootstrap-extension.css')); ?>" rel="stylesheet">
<!-- Menu CSS -->
<link href="<?php echo e(asset('elite/bower_components/sidebar-nav/dist/sidebar-nav.min.css')); ?>" rel="stylesheet">
<!-- animation CSS -->
<link href="<?php echo e(asset('elite/css/animate.css')); ?>" rel="stylesheet">
<!-- Custom CSS -->
<link href="<?php echo e(asset('elite/css/style.css')); ?>" rel="stylesheet">
<!-- color CSS -->
<link href="<?php echo e(asset('elite/css/colors/green-dark.css')); ?>" id="theme" rel="stylesheet">
<!-- Streamline - custom -->
<link href="<?php echo e(asset('css/streamline-custom.css')); ?>" id="theme" rel="stylesheet">
<style type="text/css">
body {
font-size: 13px;
line-height: 1.2;
}
.fingerprint_box {
height: 280px;
width: 250px;
border: 3px solid green;
border-radius: 20px;
margin: 1rem 0;
background-color: rgb(247, 247, 247);
background-position: center;
background-size: contain;
background-repeat: no-repeat;
}
</style>
<?php echo $__env->yieldPushContent('styles'); ?>
</head>
<body>
<!-- Preloader -->
<div class="preloader">
<div class="cssload-speeding-wheel"></div>
</div>
<div id="wrapper">
<!-- Top navigation -->
<?php echo $__env->make('layouts.top', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<!-- .Top navigation -->
<?php if(session()->has('streamline_setup') == FALSE): ?>
<?php echo $__env->make('layouts.nav', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php endif; ?>
<!-- Page Content -->
<div id="page-wrapper">
<div class="container-fluid" style="background: #708090;">
<?php echo $__env->make('general_settings.subscription_noti', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<!--row -->
<?php echo $__env->yieldContent('content'); ?>
<!-- /.row -->
<!-- .right-sidebar -->
<?php echo $__env->make('layouts.options', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<!-- /.right-sidebar -->
</div>
<!-- /.container-fluid -->
<footer class="footer text-center"> <?php echo e(date('Y')); ?> &copy; Stre@mline <?php echo e(__('layout.powered_by')); ?> Kisiizi Hospital <?php echo e(__('layout.and')); ?> Streamline Health Ltd - <?php echo e(__('layout.version_number')); ?> - </footer>
</div>
<!-- /#page-wrapper -->
</div>
<!-- /#wrapper -->
<!-- jQuery -->
<script src="<?php echo e(asset('elite/bower_components/jquery/dist/jquery.min.js')); ?>"></script>
<!-- Bootstrap Core JavaScript -->
<script src="<?php echo e(asset('elite/bootstrap/dist/js/tether.min.js')); ?>"></script>
<script src="<?php echo e(asset('elite/bootstrap/dist/js/bootstrap.min.js')); ?>"></script>
<script src="<?php echo e(asset('elite/bower_components/bootstrap-extension/js/bootstrap-extension.min.js')); ?>"></script>
<!-- Menu Plugin JavaScript -->
<script src="<?php echo e(asset('elite/bower_components/sidebar-nav/dist/sidebar-nav.min.js')); ?>"></script>
<!--slimscroll JavaScript -->
<script src="<?php echo e(asset('elite/js/jquery.slimscroll.js')); ?>"></script>
<!--Wave Effects -->
<script src="<?php echo e(asset('elite/js/waves.js')); ?>"></script>
<!-- Custom Theme JavaScript -->
<script src="<?php echo e(asset('elite/js/custom.min.js')); ?>"></script>
<!--Style Switcher -->
<script src="<?php echo e(asset('elite/bower_components/styleswitcher/jQuery.style.switcher.js')); ?>"></script>
<script type="text/javascript">
//Set ajax callbacks
$.ajaxSetup({
headers: {
'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
}
});
// prevent multiple submissions of the forms
$("form").submit(function() {
$(this).submit(function() {
return false;
});
return true;
});
// new click event to capture if the user wants to close the sidebar
$(".open-close-custom").on('click', function () {
if ($("body").hasClass("content-wrapper")) {
$("body").trigger("resize");
$(".sidebar-nav, .slimScrollDiv").css("overflow", "hidden").parent().css("overflow", "visible");
$("body").removeClass("content-wrapper");
$(".open-close i").addClass("icon-arrow-left-circle");
$(".logo span").show();
localStorage.setItem("sidebarState", "0");
} else {
$("body").trigger("resize");
$(".sidebar-nav, .slimScrollDiv").css("overflow-x", "visible").parent().css("overflow", "visible");
$("body").addClass("content-wrapper");
$(".open-close i").removeClass("icon-arrow-left-circle");
$(".logo span").hide();
localStorage.setItem("sidebarState", "1");
}
});
$(window).load(function() {
// once all the window elements have loaded, check state of the sidebar
let sidebarState = localStorage.getItem("sidebarState");
if (sidebarState == 1){
// if the sidebar status is hidden, hide the sidebar
$("body").trigger("resize");
$(".sidebar-nav, .slimScrollDiv").css("overflow-x", "visible").parent().css("overflow", "visible");
$("body").addClass("content-wrapper");
$(".open-close i").removeClass("icon-arrow-left-circle");
$(".logo span").hide();
}
});
</script>
<?php echo $__env->yieldPushContent('scripts'); ?>
<script src="<?php echo e(asset('elite/bower_components/styleswitcher/jQuery.style.switcher.js')); ?>"></script>
</body>
</html>
<?php /**PATH /var/www/html/resources/views/layouts/main.blade.php ENDPATH**/ ?>
@@ -0,0 +1,82 @@
<?php $__env->startPush('styles'); ?>
<link href="<?php echo e(asset('/elite/bower_components/datatables/jquery.dataTables.min.css')); ?>" rel="stylesheet" type="text/css" />
<link href="<?php echo e(asset('elite/tables/css/buttons.dataTables.min.css')); ?>" rel="stylesheet" type="text/css" />
<?php $__env->stopPush(); ?>
<?php $__env->startSection('content'); ?>
<div class="row bg-title">
<div class="col-lg-3 col-md-4 col-sm-4 col-xs-12">
<h4 class="page-title"><?php echo e(__('districts.view_districts')); ?></h4>
</div>
<div class="col-lg-9 col-sm-8 col-md-8 col-xs-12">
<ol class="breadcrumb">
<li><a href="<?php echo e(route('home')); ?>"><?php echo e(__('districts.dashboard')); ?></a></li>
<li><a href="/districts/"><?php echo e(__('districts.districts')); ?></a></li>
<li class="active"><?php echo e(__('districts.view_districts')); ?></li>
</ol>
</div>
</div>
<div class="row">
<div class="col-md-12">
<?php echo $__env->make('flash::message', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<div class="white-box">
<p class="text-muted m-b-30"><?php echo e(__('districts.export_to_pdf')); ?></p>
<div class="table-responsive">
<table id="table" class="display nowrap" cellspacing="0" width="60%">
<thead>
<tr>
<th><?php echo e(__('districts.district_name')); ?></th>
<th></th>
<th></th>
</tr>
</thead>
<tbody>
<?php $__currentLoopData = $districts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $district): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<tr>
<td><?php echo e($district->name); ?></td>
<td>
<a href="/districts/<?php echo e($district->id); ?>/edit/" class="btn btn-info"><i class="fa fa-pencil"></i> <?php echo e(__('districts.edit')); ?></a>
</td>
<td>
<?php echo e(Form::model($district->id ,['method' => 'DELETE', 'route' => ['districts.destroy', $district->id]])); ?>
<button type="submit" class="btn btn-danger" onclick="return confirm('Are you sure?')"><i class="fa fa-trash"></i> <?php echo e(__('districts.delete')); ?></button>
<?php echo e(Form::close()); ?>
</td>
</tr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</tbody>
</table>
</div>
</div>
</div>
</div>
<?php $__env->stopSection(); ?>
<?php $__env->startPush('scripts'); ?>
<script src="<?php echo e(asset('elite/bower_components/datatables/jquery.dataTables.min.js')); ?>"></script>
<script src="<?php echo e(asset('elite/tables/js/dataTables.buttons.min.js')); ?>"></script>
<script src="<?php echo e(asset('elite/tables/js/buttons.flash.min.js')); ?>"></script>
<script src="<?php echo e(asset('elite/tables/js/jszip.min.js')); ?>"></script>
<script src="<?php echo e(asset('elite/tables/js/pdfmake.min.js')); ?>"></script>
<script src="<?php echo e(asset('elite/tables/js/vfs_fonts.js')); ?>"></script>
<script src="<?php echo e(asset('elite/tables/js/buttons.html5.min.js')); ?>"></script>
<script src="<?php echo e(asset('elite/tables/js/buttons.print.min.js')); ?>"></script>
<script>
$(document).ready(function () {
$('#table').DataTable({
dom: 'Bfrtip',
buttons: [
'copy', 'csv', 'excel', 'pdf', 'print'
]
});
});
</script>
<?php $__env->stopPush(); ?>
<?php echo $__env->make('layouts.main', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/html/Modules/ClinicalData/Resources/views/districts/index.blade.php ENDPATH**/ ?>
@@ -0,0 +1,154 @@
<!DOCTYPE html>
<html lang="<?php echo e(app()->getLocale()); ?>">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<link rel="icon" type="image/png" sizes="16x16" href="<?php echo e(asset('uploads/streamline/color/streamline_icon-02.png')); ?>">
<title><?php echo e(config('app.name')); ?></title>
<!-- Bootstrap Core CSS -->
<link href="<?php echo e(asset('elite/bootstrap/dist/css/bootstrap.min.css')); ?>" rel="stylesheet">
<link href="<?php echo e(asset('elite/bower_components/bootstrap-extension/css/bootstrap-extension.css')); ?>" rel="stylesheet">
<!-- animation CSS -->
<link href="<?php echo e(asset('elite/css/animate.css')); ?>" rel="stylesheet">
<!-- Custom CSS -->
<link href="<?php echo e(asset('elite/css/style.css')); ?>" rel="stylesheet">
<!-- color CSS -->
<link href="<?php echo e(asset('elite/css/colors/megna.css')); ?>" id="theme" rel="stylesheet">
<!-- Streamline - custom -->
<link href="<?php echo e(asset('css/streamline-custom.css')); ?>" id="theme" rel="stylesheet">
</head>
<body>
<!-- Preloader -->
<div class="preloader">
<div class="cssload-speeding-wheel"></div>
</div>
<section id="wrapper" class="login-register" style="background:url(../../uploads/streamline_images/login_cover.png) center center/cover no-repeat!important;">
<div class="login-box login-sidebar">
<div class="white-box">
<!--Flash messages at the top -->
<div><?php echo $__env->make('flash::message', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?></div>
<!--<div class="white-box">-->
<?php if($message = Session::get('success')): ?>
<div class="alert alert-success">
<p><?php echo e($message); ?></p>
</div>
<?php endif; ?>
<form class="form-horizontal form-material" id="loginform" method="POST" action="<?php echo e(route('login')); ?>">
<?php echo e(csrf_field()); ?>
<a href="javascript:void(0)" class="text-center db">
<img src="<?php echo e(asset(isset($hospital_information->logo) ? $hospital_information->logo :'uploads/logo/logo.png')); ?>" height="120px" alt="Home" /><br/>
</a>
<div class="form-group m-t-40 <?php echo e($errors->has('username') ? ' has-error' : ''); ?>">
<div class="col-xs-12">
<input class="form-control" type="text" name="username" required value="<?php echo e(old('username')); ?>" autofocus placeholder="<?php echo e(__('auth.username')); ?>">
<?php if($errors->has('username')): ?>
<span class="help-block">
<strong><?php echo e($errors->first('username')); ?></strong>
</span>
<?php endif; ?>
</div>
</div>
<div class="form-group <?php echo e($errors->has('password') ? ' has-error' : ''); ?>">
<div class="col-xs-12">
<input class="form-control" type="password" name="password" required="" placeholder="<?php echo e(__('auth.password')); ?>">
<?php if($errors->has('password')): ?>
<span class="help-block">
<strong><?php echo e($errors->first('password')); ?></strong>
</span>
<?php endif; ?>
</div>
</div>
<div class="form-group">
<div class="col-md-12">
<div class="checkbox checkbox-primary pull-left p-t-0">
<input id="checkbox-signup" type="checkbox" name="remember" disabled="true" <?php echo e(old('remember') ? 'checked' : ''); ?>>
<label for="checkbox-signup"> <?php echo e(__('auth.remember_me')); ?> </label>
</div>
<a href="javascript:void(0)" id="to-recover" class="text-dark pull-right"><i class="fa fa-lock m-r-5"></i> <?php echo e(__('auth.reset_password')); ?></a> </div>
</div>
<div class="form-group text-center m-t-20">
<div class="col-xs-12">
<button class="btn btn-info btn-lg btn-block text-uppercase waves-effect waves-light" type="submit"><?php echo e(__('auth.log_in')); ?></button>
</div>
</div>
<div class="form-group m-b-0">
<div class="col-sm-12 text-center">
<p><?php echo e(__('auth.visit')); ?> <a href="http://www.streamlinehealth.org" target="_blank" class="text-primary m-l-4"><b>www.streamlinehealth.org</b></a></p>
</div>
</div>
</form>
<form class="form-horizontal" id="recoverform" method="POST" action="<?php echo e(route('reset.check')); ?>">
<?php echo e(csrf_field()); ?>
<div class="form-group ">
<div class="col-xs-12">
<h3><?php echo e(__('auth.reset_password')); ?></h3>
<p class="text-muted"><?php echo e(__('auth.login_prompt')); ?></p>
</div>
</div>
<div class="form-group ">
<div class="col-xs-12">
<div class="form-group">
<?php echo e(Form::label('security_question_id',__('auth.recorded_security_question'))); ?>
<?php echo e(Form::select('security_question_id',$security_questions,'',['class' => 'form-control compulsory'])); ?>
</div>
<div class="form-group">
<?php echo e(Form::label('security_answer',__('auth.security_answer'))); ?>
<?php echo e(Form::text('security_answer','',['class' => 'form-control compulsory','placeholder'=>'Security answer'])); ?>
</div>
<div class="form-group ">
<?php echo e(Form::label('pin',__('auth.your_pin'))); ?>
<?php echo e(Form::text('pin','',['class' => 'form-control compulsory','placeholder'=>'PIN'])); ?>
</div>
<div class="form-group ">
<button class="btn btn-success text-uppercase waves-effect waves-light float-right" type="submit"><?php echo e(__('auth.reset_password')); ?></button>
</div>
</div>
</div>
<div class="form-group text-center m-t-20">
<div class="col-xs-12">
</div>
</div>
</form>
</div>
</div>
</section>
<!-- jQuery -->
<script src="<?php echo e(asset('elite/bower_components/jquery/dist/jquery.min.js')); ?>"></script>
<!-- Bootstrap Core JavaScript -->
<script src="<?php echo e(asset('elite/bootstrap/dist/js/tether.min.js')); ?>"></script>
<script src="<?php echo e(asset('elite/bootstrap/dist/js/bootstrap.min.js')); ?>"></script>
<script src="<?php echo e(asset('elite/bower_components/bootstrap-extension/js/bootstrap-extension.min.js')); ?>"></script>
<!-- Menu Plugin JavaScript -->
<script src="<?php echo e(asset('elite/bower_components/sidebar-nav/dist/sidebar-nav.min.js')); ?>"></script>
<!--slimscroll JavaScript -->
<script src="<?php echo e(asset('elite/js/jquery.slimscroll.js')); ?>"></script>
<!--Wave Effects -->
<script src="<?php echo e(asset('elite/js/waves.js')); ?>"></script>
<!-- Custom Theme JavaScript -->
<script src="<?php echo e(asset('elite/js/custom.min.js')); ?>"></script>
<!--Style Switcher -->
<script src="<?php echo e(asset('elite/bower_components/styleswitcher/jQuery.style.switcher.js')); ?>"></script>
</body>
</html>
<?php /**PATH /var/www/html/resources/views/auth/login.blade.php ENDPATH**/ ?>