@extends('backend.partials.master') @section('title') {{ ___('admin.refunds_be32ad') }} @endsection @section('maincontent') @include('backend.accounting.partials._filters') @if(! $account) {{-- Refunds are whatever was posted to the Refunds account, not whatever happened to have "RFD-" typed into its reference. --}}
{{ ___('admin.no_816c52') }} {{ ___('admin.refunds_be32ad') }} {{ ___('admin.account_exists_yet_add_an_expense_account_for_refunds_i_6e936d') }}
@else
{{ ___('admin.posted_to_c70fd3') }} {{ $account->code }} — {{ $account->name }}
@foreach($entries as $t) {{ $t->txn_date?->format('Y-m-d') }} {{ $t->reference }} {{ $t->description }} {{ $t->contraAccount->name ?? '—' }} {{ currency_symbol() }}{{ number_format($t->amount, 2) }} @endforeach
{{ ___('admin.total_refunded_a7b592') }} {{ currency_symbol() }}{{ number_format($total, 2) }}
@endif
@endsection