ok

Mini Shell

Direktori : /home2/selectio/www/billingsoftwarenew/core/resources/views/branch_staff/
Upload File :
Current File : /home2/selectio/www/billingsoftwarenew/core/resources/views/branch_staff/withdrawals.blade.php

@extends('branch_staff.layouts.app')
@section('panel')
    <div class="row justify-content-center">
        <div class="col-md-12">
            <div class="card b-radius--10">
                <div class="card-body p-0">
                    <div class="table-responsive--sm table-responsive">
                        <table class="table--light style--two table">
                            <thead>
                                <tr>
                                    <th>@lang('S.N.')</th>
                                    <th>@lang('TRX No.')</th>
                                    <th>@lang('Account No.')</th>
                                    <th>@lang('Account Name')</th>

                                    @if (isManager())
                                        <th>@lang('Account Officer')</th>
                                    @endif

                                    <th>@lang('Initiated')</th>
                                    <th>@lang('Amount')</th>
                                </tr>
                            </thead>
                            <tbody>
                                @forelse($withdrawals as $withdrawal)
                                    <tr>
                                        <td>{{ $loop->index + $withdrawals->firstItem() }}</td>
                                        <td>{{ $withdrawal->trx }}</td>

                                        <td>
                                            <a href="{{ route('staff.account.detail', $withdrawal->user->account_number) }}">
                                                {{ @$withdrawal->user->account_number }}
                                            </a>
                                        </td>

                                        <td>
                                            <a href="{{ route('staff.account.detail', $withdrawal->user->account_number) }}">
                                                {{ @$withdrawal->user->fullname }}
                                            </a>
                                        </td>

                                        @if (isManager())
                                            <td>
                                                <a href="{{ route('staff.profile.other', $withdrawal->branchStaff->id) }}">
                                                    {{ @$withdrawal->branchStaff->name }}
                                                </a>
                                            </td>
                                        @endif
                                        <td>{{ showDateTime($withdrawal->created_at, 'd M Y, h:i A') }}</td>
                                        <td>
                                            {{ showAmount($withdrawal->amount) }} {{ __($general->cur_text) }}
                                        </td>
                                    </tr>
                                @empty
                                    <tr>
                                        <td class="text-muted text-center" colspan="100%">{{ __($emptyMessage) }}</td>
                                    </tr>
                                @endforelse
                            </tbody>
                        </table>
                    </div>
                </div>
                @if ($withdrawals->hasPages())
                    <div class="card-footer py-4">
                        {{ paginateLinks($withdrawals) }}
                    </div>
                @endif
            </div>
        </div>
    </div>
@endsection

@push('breadcrumb-plugins')
    <x-search-form dateSearch="yes" />
@endpush

Zerion Mini Shell 1.0