@extends('../layout/' . $layout) @section('subhead') Call History @endsection @section('subcontent') @php $currency = DB::table('systemflag') ->where('name', 'Currency') ->select('value') ->first(); @endphp

Call History

@if ($totalRecords > 0) PDF CSV @endif
@csrf
@if (!$searchString) @else @endif
@if ($totalRecords > 0)
@php $no = 0; @endphp @foreach ($callHistory as $call) @endforeach
# User Type ASTROLOGER Call Rate Call Time Total Min Deduction Call Status
{{ ($page - 1) * 15 + ++$no }} {{ $call->userName }} @if($call->call_type == config('constants.CALL_TYPE.AUDIO_CALL_TYPE')) Audio @else Video @endif {{ $call->astrologerName }} {{ $call->callRate }} {{ date('d-m-Y h:i A', strtotime($call->updated_at)) ? date('d-m-Y h:i A', strtotime($call->updated_at)) : '--' }} {{ $call->totalMin }} @if ($call->deduction) {{ $currency->value }} {{ $call->deduction }} @endif {{ $call->callStatus }}
Showing {{ $start }} to {{ $end }} of {{ $totalRecords }} entries
@else
noData

No Data Available

@endif @endsection @section('script') @endsection