@extends('backend.app') @section('content')

Product Stock Report

@csrf
@php $totalPrice = 0;$totalQuantity = 0; @endphp @forelse($details as $item) @php $totalPrice += $item->unit_price * $item->total_qty; $totalQuantity += $item->total_qty @endphp @empty

No data found

@endforelse
Product Name Product Price Product Quantity Total Price
{{$item->name}} {{$item->unit_price}} {{$item->total_qty}} {{$item->unit_price * $item->total_qty}}
Total {{ $totalQuantity }} {{ $totalPrice }}
@endsection @push('js') @endpush