@if(is_object($journals) && method_exists($journals, 'render')) {!! $journals->render() !!} @endif
Description | Amount | Date | From | To | @if(!isset($hideBudget) || (isset($hideBudget) && $hideBudget=== false))@endif @if(!isset($hideCategory) || (isset($hideCategory) && $hideCategory=== false)) | @endif @if(!isset($hideBill) || (isset($hideBill) && $hideBill=== false)) | @endif | ||
---|---|---|---|---|---|---|---|---|---|
{{{$journal->description}}} | Invalid journal: Found {{$journal->transactions()->count()}} transaction(s) | ||||||||
@if($journal->transactiontype->type == 'Withdrawal') @endif @if($journal->transactiontype->type == 'Deposit') @endif @if($journal->transactiontype->type == 'Transfer') @endif @if($journal->transactiontype->type == 'Opening balance') @endif | {{{$journal->description}}} | @if($journal->transactiontype->type == 'Withdrawal') {{Amount::formatTransaction($journal->transactions[0],false)}} @endif @if($journal->transactiontype->type == 'Deposit') {{Amount::formatTransaction($journal->transactions[1],false)}} @endif @if($journal->transactiontype->type == 'Transfer') {{Amount::formatTransaction($journal->transactions[1],false)}} @endif | {{$journal->date->format('j F Y')}} | @if($journal->transactions[0]->account->accounttype->type == 'Cash account') (cash) @else {{{$journal->transactions[0]->account->name}}} @endif | @if($journal->transactions[1]->account->accounttype->type == 'Cash account') (cash) @else {{{$journal->transactions[1]->account->name}}} @endif | @if(!isset($hideBudget) || (isset($hideBudget) && $hideBudget=== false))budgets[0]) ? $journal->budgets[0] : null; ?> @if($budget) {{{$budget->name}}} @endif | @endif @if(!isset($hideCategory) || (isset($hideCategory) && $hideCategory=== false))categories[0]) ? $journal->categories[0] : null; ?> @if($category) {{{$category->name}}} @endif | @endif @if(!isset($hideBill) || (isset($hideBill) && $hideBill=== false))@if($journal->bill) {{{$journal->bill->name}}} @endif | @endif