@use('App\Services\Date') @extends('accounting::layouts.exporting.pdf.master') @php $subdomain = request()->route()->parameter('subdomain'); $is_student = app(\Hyn\Tenancy\Repositories\HostnameRepository::class)->findByHostname($subdomain)->website->company->is_student; @endphp @section('content')
@if($is_student) @include('draft') @endif

{{ __('accounting::easy_entries.Easy Entries') }}

{{$data['companyName']}}

@if($data['easyEntries']->count()) @forelse ($data['easyEntries'] as $entry) @empty @endforelse @endif
{{ __('accounting::easy_entries.Id') }} {{ __('accounting::easy_entries.Date') }} {{ __('accounting::easy_entries.Type') }} {{ __('accounting::easy_entries.Amount') }} {{ __('accounting::easy_entries.Created by') }}
{{ $entry->id }} {{ Date::format($entry->date) }} {{ __('accounting::easy_entries.'.$entry->type) }} {{ number_format($entry->amount,2,".",",") }} {{ $entry->user->uname }}
{{ __('No result found') }}
@endsection