@extends('layouts.admin') @section('title', 'Incoming') @section('content') @php $query = request()->only(['period', 'from', 'to']); $canEdit = (bool) auth()->user()?->hasPermission('accounting.edit'); @endphp @include('admin.accounts.partials.period')
Order sales{{ $accounts->money($totals['sales_cents']) }}{{ $totals['orders_count'] }} paid orders ยท ex. tax, net of refunds
Other income{{ $accounts->money($totals['other_income_cents']) }}Recorded manually
Total incoming{{ $accounts->money($totals['incoming_cents']) }}{{ $period['label'] }}
@if($canEdit)
any() || request('add')) open @endif> Add other income
@include('admin.accounts.partials.entry-form', ['type' => 'income'])
@endif
@foreach(['all' => 'Everything', 'orders' => 'Order sales', 'other' => 'Other income'] as $key => $label) {{ $label }} @endforeach
@include('admin.accounts.partials.rows', ['sign' => '+', 'empty' => 'No money in for this period yet.'])
@endsection