@php
$tabs = [
'sales' => '統計',
'sales_all' => '統計(全体)',
'transaction' => 'トランザクション',
'seller_feedbacks' => '評価',
'oplog' => '操作ログ',
];
@endphp
@cannot('manage_organizations')
@php
unset($tabs['sales_all']);
@endphp
@endcan
@livewire('tab', [
'tabs' => $tabs,
'tabDataName' => 'tabdata',
'currentTab' => session()->pull('report.tab'),
])
@include('report/sales', ['isAll' => false])
@can('manage_organizations')
@include('report/sales', ['isAll' => true])
@endcan
@include('report/transaction')
@include('report/seller_feedbacks')
@include('report/oplog')