@php $display = 1; // dumper($result); @endphp @if (auth()->user()->user_type == 'emp') @php $roleId = auth()->user()->role_id; $routeNames = empPermissions($roleId); @endphp @endif @if (isset($routeNames)) @if (!in_array('Account Reports', $routeNames)) @php $display = 0; @endphp @endif @endif @extends('office-panel.office_layouts.app') @section('content')
{{ date('F Y') }}
| {{ __('common.sr_no') }} | {{ __('common.account_type') }} | {!! __('common.cash_in') !!} | {!! __('common.cash_out') !!} | {{--{!! __('common.closing_balance') !!} | --}}{{ __('common.notes') }} | {!! __('common.created_at') !!} | ||
|---|---|---|---|---|---|---|---|---|
| {!! $i++ !!} | {!! $row->account_type_name !!} | {{-- cash in --}} @if ($row->transaction_type == 1){!! $row->currency !!} {!! formatNumber($row->amount) !!} | {{-- cash out --}} @elseif ($row->transaction_type == 0) | {!! $row->currency !!} {!! formatNumber($row->amount) !!} | @endif {{--{!! $row->closing_balance !!} | --}}{!! $row->notes !!} | {!! dateFormat($row->created_at, DISPLAY_DATETIME) !!} | |
|
{!! $result->links('pagination::bootstrap-4') !!}
{!! pageDetail($result) !!}
|
||||||||
|
{!! __('common.no_records') !!}
|
||||||||