@extends('template.desktop.app') @section('content')

{{ $card_order['count_order_today'] }}

Pesanan Hari ini

@php $percentage = $card_order['percentage_change']; $isPositive = $percentage >= 0; @endphp {{ $isPositive ? '+' : '' }}{{ $percentage }}% Dibandingkan Hari kemarin

{{ $card_agents['count_active_agents'] }}

Total Agen Aktif

@php $isPositive = $card_agents['percentage_change'] >= 0; @endphp

{{ $isPositive ? '+' : '' }}{{ $card_agents['percentage_change'] }}% dibanding bulan lalu

{{ $card_partners['count_active_partners'] }}

Total Mitra Aktif

@php $isPositive = $card_partners['percentage_change'] >= 0; @endphp

{{ $isPositive ? '+' : '' }}{{ $card_partners['percentage_change'] }}% dibanding bulan lalu

Rp {{ $card_revenue['revenue_total'] }}

Total Pendapatan

@php $isPositive = $card_revenue['revenue_change'] >= 0; @endphp

{{ $isPositive ? '+' : '' }}{{ $card_revenue['revenue_change'] }}% dibanding bulan lalu

{{ $card_completed['completed_total'] }}

Total Pesanan Selesai

@php $isPositive = $card_completed['completed_change'] >= 0; @endphp

{{ $isPositive ? '+' : '' }}{{ $card_completed['completed_change'] }}% dibanding bulan lalu

{{ $card_returned['returned_total'] }}

Pesanan Dikembalikan

@php $isPositive = $card_returned['returned_change'] >= 0; @endphp

{{ $isPositive ? '+' : '' }}{{ $card_returned['returned_change'] }}% dibanding bulan lalu

{{ $card_box_sales['total_box'] > 0 ? $card_box_sales['total_box'] . ' Box' : '0 Box' }}, {{ $card_box_sales['remaining_sachet'] > 0 ? $card_box_sales['remaining_sachet'] . ' Sachet' : '0 Sachet' }}

Penjualan Box

@php $isPositive = $card_box_sales['percentage_change'] >= 0; @endphp {{ $isPositive ? '+' : '' }}{{ $card_box_sales['percentage_change'] }}% dibanding bulan lalu

@if ($card_box_sales['total_box'] == 0 && $card_box_sales['has_sales'])

*Penjualan terjadi, namun belum mencapai 1 box

@endif

{{ $card_new_customers['count'] }}

Pelanggan Baru

@php $isPositive = $card_new_customers['percentage_change'] >= 0; @endphp

{{ $isPositive ? '+' : '' }}{{ $card_new_customers['percentage_change'] }}% dibanding bulan lalu

Tren Penjualan Harian

Mengingat statistik penjualan harian dalam bulan ini.

Top 10 Wilayah Order

Wilayah dengan jumlah order terbanyak

  • Memuat data...

     

@endsection @push('scripts') @endpush