{{ __('History') }}

@include('accounting.partials.nav') {{-- Tabs --}} @php $activeTab = request()->query('tab', 'all'); @endphp @if($activeTab === 'daily-sales') {{-- Daily Sales Review Tab --}} @include('accounting.partials.daily-sales-review') @else {{-- All Transactions Tab --}}
Reset
Quick filters: Due Collections (auto)
@php $isAdmin = auth()->check() && auth()->user()->hasPermission('pos.manage'); @endphp
@if($isAdmin) @endif @forelse ($rows as $r) @if($isAdmin) @else @if($r->txn_type === 'DailySales') @endif @endif @empty @endforelse
Date Type Accounts Category Amount Note User StatusAction
{{ \Carbon\Carbon::parse($r->txn_date)->format('Y-m-d H:i:s') }} {{ $r->txn_type }}
From
{{ $r->from_account_name ?? '-' }}
To
{{ $r->to_account_name ?? '-' }}
{{ $r->category_name ?? '-' }}
{{ $r->subcategory_name ?? '' }}
@php $fee = (float) ($r->fee ?? 0); @endphp {{ number_format(((float) ($r->amount ?? 0)) + $fee, 2) }} @if($fee > 0)
Fee {{ number_format($fee, 2) }}
@endif
{{ $r->description ?? '' }}
@if($r->auto_note)
{{ $r->auto_note }}
@endif
{{ $r->user_name ?? '-' }} @if($r->status === 'Cancelled') Cancelled @else Active @endif @if($r->txn_type === 'DailySales') @endif Edit
No transactions found.
Showing up to 250 rows.
@endif {{-- End of All Transactions Tab --}}
{{-- Daily Sales Details Modal --}}