@extends('layouts.default')
@section('content')
Firefly
Transaction "{{{$journal->description}}}"
Metadata
Date |
{{{$journal->date->format('jS F Y')}}} |
Currency |
{{{$journal->transactioncurrency->code}}} |
Type |
{{{$journal->transactiontype->type}}} |
Completed |
@if($journal->completed == 1)
Yes
@else
No
@endif
|
@foreach($journal->components as $component)
{{$component->class}} |
{{{$component->name}}} |
@endforeach
Transactions
@foreach($journal->transactions as $t)
Amount |
{{mf($t->amount)}} |
New balance |
{{mf($t->account->balanceBeforeJournal($journal))}} → {{mf($t->account->balanceBeforeJournal($journal) + $t->amount)}} |
@if(!is_null($t->description))
Description |
{{{$t->description}}} |
@endif
@endforeach
@stop
@section('scripts')
@stop