@extends('layouts.app') @section('title', __('report.non_operating_entries')) @section('content')

@lang('report.non_operating_entries') @lang('messages.manage_non_operating_income_entries')

@if(session('success'))

@lang('messages.success')!

{{ session('success') }}
@endif

@lang('report.all_non_operating_entries')

@if($entries->count() > 0)
@foreach($entries as $entry) @endforeach
@lang('messages.date') @lang('report.entry_type') @lang('messages.amount') @lang('messages.description') @lang('messages.actions')
{{ \Carbon\Carbon::parse($entry->entry_date)->format('d M Y') }} @if($entry->entry_type === 'interest_revenue') @lang('report.interest_income') @elseif($entry->entry_type === 'interest_expense') @lang('report.interest_expenses') @elseif($entry->entry_type === 'depreciation') @lang('report.depreciation') @elseif($entry->entry_type === 'appreciation') @lang('report.appreciation') @else {{ $entry->entry_type }} @endif {{ session('currency_symbol', '$') }}{{ number_format($entry->amount, 2) }} {{ $entry->description ?? '-' }}
{{ csrf_field() }} {{ method_field('DELETE') }}
@else
@lang('messages.no_non_operating_entries_found')
@endif
@stop @section('javascript') @endsection