@extends('layouts.admin') @section('page-title') {{__('Expenses')}} @endsection @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->name }} {{ \Auth::user()->checkProject($expense->project->id) }} {{ $expense->name }} @if(!empty($expense->task)){{ $expense->task->name }}@endif {{ (!empty($expense->date)) ? Utility::getDateFormated($expense->date) : '-' }} {{ Utility::projectCurrencyFormat($expense->project->id,$expense->amount) }}
{{__('No Expense Found.')}}
@endsection