mirror of
https://gitlab.com/signalytic/client-external/streamline/streamline-emr.git
synced 2026-09-12 03:01:32 +00:00
71 lines
2.4 KiB
PHP
Executable File
71 lines
2.4 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">{{ __('drug_units.activate_drug_unit') }}</h4>
|
|
</div>
|
|
<div class="col-lg-9 col-sm-8 col-md-8 col-xs-12">
|
|
<ol class="breadcrumb">
|
|
<li><a href="{{ route('home') }}">{{ __('drug_units.dashboard') }}</a></li>
|
|
<li><a href="{{ route('clinical_data.index') }}">{{ __('drug_units.clinical_data') }}</a></li>
|
|
<li><a href="/drug_units/">{{ __('drug_units.drug_units') }}</a></li>
|
|
<li class="active">{{ __('drug_units.activate_drug_unit') }}</li>
|
|
</ol>
|
|
</div>
|
|
<!-- /.col-lg-12 -->
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="col-sm-12">
|
|
@include('clinical_data::drug_units.menu')
|
|
</div>
|
|
</div>
|
|
|
|
|
|
@include('flash::message')
|
|
|
|
<div class="panel panel-default" style="border-radius: 5px;">
|
|
<div class="panel-body">
|
|
<div class="table-responsive">
|
|
<table class="table color-bordered-table success-bordered-table table-striped">
|
|
<thead>
|
|
<tr>
|
|
<th>{{ __('drug_units.drug_unit_name') }}</th>
|
|
<th class="text-center">Action</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@foreach($drug_units as $drug_unit)
|
|
<tr>
|
|
<td>{{ $drug_unit->name }}</td>
|
|
<td>
|
|
{{ Form::model($drug_unit->id ,['method' => 'POST', 'route' => ['drug_units.activate', $drug_unit->id]]) }}
|
|
<button type="submit" class="btn btn-rounded btn-warning" onclick="return confirm('Are you sure?')"><i class="fa fa-check"></i> {{ __('drug_units.activate') }}</button>
|
|
{{ Form::close() }}
|
|
</td>
|
|
|
|
</tr>
|
|
@endforeach
|
|
</tbody>
|
|
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@endsection
|
|
|
|
@push('scripts')
|
|
|
|
<script src="{{ asset('elite/bower_components/datatables/jquery.dataTables.min.js') }}"></script>
|
|
|
|
<script>
|
|
$('.table').DataTable();
|
|
</script>
|
|
@endpush |