@extends('layouts.app') @section('page-title')

@lang($pageTitle)

@endsection @push('head-script') @endpush @section('content')

{{ $expense->total_amount }} @lang('modules.payments.totalAmount')

{{ $expense->currency->currency_symbol.' '.$expense->recurrings->sum('price') }} @lang('modules.payments.totalPaid')

{{--
--}} {{--

{{ $invoice->currency->currency_symbol.' '.$invoice->amountDue() }} @lang('modules.payments.totalDue')

--}} {{--
--}}

{{--

--}}

@lang('app.member')
{{ (!is_null($expense->user_id)) ? ucfirst($expense->user->name) : "--"}}
@lang('app.category')
{{ (!is_null($expense->category_id)) ? ucwords($expense->category->category_name) : "--"}}
@lang('app.project')
{{ (!is_null($expense->project_id)) ? ucwords($expense->project->project_name) : "--"}}
@lang('app.status')
@if ($expense->status == 'inactive') @else @endif

@lang('app.amount')
{{ $expense->total_amount }}
@if($expense->bill_url) @endif

@lang('app.description')
{!! $expense->description !!}
{{--custom fields data end--}}
@endsection @push('footer-script')