@extends('template.desktop.app') @section('content')
Pesanan Hari ini
@php $percentage = $card_order['percentage_change']; $isPositive = $percentage >= 0; @endphp {{ $isPositive ? '+' : '' }}{{ $percentage }}% Dibandingkan Hari kemarin
Total Agen Aktif
@php $isPositive = $card_agents['percentage_change'] >= 0; @endphp{{ $isPositive ? '+' : '' }}{{ $card_agents['percentage_change'] }}% dibanding bulan lalu
Total Mitra Aktif
@php $isPositive = $card_partners['percentage_change'] >= 0; @endphp{{ $isPositive ? '+' : '' }}{{ $card_partners['percentage_change'] }}% dibanding bulan lalu
Total Pendapatan
@php $isPositive = $card_revenue['revenue_change'] >= 0; @endphp{{ $isPositive ? '+' : '' }}{{ $card_revenue['revenue_change'] }}% dibanding bulan lalu
Total Pesanan Selesai
@php $isPositive = $card_completed['completed_change'] >= 0; @endphp{{ $isPositive ? '+' : '' }}{{ $card_completed['completed_change'] }}% dibanding bulan lalu
Pesanan Dikembalikan
@php $isPositive = $card_returned['returned_change'] >= 0; @endphp{{ $isPositive ? '+' : '' }}{{ $card_returned['returned_change'] }}% dibanding bulan lalu
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
@endifPelanggan Baru
@php $isPositive = $card_new_customers['percentage_change'] >= 0; @endphp{{ $isPositive ? '+' : '' }}{{ $card_new_customers['percentage_change'] }}% dibanding bulan lalu
Mengingat statistik penjualan harian dalam bulan ini.
Wilayah dengan jumlah order terbanyak