@extends('layouts.dashboard') @section('title', __('Accounting')) @section('page_title', __('Accounting')) @section('content') @include('accounting::partials.nav', ['active' => 'dashboard'])
{{ __('Cash & Bank') }}
{{ money_signed($snapshot['cash']) }}
{{ __('as of today') }}
{{ __('Income (MTD)') }}
{{ money_signed($snapshot['income_mtd']) }}
{{ __('net of discounts & refunds') }}
{{ __('Expenses (MTD)') }}
{{ money_signed($snapshot['expense_mtd']) }}
{{ __('incl. instructor commission') }}
{{ __('Net profit (MTD)') }}
{{ money_signed($snapshot['net_mtd']) }}
{{ __('owed to instructors') }}: {{ money($snapshot['instructor_payable']) }}
@if($unmapped > 0)
{{ trans_choice(':count expense category is not mapped to an account — those expenses post to "Other Operating Expense".|:count expense categories are not mapped to an account — those expenses post to "Other Operating Expense".', $unmapped) }} {{ __('Map now') }}
@endif
{{ __('Recent journal entries') }}
{{ $entriesThisMonth }} {{ __('posted this month') }} {{ __('Manual entry') }}
@forelse($recent as $e) @empty @endforelse
{{ __('Entry') }}{{ __('Date') }}{{ __('Memo') }}{{ __('Source') }}{{ __('Amount') }}
{{ $e->entry_no }} {{ $e->entry_date->format('d M Y') }} {{ $e->memo }} {{ $e->sourceLabel() }} {{ money($e->total_debit) }}
{{ __('No entries yet. Sales, refunds and payouts post here automatically — or run') }} php artisan accounting:backfill {{ __('to load history.') }}
{{ __('Owed to instructors') }}
    @forelse($payables as $p)
  • {{ $p->name ?? __('Instructor #:id', ['id' => $p->partner_id]) }} {{ money($p->balance) }}
  • @empty
  • {{ __('Nothing outstanding.') }}
  • @endforelse
@if($payables->isNotEmpty()) @endif
{{ __('Current period') }}
@if($currentPeriod)
{{ $currentPeriod->name }} {{ status_label($currentPeriod->status) }}
{{ $currentPeriod->starts_on->format('d M') }} – {{ $currentPeriod->ends_on->format('d M Y') }}
@else {{ __('No period covers today.') }} @endif {{ __('Manage periods →') }}
@endsection