@extends('layouts.admin') @push('css-page') @include('Chatify::layouts.headLinks') @endpush @php $currentWorkspace = App\Models\Workspace::where('id',Auth::user()->currant_workspace)->first(); if(Auth::user()->type == 'admin') { $setting = App\Models\Utility::getAdminPaymentSetting(); if ($setting['color']) { $color = $setting['color']; } else{ $color = 'theme-3'; } } else { $setting = App\Models\Utility::getcompanySettings($currentWorkspace->id); $color = $setting->theme_color; } if( !isset($color) || $color == '' || $color == null){ $settings = App\Models\Utility::getAdminPaymentSetting(); $color = $settings['color']; } @endphp @section('page-title') {{ __('Messenger') }} @endsection @section('links') @if(\Auth::guard('client')->check()) @else @endif @endsection @section('content')
{{-- ----------------------Users/Groups lists side---------------------- --}}
{{-- Header and search bar --}} {{-- tabs and lists --}}
{{-- Lists [Users/Group] --}} {{-- ---------------- [ User Tab ] ---------------- --}}
{{-- Favorites --}}

Favorites

{{-- Saved Messages --}} {!! view('Chatify::layouts.listItem', ['get' => 'saved','id' => $id])->render() !!} {{-- Contact --}}
{{-- ---------------- [ Group Tab ] ---------------- --}}

{{__('Soon will be available')}}

{{-- ---------------- [ Search Tab ] ---------------- --}}
{{-- items --}}

{{__('Search')}}

{{__('Type to search..')}}

{{-- ----------------------Messaging side---------------------- --}}
{{-- header title [conversation name] amd buttons --}} {{-- Internet connection --}}
{{__('Connected')}} {{__('Connecting...')}} {{__('Please add pusher settings for using messenger.')}}
{{-- Messaging area --}}

{{__('Please select a chat to start messaging')}}

{{-- Typing indicator --}}

{{-- Send Message Form --}} @include('Chatify::layouts.sendForm')
{{-- ---------------------- Info side ---------------------- --}}
{{-- nav actions --}} {!! view('Chatify::layouts.info')->render() !!}
@endsection @push('scripts') @include('Chatify::layouts.modals') @endpush @if($color == "theme-1") @endif @if($color == "theme-2") @endif @if($color == "theme-3") @endif @if($color == "theme-4") @endif