{{-- --}} @if (isset($result) && count($result) > 0) @php $i = pageIndex($result); @endphp @foreach ($result as $key => $row) {{-- --}} @endforeach @else @endif
{{ __('common.sr_no') }} {!! sorting('name', __('common.name'), $sortOrder, $sortEntity) !!} {!! sorting('customer_code', __('common.customer_code'), $sortOrder, $sortEntity) !!} {!! sorting('deposit', __('debit'), $sortOrder, $sortEntity) !!} {!! sorting('refund', __('credit'), $sortOrder, $sortEntity) !!} {!! sorting('transfer_type', __('common.type_of_transfer'), $sortOrder, $sortEntity) !!}{!! sorting('balance', 'balance', $sortOrder, $sortEntity) !!}{{ __('common.notes') }} {!! sorting('created_at', __('common.created_at'), $sortOrder, $sortEntity) !!} {!! __('action') !!}
{!! $i++ !!} {{ $row->name }} {{ $row->customer_code ?? '' }} @if ($row->deposit <= 0) @else {{ '$'.$row->deposit }} @endif @if ($row->withdraw <= 0) @else {{ '$'.$row->withdraw }} @endif {{ $row->transfer_type ?? __('common.not_define') }}{!! $row->balance !!}{!! $row->notes !!} {!! dateFormat($row->created_at, DISPLAY_DATETIME) !!} @if ($row->deposit > 0) @endif
{!! $result->links('pagination::bootstrap-4') !!}
{!! pageDetail($result) !!}
{!! __('common.no_records') !!}