@php
$layout = auth('employee')->check()?'employee':'admin';
@endphp
@extends('layout.'.$layout.'.master')
@section('content')
# |
{{ __('messages.from_account') }} |
{{ __('messages.to_account') }} |
{{ __('messages.amount') }} |
{{ __('messages.reason') }} |
{{ __('messages.created_at') }} |
{{ __('messages.action') }} |
@forelse ($ownAccountTransfers as $key => $transfer)
{{ $key + 1 }} |
{{ $transfer->fromAccount->title . ' - ' . $transfer->fromAccount->type }} |
{{ $transfer->toAccount->title . ' - ' . $transfer->toAccount->type }} |
{{ $transfer->amount }} |
{{ $transfer->reason }} |
{{ $transfer->created_at->format('d-m-Y') }} |
|
@empty
{{ __('messages.no_transfers_found') }} |
@endforelse
@endsection