@extends('layouts.supplier') @section('title', 'Dashboard') @section('header-title', 'Dasbor Mitra') @section('header-subtitle', 'Ringkasan performa penjualan produk Anda') @section('content')
Dibayar: {{ $batch->settledAt?->format('d M Y H:i') ?? '-' }}
@if($batch->items->count() > 0) @php $totalSold = $batch->items->sum('soldQty'); $totalReturned = $batch->items->sum('returnedQty'); @endphp