diff --git a/app/Modules/Invite/Views/index.blade.php b/app/Modules/Invite/Views/index.blade.php index f8b69f0..a844e7c 100644 --- a/app/Modules/Invite/Views/index.blade.php +++ b/app/Modules/Invite/Views/index.blade.php @@ -1,26 +1,41 @@ @php($title = 'Приглашения агентов') @extends('layouts.app') @section('content') -
-
-
-
- @csrf - -
+ @if($invites->count()) +
+
+
+
+ @csrf + +
+
-
+ @endif
Действующие приглашения для
{{ $company->name }}
-
+
+ @if(!$invites->count()) +
+
Нет активных ссылок-приглашений
+
+
+ @csrf + +
+
+
+ @endif @foreach ($invites as $invite)
- -