@extends('backend.layouts.app') @section('content')

{{ translate('All Notes') }}

@can('add_note') @endcan
@php $activeClasss = 'btn-soft-blue'; $inActiveClasses = 'text-secondary border-dashed border-soft-light'; @endphp {{ translate('All') }} {{ translate('In-House') }} {{ translate('Seller') }}
@foreach ($notes as $key => $note) @endforeach
# {{ translate('User') }} {{ translate('Type') }} {{ translate('Description') }} {{ translate('Seller Can Access') }}? {{ translate('Options') }}
{{ $key + 1 + ($notes->currentPage() - 1) * $notes->perPage() }} {{ $note->user_id == get_admin()->id ? translate('In-House') : ($note->user->shop->name ?? $note->user->name) }} {{ translate($note->note_type) }}

{{ $note->getTranslation('description') }}

@if( $note->user_id == get_admin()->id) @endif @can('edit_note') @endcan @can('delete_note') @endcan
{{ $notes->appends(request()->input())->links() }}
@endsection @section('modal') @include('modals.delete_modal') @endsection @section('script') @endsection