@extends('layouts.admin') @section('title') {{__('Expenses')}} @endsection @php $logo = \App\Models\Utility::get_file('/'); @endphp @section('action-button')
({{$total}})
@endsection @section('content')
@if(count($expenses) > 0) @foreach($expenses as $expense) @endforeach @else @endif
{{__('Attachment')}} {{__('Project')}} {{__('Name')}} {{__('Date')}} {{__('Amount')}}
@if(!empty($expense->attachment)) @else @endif {{ $expense->project->title }} {{ __(\Auth::user()->checkProject($expense->project->id)) }} {{ $expense->name }} @if(!empty($expense->task)){{ $expense->task->name }}@endif {{ (!empty($expense->date)) ? \App\Models\Utility::getDateFormated($expense->date) : '-' }} {{ \App\Models\Utility::projectCurrencyFormat($expense->project->id,$expense->amount) }}
{{__('No Expense Found.')}}
@endsection