@extends('layouts.app') @section('styles') @endsection @section('title') {{ $title }} @endsection @section('breadcrumbs') @endsection @section('content')

Pendapatan hari ini

{{ 'Rp ' .number_format(\App\Models\Transaction::where('seller_id', $seller->id)->where('status', 'success')->whereDate('created_at', now())->sum('amount'),0,',','.') }}

Transaksi hari ini

{{ \App\Models\Transaction::where('seller_id', $seller->id)->whereDate('created_at', now())->count() }}

Total pendapatan

{{ 'Rp ' .number_format(\App\Models\Transaction::where('seller_id', $seller->id)->where('status', 'success')->sum('amount'),0,',','.') }}

Transaksi selesai

{{ \App\Models\Transaction::where('seller_id', $seller->id)->where('status', 'success')->count() }}

Transaction Statistics
Total pendapatan minggu ini

Rp. {{ number_format($weeklyIncomeBersih ?? 0, 0, ',', '.') }}

Pendapatan minggu ini
Detail Data Penjual

Nama Toko

: {{ $seller->shop_name }}

Nama Penjual

: {{ $seller->name }}

Email

: {{ $seller->email }}

Nomor Hp

Status

: {{ $seller->status }}

Passsword

: {{ $seller->password }}

Dibuat Pada Tanggal

: {{ $seller->created_at->translatedFormat('d F Y , H:i') }}

Alamat / Lokasi

{!! $seller->location !!}

Logo Toko

@endsection @section('scripts') @endsection