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

70 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_routes.inactive_drug_route') }}</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_routes.dashboard') }}</a></li>
<li><a href="{{ route('clinical_data.index') }}">{{ __('drug_routes.clinical_data_route') }}</a></li>
<li><a href="/drug_routes/">{{ __('drug_routes.drug_routes') }}</a></li>
<li class="active">{{ __('drug_routes.activate') }}</li>
</ol>
</div>
<!-- /.col-lg-12 -->
</div>
<div class="row">
<div class="col-sm-12">
@include('clinical_data::drug_routes.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_routes.drug_route') }}</th>
<th>{{ __('drug_routes.action') }}</th>
</tr>
</thead>
<tbody>
@foreach($drug_routes as $drug_route)
<tr>
<td>{{ $drug_route->name }}</td>
<td>
{{ Form::model($drug_route->id ,['method' => 'POST', 'route' => ['drug_routes.activate', $drug_route->id]]) }}
<button type="submit" class="btn btn-rounded btn-warning" onclick="return confirm('<?php echo __("drug_routes.are_you_sure")?>')"><i class="fa fa-check"></i> {{ __('drug_routes.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