{{ __('From Date') }} : {{ $from }}
{{ __('To Date') }} : {{ $to }}
{{--122
--}}| {{ __('Invoice Date') }} | {{ __('Serial Number') }} | {{ __('Type') }} | {{ __('Price') }} | {{ __('Quantity/Weight') }} | @if ($type == 'pc'){{ __('Weighted Average') }} | @endif{{ __('Total') }} |
|---|---|---|---|---|---|---|
| {{ __('Openning Balance') }} | {{ $openingBalance->value ?? 0 }} | @if ($type == 'pc'){{ $openingBalance->weghted_average ?? 0 }} | @endif{{ $openingBalance->total ?? 0 }} | |||
| {{ $transaction->date }} | {{ $transaction->serial_number }} | {{ $transaction->type }} | {{ $transaction->price }} | {{ $transaction->value }} | @if ($type == 'pc')@if ($transaction->value < 0) {{ $transaction->price }} @else {{ $wavg }} @endif | @endif{{ abs($transaction->total) }} |
| {{ __('Total') }} | {{ $total_value }} | @if ($type == 'pc'){{ $wavg }} | @endif{{ $total_amount }} | |||