mirror of
https://gitlab.com/signalytic/client-external/streamline/streamline-emr.git
synced 2026-09-12 11:11:31 +00:00
updated streamline-setup v2
This commit is contained in:
Executable
+109
@@ -0,0 +1,109 @@
|
||||
@extends('layouts.main')
|
||||
|
||||
@push('styles')
|
||||
<link href="{{ asset('/elite/bower_components/datatables/jquery.dataTables.min.css') }}" rel="stylesheet" type="text/css" />
|
||||
<link href="{{ asset('elite/tables/css/buttons.dataTables.min.css') }}" rel="stylesheet" type="text/css" />
|
||||
|
||||
<style>
|
||||
th{
|
||||
white-space: nowrap;
|
||||
}
|
||||
</style>
|
||||
@endpush
|
||||
|
||||
@section('content')
|
||||
<div class="row bg-title">
|
||||
<div class="col-lg-3 col-md-4 col-sm-4 col-xs-12">
|
||||
<h4 class="page-title">{{ __('investigations.activate_investigations') }}</h4>
|
||||
</div>
|
||||
<div class="col-lg-9 col-sm-8 col-md-8 col-xs-12">
|
||||
<ol class="breadcrumb">
|
||||
<li><a href="{{ route('home') }}">{{ __('investigations.dashboard') }}</a></li>
|
||||
<li><a href="{{ route('investigations.index') }}">{{ __('investigations.investigations') }}</a></li>
|
||||
<li class="active">{{ __('investigations.activate_investigations') }}</li>
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@include('investigations::investigations.menu')
|
||||
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<!--Flash messages at the top -->
|
||||
@include('flash::message')
|
||||
<div class="white-box">
|
||||
<div class="table-responsive">
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{{ __('investigations.investigation_name') }}</th>
|
||||
<th>{{ __('investigations.normal_ranges') }}</th>
|
||||
<th>{{ __('investigations.minimum') }}</th>
|
||||
<th>{{ __('investigations.sample_container') }}</th>
|
||||
<th>{{ __('investigations.non_insured_price') }}</th>
|
||||
<th>{{ __('investigations.insured_price') }}</th>
|
||||
<th>{{ __('investigations.comments') }}</th>
|
||||
<th>{{ __('investigations.lab_time') }}</th>
|
||||
<th>{{ __('investigations.category') }}</th>
|
||||
<th>{{ __('investigations.is_investigation_available') }}</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach($investigations as $investigation)
|
||||
<tr>
|
||||
<td>{{ $investigation->name }}</td>
|
||||
<td>{{ $investigation->normal_ranges }}</td>
|
||||
<td>{{ $investigation->minimum }}</td>
|
||||
<td>{{ $investigation->sample_container }}</td>
|
||||
<td>{{ $investigation->non_insured_price }}</td>
|
||||
<td>{{ $investigation->insured_price }}</td>
|
||||
<td>{{ $investigation->comments }}</td>
|
||||
<td>{{ $investigation->lab_time }}</td>
|
||||
<td>{{ isset($investigation_categories[$investigation->category]) ? $investigation_categories[$investigation->category] : "Not Set" }}</td>
|
||||
<td>
|
||||
@if ($investigation->available)
|
||||
{{ __('investigations.yes') }}
|
||||
@else
|
||||
{{ __('investigations.no') }}
|
||||
@endif
|
||||
</td>
|
||||
<td>
|
||||
{{ Form::model($investigation->id ,['method' => 'POST', 'route' => ['investigations.activate', $investigation->id]]) }}
|
||||
<button type="submit" class="btn btn-warning" onclick="return confirm('Are you sure?')"><i class="fa fa-check"></i> {{ __('investigations.activate') }}</button>
|
||||
{{ Form::close() }}
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@push('scripts')
|
||||
|
||||
<script src="{{ asset('elite/bower_components/datatables/jquery.dataTables.min.js') }}"></script>
|
||||
|
||||
<script src="{{ asset('elite/tables/js/dataTables.buttons.min.js') }}"></script>
|
||||
<script src="{{ asset('elite/tables/js/buttons.flash.min.js') }}"></script>
|
||||
<script src="{{ asset('elite/tables/js/jszip.min.js') }}"></script>
|
||||
<script src="{{ asset('elite/tables/js/pdfmake.min.js') }}"></script>
|
||||
<script src="{{ asset('elite/tables/js/vfs_fonts.js') }}"></script>
|
||||
<script src="{{ asset('elite/tables/js/buttons.html5.min.js') }}"></script>
|
||||
<script src="{{ asset('elite/tables/js/buttons.print.min.js') }}"></script>
|
||||
|
||||
<script>
|
||||
|
||||
|
||||
$('.table').DataTable({
|
||||
dom: 'Bfrtip',
|
||||
buttons: [
|
||||
'copy', 'csv', 'excel', 'pdf', 'print'
|
||||
]
|
||||
});
|
||||
|
||||
</script>
|
||||
@endpush
|
||||
Reference in New Issue
Block a user