{{ __('User Details') }}

{{ strtoupper(substr($user->name, 0, 1)) }}

{{ $user->name }}

{{ $user->email }}

{{ ucfirst($user->role) }}

Total Profit Generated

{{ number_format($totalProfit, 2) }}

@forelse($products as $product) @empty @endforelse
Product Name Quantity Unit Input Price Selling Price
{{ $product->name }} {{ $product->quantity }} {{ $product->unit }} {{ number_format($product->input_price_per_unit, 2) }} {{ number_format($product->selling_price_per_unit, 2) }}
No products found
{{ $products->links('vendor.pagination.tailwind') }}
@forelse($sales as $sale) @empty @endforelse
Date Product Customer Quantity Total Price
{{ $sale->created_at->format('d/m/Y H:i') }} {{ $sale->product->name }} {{ $sale->customer->username }} {{ $sale->quantity }} {{ $sale->product->unit }} {{ number_format($sale->total_price, 2) }}
No sales found
{{ $sales->links('vendor.pagination.tailwind') }}
@forelse($stockInputs as $input) @empty @endforelse
Date Product Quantity Input Price
{{ $input->created_at->format('d/m/Y H:i') }} {{ $input->product->name }} {{ $input->quantity }} {{ $input->product->unit }} {{ number_format($input->input_price_per_unit, 2) }}
No stock inputs found
{{ $stockInputs->links('vendor.pagination.tailwind') }}
@forelse($stockOutputs as $output) @empty @endforelse
Date Product To Quantity Reason
{{ $output->created_at->format('d/m/Y H:i') }} {{ $output->product->name }} {{ $output->outputToUser->name }} {{ $output->quantity }} {{ $output->product->unit }} {{ $output->reason ?? 'N/A' }}
No stock transfers found
{{ $stockOutputs->links('vendor.pagination.tailwind') }}
@forelse($stockReceived as $transfer) @empty @endforelse
Date Product From Quantity Reason
{{ $transfer->created_at->format('d/m/Y H:i') }} {{ $transfer->product->name }} {{ $transfer->outputByUser->name }} {{ $transfer->quantity }} {{ $transfer->product->unit }} {{ $transfer->reason ?? 'N/A' }}
No received stock found
{{ $stockReceived->links('vendor.pagination.tailwind') }}
@push('scripts') @endpush