migrate to gtea from bistbucket
This commit is contained in:
20
resources/views/admin/notifications/datas.blade.php
Normal file
20
resources/views/admin/notifications/datas.blade.php
Normal file
@@ -0,0 +1,20 @@
|
||||
@foreach ($notifications as $notification)
|
||||
<tr>
|
||||
<td>{{ $loop->index+1 }}</td>
|
||||
<td>{{ $notification->data['message'] ?? '' }}</td>
|
||||
<td>{{ formatted_date($notification->created_at, 'd M Y - H:i A') }}</td>
|
||||
<td>{{ formatted_date($notification->read_at, 'd M Y - H:i A') }}</td>
|
||||
<td>
|
||||
<div class="dropdown table-action">
|
||||
<button type="button" data-bs-toggle="dropdown">
|
||||
<i class="far fa-ellipsis-v"></i>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<li>
|
||||
<a href="{{ route('admin.notifications.mtView', $notification->id) }}"><i class="fas fa-eye"></i> @lang('View')</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
42
resources/views/admin/notifications/index.blade.php
Normal file
42
resources/views/admin/notifications/index.blade.php
Normal file
@@ -0,0 +1,42 @@
|
||||
@extends('layouts.master')
|
||||
|
||||
@section('title')
|
||||
{{ __('Notifications List') }}
|
||||
@endsection
|
||||
|
||||
@section('main_content')
|
||||
<div class="erp-table-section">
|
||||
<div class="container-fluid">
|
||||
<div class="card">
|
||||
<div class="card-bodys ">
|
||||
<div class="table-header p-16">
|
||||
<h4>{{ __('Notifications List') }}</h4>
|
||||
</div>
|
||||
<div class="table-top-form p-16-0">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="responsibe-table m-0">
|
||||
<table class="table" id="erp-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>@lang('SL.')</th>
|
||||
<th>@lang('Message')</th>
|
||||
<th>@lang('Created At')</th>
|
||||
<th>@lang('Read At')</th>
|
||||
<th>@lang('Action')</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="notifications-data" class="searchResults">
|
||||
@include('admin.notifications.datas')
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@push('modal')
|
||||
@include('admin.components.multi-delete-modal')
|
||||
@endpush
|
||||
Reference in New Issue
Block a user