resolved conflicts

This commit is contained in:
2025-03-31 03:46:05 +03:00
6454 changed files with 1520539 additions and 9 deletions
@@ -0,0 +1,90 @@
@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">{{ __('insurance_benefits.insurance_benefits') }}</h4>
</div>
<div class="col-lg-9 col-sm-8 col-md-8 col-xs-12">
<ol class="breadcrumb">
<li><a href="{{ route('home') }}">{{ __('insurance_groups.dashboard') }}</a></li>
<li class="active">{{ __('insurance_benefits.insurance_benefits') }}</li>
</ol>
</div>
</div>
@include('insurance::insurance_benefits.menu')
<div class="white-box">
@include('flash::message')
<div class="table-responsive">
<table id="table" class="table table-striped color-bordered-table success-bordered-table table-hover">
<thead>
<tr>
<th>{{ __('insurance_benefits.benefit_name') }}</th>
<th>{{ __('insurance_benefits.plan') }}</th>
<th>{{ __('insurance_benefits.waiting_period_days') }}</th>
<th>{{ __('insurance_benefits.fee') }}</th>
<th>{{ __('insurance_benefits.annual_member_limit') }}</th>
<th>{{ __('insurance_benefits.annual_family_limit') }}</th>
<th>{{ __('insurance_benefits.deactivated_at') }}</th>
<th></th>
</tr>
</thead>
<tbody>
@foreach($insurance_benefits as $insurance_benefit)
<tr>
<td>{{ $insurance_benefit->name }}</td>
<td>{{ $insurance_plans[$insurance_benefit->plan_id] }}</td>
<td>{{ $insurance_benefit->waiting_period }}</td>
<td>{{ ugandan_shillings($insurance_benefit->fee) }}</td>
<td>{{ ugandan_shillings($insurance_benefit->annual_member_limit) }}</td>
<td>{{ ugandan_shillings($insurance_benefit->annual_family_limit) }}</td>
<td>{{ streamline_date_time($insurance_benefit->deleted_at) }}</td>
<td>
@if(Auth::user()->can('insurance-benefits-inactive'))
{{ Form::model($insurance_benefit->id ,['method' => 'POST', 'route' => ['insurance_benefits.activate', $insurance_benefit->id]]) }}
<button type="submit" class="btn btn-rounded btn-warning" onclick="return confirm('<?php echo __('insurance_groups.are_you_sure')?>')"><i class="fa fa-check"></i> {{ __('insurance_groups.activate') }}</button>
{{ Form::close() }}
@endif
</td>
</tr>
@endforeach
</tbody>
</table>
</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',
bInfo: false,
bPaginate: false,
buttons: [
'copy', 'csv', 'excel', 'pdf', 'print'
]
});
</script>
@endpush