Files
streamline-emr/docker/statistics/Modules/ClinicalData/Resources/views/symptoms/inactive.blade.php
T
2025-03-31 03:46:05 +03:00

111 lines
4.8 KiB
PHP
Executable File

@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" />
@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">{{ __('symptoms.activate_symptoms') }}</h4>
</div>
<div class="col-lg-9 col-sm-8 col-md-8 col-xs-12">
<ol class="breadcrumb">
<li><a href="{{ route('home') }}">{{ __('symptoms.dashboard') }}</a></li>
<li><a href="{{ route('clinical_data.index') }}">{{ __('symptoms.clinical_data_home') }}</a></li>
<li><a href="{{ route('symptoms.index') }}">{{ __('symptoms.symptoms') }}</a></li>
<li class="active">{{ __('symptoms.inactive') }}</li>
</ol>
</div>
</div>
@include('clinical_data::symptoms.menu')
<div class="row">
<div class="col-sm-12">
<div class="white-box">
<!--
<div class="row">
{{ Form::open(['route' => 'symptoms.search', 'method' => 'ANY', 'role' => 'search']) }}
<div class="col-md-9">
<div class="form-group">
{{ Form::hidden('query_active', 0, ['class' => 'form-control']) }}
{{ Form::text('query_name', '', ['class' => 'form-control col-md-3', 'placeholder' => 'Search Symptoms']) }}
</div>
</div>
<div class="col-md-3">
<div class="form-group">-->
<!--<i class="fa fa-search"></i>-->
<!--{{ Form::submit('Search', ['class'=>'btn btn-default pull-right']) }}-->
<!--</div>-->
<!--</div>-->
<!--{{ Form::close() }}-->
<!--</div>-->
<p class="text-muted m-b-30">{{ __('symptoms.export_data_to_copy_csv_pdf_print') }}</p>
<div class="table-responsive">
<table class="table color-bordered-table success-bordered-table table-hover table-striped">
<thead>
<tr>
<th>{{ __('symptoms.symptom') }}</th>
<th>{{ __('symptoms.prompt') }}</th>
<th>{{ __('symptoms.reference_text') }}</th>
<th></th>
</tr>
</thead>
<tfoot>
<tr>
<th>{{ __('symptoms.symptom') }}</th>
<th>{{ __('symptoms.prompt') }}</th>
<th>{{ __('symptoms.reference_text') }}</th>
<th></th>
</tr>
</tfoot>
<tbody>
@foreach($symptoms as $symptom)
<tr>
<td>{{ $symptom->name }}</td>
<td>{{ $symptom->prompts }}</td>
<td>{{ $symptom->reference_text }}</td>
<td>
{{ Form::model($symptom->id ,['method' => 'POST', 'route' => ['symptoms.activate', $symptom->id]]) }}
<button type="submit" class="btn btn-rounded btn-warning" onclick="return confirm('<?php echo __('symptoms.are_you_sure')?>')"><i class="fa fa-check"></i> {{ __('symptoms.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