@extends('garage.layouts.app') @section('title', $reportTitle) @push('styles') @endpush @section('content')

{{ $reportTitle }}

Opening + Inward − Outward. Net purchase = purchase − purchase return; net sale = sale − sale return. Inward includes purchases and sale returns; outward includes purchase returns, sales, and issuances.

Clear Excel PDF Print
Rows: {{ number_format((int)($totals['rows'] ?? 0)) }} @if(isset($totals['purch_qty'])) Purch: {{ number_format((float)$totals['purch_qty'], 2) }} @endif @if(isset($totals['return_qty'])) Returned: {{ number_format((float)$totals['return_qty'], 2) }} @endif @if(isset($totals['net_qty'])) Net: {{ number_format((float)$totals['net_qty'], 2) }} @endif @if(isset($totals['qty'])) Qty: {{ number_format((float)$totals['qty'], 2) }} @endif @if(isset($totals['amount'])) Amount: {{ number_format((float)$totals['amount'], 2) }} @endif @if(isset($totals['closing_value'])) Closing Value: {{ number_format((float)$totals['closing_value'], 2) }} @endif
@foreach($columns as $c) @endforeach @forelse($rows as $r) @foreach($r as $v) @endforeach @empty @endforelse
{{ $c }}
{{ is_numeric($v) ? number_format((float)$v, 2) : $v }}
No data for selected filters.
Showing {{ number_format(count($rows)) }} rows. Stock formula: Opening + Inward - Outward. @if($printMode) @endif
@endsection