@extends('admin.layouts.master')
@section('title', __('cabbooking::static.wallets.wallet'))
@section('content')
    <div class="row g-4 wallet-main mb-4">
        @canAny(['fleet_wallet.credit', 'fleet_wallet.debit'])
        <div class="col-xxl-4 col-xl-5">
            @includeIf('cabbooking::admin.fleet-wallet.fleets')
        </div>
        <div class="col-xxl-8 col-xl-7">
            @includeIf('cabbooking::admin.fleet-wallet.amount')
        </div>
        @endcanAny
        @if(!auth()?->user()?->can('fleet_wallet.credit') && !auth()?->user()?->can('fleet_wallet.debit'))
        <div class="col-xxl-12">
            @includeIf('cabbooking::admin.fleet-wallet.amount')
        </div>
        @endif
    </div>
    <div class="contentbox">
        <div class="inside">
            <div class="contentbox-title">
                <h3>{{__('cabbooking::static.wallets.transaction')}}</h3>
            </div>
            <div class="fleetWallet-table">
                <x-table
                    :columns="$tableConfig['columns']"
                    :data="$tableConfig['data']"
                    :filters="[]"
                    :actions="[]"
                    :total="''"
                    :bulkactions="[]"
                    :showCheckbox="false"
                    :search="true">
            </x-table>
            </div>
        </div>
    </div>
@endsection
