@php $filterQuery = ['month' => $month ?? '']; if ($selectedUser) { $filterQuery['user_id'] = $selectedUser; } $journalBadge = function (?\App\Models\JournalEntry $entry): array { if ($entry?->status === 'confirmed') { return ['仕訳確定済み', 'bg-emerald-100 text-emerald-800']; } if ($entry) { return ['仕訳下書き', 'bg-amber-100 text-amber-800']; } return ['未仕訳', 'bg-slate-200 text-slate-700']; }; @endphp

レシート履歴

{{ \App\Support\Format::monthJa($month) }}

履歴は、取り込んだ日付ではなくレシート及び領収書の日付を基準として表示します。
(例)2026/06/10に購入したレシートを2026/07/15に取り込んだ場合、
2026年06月の履歴内に表示されます。

@if($analyzingCount > 0)
{{ $analyzingCount }}件を解析中...
@endif
@if($journalFilter !== 'all') @endif
@if($filterUsers->count() > 1)
@endif
全期間
CSV出力 開く

いま表示している月・ユーザー条件でダウンロードします。

一般CSV

店舗・金額などレシート一覧の確認用です。

ダウンロード

弥生スマート取込

弥生会計のスマート取込用。購入日または金額がない行は除外されます。

@if(auth()->user()->bookkeeping_enabled)

弥生 確定仕訳

仕訳を確定済みにしたレシートだけを弥生仕訳形式で出力します。

@endif

件数

{{ $count }}件

合計(日本円)

{{ \App\Support\Format::yen($total) }}

@csrf @method('DELETE')
@if(auth()->user()->bookkeeping_enabled)
@foreach([ 'all' => 'すべて', 'draft' => '仕訳下書き', 'none' => '未仕訳', 'confirmed' => '仕訳確定済み', ] as $key => $label) @php $active = $journalFilter === $key; $href = route('receipts.index', array_filter([ ...$filterQuery, 'journal' => $key === 'all' ? null : $key, ], fn ($v) => $v !== null)); $tone = match ($key) { 'draft' => $active ? 'bg-amber-500 text-white' : 'bg-amber-50 text-amber-800 ring-1 ring-amber-200', 'none' => $active ? 'bg-slate-700 text-white' : 'bg-slate-100 text-slate-700 ring-1 ring-slate-200', 'confirmed' => $active ? 'bg-emerald-600 text-white' : 'bg-emerald-50 text-emerald-800 ring-1 ring-emerald-200', default => $active ? 'bg-orange-600 text-white' : 'bg-white text-slate-700 ring-1 ring-slate-200', }; @endphp {{ $label }} @endforeach
@endif
{{ $receipts->links() }}