@extends('adminlte::page') @section('title', 'Dashboard') @section('content_header')

Dashboard

@stop @section('content')

{{ $totalShortlinks }}

Total Shortlinks

More info

{{ $totalClicks }}

Total Clicks

More info

Rp {{ number_format($totalEarnings, 0) }}

Total Earnings

More info

{{ $pendingWithdrawals }}

Pending Withdrawals

More info

Recent Shortlinks

@foreach($latestShortlinks as $shortlink) @endforeach
ID Original URL Clicks Created
{{ $shortlink->id }} {{ Str::limit($shortlink->original, 30) }} {{ $shortlink->clicks }} {{ $shortlink->created_at->format('Y-m-d') }}

Recent Earnings

@foreach($recentEarnings as $earning) @endforeach
Date Amount Status
{{ $earning->created_at->format('Y-m-d') }} Rp {{ number_format($earning->seller_amount, 0) }} {{ ucfirst($earning->status) }}

Recent Withdrawal Requests

@foreach($recentWithdrawals as $withdrawal) @endforeach
ID Amount Status Requested
{{ $withdrawal->id }} Rp {{ number_format($withdrawal->amount, 0) }} {{ ucfirst($withdrawal->status) }} {{ $withdrawal->created_at->format('Y-m-d H:i') }}
@stop