@extends('adminlte::page')
@section('title', 'Dashboard')
@section('content_header')
Dashboard
@stop
@section('content')
{{ $totalShortlinks }}
Total Shortlinks
{{ $totalClicks }}
Total Clicks
Rp {{ number_format($totalEarnings, 0) }}
Total Earnings
{{ $pendingWithdrawals }}
Pending Withdrawals
| ID |
Original URL |
Clicks |
Created |
@foreach($latestShortlinks as $shortlink)
| {{ $shortlink->id }} |
{{ Str::limit($shortlink->original, 30) }} |
{{ $shortlink->clicks }} |
{{ $shortlink->created_at->format('Y-m-d') }} |
@endforeach
| Date |
Amount |
Status |
@foreach($recentEarnings as $earning)
| {{ $earning->created_at->format('Y-m-d') }} |
Rp {{ number_format($earning->seller_amount, 0) }} |
{{ ucfirst($earning->status) }}
|
@endforeach
| ID |
Amount |
Status |
Requested |
@foreach($recentWithdrawals as $withdrawal)
| {{ $withdrawal->id }} |
Rp {{ number_format($withdrawal->amount, 0) }} |
{{ ucfirst($withdrawal->status) }}
|
{{ $withdrawal->created_at->format('Y-m-d H:i') }} |
@endforeach
@stop