@extends('layouts.base_portal')
@section('inner_content')
    <div class="row">
        <div class="col-12 col-md-6 no-padding">
            <download-billing-with-dates-component section="paymentsReportSection"></download-billing-withdates-component>
        </div>
    </div>
    <div class="row">
        <div class="col bg-white p-t-15 p-b-15">
            <div class="row no-margin">
                <div class="col-12 col-md-4">
                    <div class="row m-b-15 p-b-10 b-b b-grey">
                        <div class="col">
                            <small class="all-caps muted fs-10">Complete Payments</small>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col">
                            <list-component key="2" section="paymentVerificationSection" :endpoint="route('api.transaction.list')" :options="{'type': 1, 'status': 3, 'payment_method_not_in': [4]}">
                                <template slot="list" slot-scope="{data}">
                                    <payment-verification-component section="paymentVerificationSection" :data="data" :no_action="true"></payment-verification-component>
                                </template>
                            </list-component>
                        </div>
                    </div>
                </div>
                <div class="col-12 col-md-4">
                    <div class="row m-b-15 p-b-10 b-b b-grey">
                        <div class="col">
                            <small class="all-caps muted fs-10">Complete Currency Orders</small>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col">
                            <list-component key="2" section="currencyOrdersListSection" :options="{'per_page': 20, 'document_type_in': ['CURRENCY_VENDOR_ORDER'], 'status': 2, 'with_company': true}"  :endpoint="route('api.document.list')">
                                <template slot="list" slot-scope="{data}">
                                    <currency-order-component section="currencyOrdersListSection" :data="data"></currency-order-component>
                                </template>
                            </list-component>
                        </div>
                    </div>
                </div>
                <div class="col-12 col-md-4">
                    <div class="row m-b-15 p-b-10 b-b b-grey">
                        <div class="col">
                            <small class="all-caps muted fs-10">Transaction Groups</small>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col">
                            <list-component key="2" section="transactionGroupsListSection" :options="{'per_page': 5}" :endpoint="route('api.transaction.group.list')">
                                <template slot="list" slot-scope="{data}">
                                    <transaction-group-component section="transactionGroupsListSection" :data="data"></transaction-group-component>
                                </template>
                            </list-component>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
@endsection