@extends('layouts.admin') @section('title', $account->name) @section('new_button')
@stack('account_edit_button_start') @can('update-banking-account') {{ trans('general.edit') }} @endcan @stack('account_edit_button_end') @endsection @section('content')
@stack('account_edit_button_start') @stack('account_edit_button_end')
@stack('account_incoming_card_start')
{{ trans('general.incoming') }}
@money($amounts['incoming'], setting('default.currency'), true)
@stack('account_incoming_card_end') @stack('account_outgoing_card_start')
{{ trans('widgets.outgoing') }}
@money($amounts['outgoing'], setting('default.currency'), true)
@stack('account_outgoing_card_end') @stack('account_balance_card_start')
{{ trans('widgets.balance') }}
@money($amounts['balance'], setting('default.currency'), true)
@stack('account_balance_card_end')
@stack('account_transactions_content_start')
@foreach($transactions as $item) @endforeach
{{ trans_choice('general.date', 1) }} {{ trans('general.amount') }} {{ trans('general.type') }} {{ trans('general.category') }}
@date($item->issued_at) @money($item->amount, $item->currency_code, true) {{ $item->type }} $item->category
@stack('account_transactions_content_end') @stack('customer_transactions_content_start')
@foreach($transactions as $item) @endforeach
{{ trans('general.date') }} {{ trans('general.amount') }} {{ trans_choice('general.categories', 1) }} {{ trans_choice('general.accounts', 1) }}
@date($item->paid_at) @money($item->amount, $item->currency_code, true) {{ $item->category->name }} {{ $item->account->name }}
@stack('customer_transactions_content_end')
@endsection @push('scripts_start') @endpush