@extends('layouts.app') @section('content') @php($base = array_merge(['type'=>'returns'], request()->query()))

{{ __('app.returns_report') }}

{{ __('app.report_filter_hint') }}

CSV Excel {{ __('app.print') }}
{{ __('app.total') }}{{ number_format($summary['total'],2) }}
{{ __('app.records') }}{{ $summary['count'] }}
@forelse($rows as $r)@empty@endforelse
{{ __('app.return_no') }}{{ __('app.date') }}{{ __('app.type') }}IMEI{{ __('app.mobile') }}{{ __('app.party') }}{{ __('app.amount') }}{{ __('app.reason') }}
{{ $r->return_no }}{{ $r->return_date?->format('Y-m-d') }}{{ __('app.'.$r->return_type) }}{{ $r->mobile->imei_1 ?? '-' }}{{ $r->mobile?->title() ?? '-' }}{{ $r->supplier->name ?? $r->customer->name ?? '-' }}{{ number_format($r->amount,2) }} {{ $r->currency }}{{ $r->reason }}
{{ __('app.no_records') }}
{{ $rows->links() }} @endsection