@extends('layouts.admin') @section('styles') @endsection @section('app')
To
@if (auth()->user()->role_id !== 5)
Total Aset

{{ formatToRupiah($totalAsset) }}

  • {{ $totalBarber }}
    Barber
  • {{ $totalUser }}
    Semua
@if ($topBarber && $topBarber->transactions_sum_total)
Top Barber

{{ $topBarber->biography->full_name ?? '-deleted-' }}

{{ formatToRupiah($topBarber->transactions_sum_total ?? 0) }}
mobile with coin
@endif
Grafik Keuangan

Keuntungan : {{ formatToRupiah($totalIncome - $totalExpense) }}

@endif
Top Layanan
Metode Pembayaran
@if (auth()->user()->role_id !== 5)
Pendapatan By Barber
Transaksi By Barber
@else
Top Pelanggan
@foreach ($topCustomersByTotal as $item) @endforeach
Nama Kontak Jumlah Transaksi Total Transakski
{{ $item->customer->name ?? '--deleted--' }} {{ $item->customer->contact_number ?? '-' }} {{ $item->transaction_count }} {{ formatToRupiah($item->total_transaction) }}
Pendapatan Barber
Jumlah Transaksi Total Transakski
{{ $incomeByBarber->transactions_count }} {{ $incomeByBarber->transactions_sum_total }}
@endif
@endsection @section('beforeScripts') @endsection @section('afterScripts') @endsection