@extends('layouts.base_portal')
@section('inner_content')
    <div class="row">
        <div class="col">
            <div class="row">
                <div class="col-12 col-md-6">
                    <div class="row m-b-15 p-b-10 b-b b-grey">
                        <div class="col">
                            <small class="all-caps muted fs-10">active Transfers</small>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col">
                            <list-component key="2" section="activeBookingsSection" :endpoint="route('api.booking.list')" :options="{per_page: 10, status: 2}">
                                <template #list="{data}">
                                    <booking-component :data="data"></booking-component>
                                </template>
                            </list-component>
                        </div>
                    </div>
                </div>
                <div class="col-12 col-md-6">
                    <div class="row">
                        <div class="col">
                            <div class="row m-b-15 p-b-10 b-b b-grey mt-5 mt-md-0">
                                <div class="col">
                                    <small class="all-caps muted fs-10">Complete Transfers</small>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col">
                                    <list-component key="2" section="completeBookingsSection" :endpoint="route('api.booking.list')" :options="{per_page: 10, status: 3, order_by:{column:'updated_at',DESC:true}}">
                                        <template #list="{data}">
                                            <booking-component :data="data"></booking-component>
                                        </template>
                                    </list-component>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
@endsection
