@extends('FrontUser.layouts.app') @section('title', 'Dashboard') @section('content')
Last recharge: {{ optional($lastRecharge?->created_at)->format('M d, Y h:i A') ?? '—' }}
Recharge WalletCall ID | Contact Name | Contact No. | Date/Time | Duration | Cost | Status | Actions |
---|---|---|---|---|---|---|---|
{{ data_get($call, 'call_id') ?? data_get($call, 'id') }} | {{ data_get($call, 'contact_name') ?? '—' }} | {{ data_get($call, 'phone_number') ?? '—' }} | @php($dt = data_get($call, 'date_time')){{ $dt ? \Illuminate\Support\Carbon::parse($dt)->format('M d, Y h:i A') : '—' }} | @php($dur = (int) (data_get($call, 'duration') ?? 0)){{ sprintf('%02d:%02d', floor($dur/60), $dur%60) }} | @php($cost = (float) (data_get($call, 'cost') ?? 0))₹ {{ number_format($cost, 2) }} | @php($status = data_get($call, 'status', 'active')){{ ucfirst($status) }} | |
No recent calls. |
Call ID | Contact | Scheduled Date/Time | Purpose | Status | Actions |
---|---|---|---|---|---|
{{ data_get($call, 'call_id') ?? data_get($call, 'id') }} | {{ data_get($call, 'contact_name') ?? '—' }} | @php($sdt = data_get($call, 'date_time')){{ $sdt ? \Illuminate\Support\Carbon::parse($sdt)->format('M d, Y h:i A') : '—' }} | {{ data_get($call, 'purpose') ?? '—' }} | Pending | |
No scheduled calls. |