@extends('core::layouts.master') @section('title') {{ trans_choice('expense::general.expense',1) }} #{{ $expense->id }} @endsection @section('content')
{{ trans_choice('core::general.id',1) }} | {{ $expense->id }} |
---|---|
{{ trans_choice('core::general.type',1) }} | @if(!empty($expense->expense_type)) {{$expense->expense_type->name}} @endif |
{{ trans_choice('core::general.created_by',1) }} | @if(!empty($expense->created_by)) {{$expense->created_by->first_name}} {{$expense->created_by->last_name}} @endif |
{{ trans_choice('accounting::general.asset',1) }} {{ trans_choice('accounting::general.account',1) }} | @if(!empty($expense->asset_chart)) {{$expense->asset_chart->name}} @endif |
{{ trans_choice('accounting::general.expense',1) }} {{ trans_choice('accounting::general.account',1) }} | @if(!empty($expense->expense_chart)) {{$expense->expense_chart->name}} @endif |
{{ trans_choice('expense::general.amount',1) }} | {{ number_format($expense->amount,2) }} |
{{ trans_choice('core::general.date',1) }} | {{ $expense->date }} |
{{ trans_choice('expense::general.recurring',1) }} | @if($expense->recurring==1) {{ trans_choice('core::general.yes',1) }} @else {{ trans_choice('core::general.no',1) }} @endif |
{{ trans_choice('expense::general.recur_frequency',1) }} | {{ trans_choice('expense::general.every',1) }} {{ $expense->recur_frequency }} {{ trans_choice('expense::general.'.$expense_type->recur_type,2) }} |
{{ trans_choice('expense::general.recur_start_date',1) }} | {{ $expense->recur_start_date }} |
{{ trans_choice('expense::general.recur_next_date',1) }} | {{ $expense->recur_next_date }} |
{{ trans_choice('expense::general.recur_end_date',1) }} | {{ $expense->recur_end_date }} |
{{ trans_choice('core::general.description',1) }} | {{ $expense->description }} |