mirror of
https://gitlab.com/signalytic/client-external/streamline/streamline-emr.git
synced 2026-09-12 03:01:32 +00:00
resolved conflicts
This commit is contained in:
+45
@@ -0,0 +1,45 @@
|
||||
@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">{{ __('lab_forms.add_lab_form') }}</h4>
|
||||
</div>
|
||||
<div class="col-lg-9 col-sm-8 col-md-8 col-xs-12">
|
||||
<ol class="breadcrumb">
|
||||
<li><a href="{{ route('home') }}"><i class="fa fa-home"></i> {{ __('lab_forms.home') }}</a></li>
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
@include('investigations::labs.menu')
|
||||
|
||||
@include('flash::message')
|
||||
|
||||
<div class="white-box" style="border-radius: 5px;">
|
||||
{{ Form::open(['method'=>'POST', 'route'=>'lab_forms.store']) }}
|
||||
|
||||
<div class="form-group">
|
||||
<label>{{ __('lab_forms.lab_form_name') }}</label>
|
||||
<input name="name" class="form-control" type="text">
|
||||
</div>
|
||||
|
||||
<div class="form-group text-right">
|
||||
<input type="submit" class="btn btn-success">
|
||||
</div>
|
||||
|
||||
{{ Form::close() }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@endsection
|
||||
|
||||
+48
@@ -0,0 +1,48 @@
|
||||
@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">{{ __('lab_forms.edit_lab_form') }}</h4>
|
||||
</div>
|
||||
<div class="col-lg-9 col-sm-8 col-md-8 col-xs-12">
|
||||
<ol class="breadcrumb">
|
||||
<li><a href="{{ route('home') }}"><i class="fa fa-home"></i> {{ __('lab_forms.home') }}</a></li>
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
@include('investigations::labs.menu')
|
||||
|
||||
@include('flash::message')
|
||||
|
||||
<div class="white-box" style="border-radius: 5px;">
|
||||
|
||||
{{ Form::open(['method'=>'PUT', 'route'=>['lab_forms.update', $lab_form]]) }}
|
||||
|
||||
<div class="form-group">
|
||||
<label>{{ __('lab_forms.lab_form_name') }}</label>
|
||||
<input type="hidden" value="{{ $lab_form->id }}">
|
||||
<input name="name" class="form-control compulsory" required value="{{ $lab_form->name }}" type="text">
|
||||
</div>
|
||||
|
||||
<div class="form-group text-right">
|
||||
<input type="submit" class="btn btn-success">
|
||||
</div>
|
||||
|
||||
{{ Form::close() }}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@endsection
|
||||
|
||||
+198
@@ -0,0 +1,198 @@
|
||||
@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>
|
||||
table.dataTable thead th:after {
|
||||
content: "" !important;
|
||||
}
|
||||
|
||||
.show-on-hover {
|
||||
visibility: hidden !important;
|
||||
}
|
||||
|
||||
.show-on-hover-sec:hover .show-on-hover,
|
||||
.show-on-hover-sec:focus .show-on-hover {
|
||||
visibility: initial !important;
|
||||
}
|
||||
|
||||
.show-on-hover-none {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.show-on-hover-sec:hover .show-on-hover-none,
|
||||
.show-on-hover-sec:focus .show-on-hover-none {
|
||||
display: flex !important;
|
||||
gap: 4px
|
||||
}
|
||||
|
||||
td .show-on-hover-none * {
|
||||
text-transform: capitalize;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.show-on-hover-sec td {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
td .show-on-hover-none {
|
||||
position: absolute;
|
||||
bottom: .5rem;
|
||||
}
|
||||
|
||||
td .show-on-hover-none .dropdown ul {
|
||||
transform: translate(5px, 20px) !important;
|
||||
}
|
||||
|
||||
.active-box {
|
||||
font-weight: bold;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
|
||||
.text-content-view::after {
|
||||
content: 'View';
|
||||
}
|
||||
|
||||
.text-content-edit::after {
|
||||
content: 'Edit';
|
||||
}
|
||||
|
||||
.text-content-options::after {
|
||||
content: 'Options ✢';
|
||||
border: none;
|
||||
}
|
||||
|
||||
.text-content-options.show::after {
|
||||
content: 'Options --';
|
||||
}
|
||||
|
||||
.text-content-archive::after {
|
||||
content: 'Archive record';
|
||||
}
|
||||
|
||||
.text-content-delete::after {
|
||||
content: 'Delete item';
|
||||
}
|
||||
|
||||
.text-content-delete-hard::after {
|
||||
content: 'Permanently delete item';
|
||||
}
|
||||
|
||||
.text-content-archive-restore::after {
|
||||
content: 'Restore from archive'
|
||||
}
|
||||
|
||||
.text-content-trash-restore::after {
|
||||
content: 'Restore from trash'
|
||||
}
|
||||
|
||||
.text-content-clear-logs::after {
|
||||
content: 'Clear record logs'
|
||||
}
|
||||
|
||||
|
||||
.right-0 {
|
||||
right: 0;
|
||||
}
|
||||
</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">{{ __('lab_forms.view_lab_form') }}</h4>
|
||||
</div>
|
||||
<div class="col-lg-9 col-sm-8 col-md-8 col-xs-12">
|
||||
<ol class="breadcrumb">
|
||||
<li><a href="{{ route('home') }}"><i class="fa fa-home"></i> {{ __('lab_forms.home') }}</a></li>
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
@include('investigations::labs.menu')
|
||||
|
||||
@include('flash::message')
|
||||
|
||||
<div class="white-box" style="border-radius: 5px;">
|
||||
<div class="panel">
|
||||
<div class=" d-flex justify-content-between flex-wrap">
|
||||
{{-- <span>{{ __('clinical_data.lab_usages_report') }} </span> --}}
|
||||
<div class="d-flex justify-content-between ">
|
||||
@if (Auth::user()->can('labs-create'))
|
||||
<a href="{{ route('labs.create') }}" class="mr-2 btn btn-default{{ url()->current() == route('labs.create') ? ' active-box ' : '' }} my-1">{{ __('labs.add_lab') }}</a>
|
||||
<a href="{{ route('lab_forms.create') }}" class="mr-2 btn btn-default{{ url()->current() == route('lab_forms.create') ? ' active-box ' : '' }} my-1">{{ __('labs.add_lab_form') }}</a>
|
||||
@endif
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="table-responsive">
|
||||
<table class="table table-hover color-bordered-table success-bordered-table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{{ __('lab_forms.lab_form_name') }}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach ($lab_forms as $item)
|
||||
<tr class="show-on-hover-sec">
|
||||
<td class="position-relative py-4">
|
||||
{{ $item->name }}
|
||||
<div class="show-on-hover-none d-flex justify-content-start gap-2 right-0 position-absolute pull-right"
|
||||
style="z-index: 5">
|
||||
<a href="{{ route('lab_forms.edit', $item->id) }}"
|
||||
class="btn btn-rounded btn-warning text-content-edit btn-sm"><i
|
||||
class="fa fa-pencil"></i>
|
||||
</a>
|
||||
{{ Form::model($item->id, ['method' => 'DELETE', 'route' => ['lab_forms.destroy', $item->id]]) }}
|
||||
<button onclick="return confirm('<?php echo __('lab_forms.are_you_sure'); ?>')"
|
||||
class="btn btn-rounded btn-danger text-content-delete btn-sm"><i
|
||||
class="fa fa-trash"></i>
|
||||
</button>
|
||||
{{ Form::close() }}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<th>{{ __('lab_forms.lab_form_name') }}</th>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</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',
|
||||
order: [
|
||||
[0, 'desc']
|
||||
],
|
||||
buttons: [
|
||||
'copy', 'csv', 'excel', 'pdf', 'print'
|
||||
],
|
||||
'pageLength': 50,
|
||||
});
|
||||
</script>
|
||||
@endpush
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
<a href="{{ route('labs.create') }}">{{ __('lab_forms.add_lab') }}</a>
|
||||
<a href="{{ route('labs.add_bulk') }}">{{ __('lab_forms.') }}</a>
|
||||
<a href="{{ route('labs.edit_bulk') }}">{{ __('lab_forms.edit_lab_form') }}</a>
|
||||
<a href="{{ route('labs.delete_bulk') }}">{{ __('lab_forms.delete_multiple_labs') }}</a>
|
||||
<a href="{{ route('labs.clear_stock') }}">{{ __('lab_forms.clear_stock') }}</a>
|
||||
<a href="{{ route('lab_forms.index') }}">{{ __('lab_forms.view_lab_form') }}</a>
|
||||
<a href="{{ route('lab_forms.create') }}">{{ __('lab_forms.add_lab_form') }}</a>
|
||||
Reference in New Issue
Block a user