<!doctype html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Trip Report | {{ $business_name->name }}</title>
    <style>
        body {
            font-size: 11px;
        }

        .table,
        .tcell,
        .thead {
            border: 1px solid black;
            text-align: center;
        }

        .table {
            width: 70%;
            border-collapse: collapse;
        }
    </style>
    <style>
        #expDetailsTable>tbody>tr:hover {
            transition: 0.5s;
            background: #f5f5f5;
        }

        #productTable>tbody>tr>th {
            padding: 2px 0 0 0;
            text-align: center;
        }

        #report-summary>tbody>tr>th {
            padding: 2px 0 0 0;
            text-align: right;
        }

        #report-summary>tbody>tr>td input,
        #productTablez>tbody>tr>td input,
        #productTablez>tbody>tr>td select {
            height: 22px;
            margin-left: 0;
        }

        #report-summary>tbody>tr {
            border-bottom: 1px solid #ddd;
        }

        #report-summary>tbody>tr>td,
        #report-summary>tbody>tr>th,
        #productTablez>tbody>tr>td,
        #productTablez>tbody>tr>th {
            border: none !important;
        }
    </style>

    <!--tabling-->
    <style>
        .container {
            overflow: hidden;
            /* Clear the floats */
        }

        .table-container_long {
            width: calc(100% - 10px);
            /* 70% width for the tables */
            float: left;
            /* Float the tables to the left */
            margin-right: 5px;
            margin-top: 10px;
            /* Adjust spacing between tables */
        }

        .table-container_short {
            width: calc(30% - 0px);
            /* 70% width for the tables */
            float: right;
            /* Float the tables to the left */
            margin-top: 10px;
            /* Adjust spacing between tables */
        }



        .float-right {
            float: right;
            /* Float the second table to the right */
        }

        .table {
            width: 100%;

            /* Add space between tables */
        }
    </style>

    <!--tabling-->

    <style>
        /* Custom CSS */
        .container {
            text-align: center;
            margin-top: -14px;
            /* Center align the content */
        }

        .item2 {
            display: inline-block;
            float: right;
            margin-top: -49px;
            /* Display items in one line */

            /* Add spacing between items */
        }

        .item:last-child {

            /* Remove right margin for the last item */
        }

        .item h2 {
            font-size: 28px;
        }
    </style>

    <style>
        /* Custom CSS */
        .container {
            position: relative;
            text-align: center;
            /* Center align the content */
        }

        .left-section {
            position: absolute;
            top: 0;
            left: 0;
            padding: 10px;
        }

        .right-section {
            position: absolute;
            top: 0;
            right: 0;
            padding: 10px;
        }

        .center-section {
            margin-top: 20px;
            /* Adjust top margin for spacing */
        }

        .vehicle-trip-info {
            margin-top: 10px;
            /* Adjust top margin for spacing */
        }

        .company-title {
            margin-bottom: 10px;
            /* Add space below the company title */
        }

        .company-info {
            margin-top: 10px;
            /* Add space above the vehicle and trip info */
            display: inline-block;
            /* Display elements in one line */
            margin-right: 10px;
            /* Add space between elements */
        }
    </style>

    <!--signature section-->
    <style>

    </style>

    <!--signature section-->
</head>

<body>

    <div class="container">
        <!-- Left section -->
        <div class="left-section">
            <div style="font-weight: bold;">پُروپَرائِٹَر
                : جام عنصر حیات></div>
            <div>فون نمبر: 03008731475</div>

            <div style="font-weight: bold;">پُروپَرائِٹَر
                : جام محمد عدیل</div>
            <div>فون نمبر: 03000600275</div>


        </div>

        <!-- Right section -->
        <div class="right-section">
            <div> از تاریخ:
                {{ date('F j, Y', strtotime($trip->starting_date ))}}
            </div>
            <div> انتہا تاریخ {{$trip->ending_date != '' ? date('F j, Y', strtotime($trip->ending_date)): "UNKNOWN"}}</div>
        </div>

        <!-- Center section -->
        <div class="center-section">
            <h2 class="company-title">{{ $business_name->name }}</h2>
            {{-- <h1><img src="{{ public_path('assets/images/Logo_sadiq.png') }}" alt="" width="200"></h1> --}}
        </div>

        <!-- Vehicle and trip info section -->
        <div class="vehicle-trip-info">
            <div class="company-info"><b>Vahical No: <?php echo (isset($trip->vehicle->vehicle_no) ? $trip->vehicle->vehicle_no : 'N/A') ?></b></div>
            <div class="company-info"><b>Trip No: <?php echo (isset($trip->id) ? $trip->id : 'N/A') ?></b></div>
        </div>
    </div>

    <br>


    <div class="container">


        {{-- <div class="table-container_long  ">
            <table class="table">
                <thead>
                    <tr>
                        <th colspan="5">وصول شدہ اکاؤنٹ</th>
                    </tr>
                    <tr>
                        <th class="thead">رقم</th>

                        <th class="thead">اکاؤنٹ</th>
                        <th class="thead">نوٹ</th>
                        <th class="thead">تاریخ</th>
                        <th class="thead">#</th>


                    </tr>
                </thead>
                <tbody>

                    @php
                        $total_recv=0;
                    @endphp
                    @forelse($trip->tirp_receivings as $detail)
                    @php
                    $total_recv+=$detail->amount;
                    @endphp
                    <tr>
                        <td class="thead">{{number_format($detail->amount,0)}}</td>


                        <td class="thead">{{$detail->broker!=null?$detail->broker->name:''}}</td>

                        <td class="thead">{{$detail->description}}</td>
                        <td class="thead">{{date('M j, Y', strtotime($detail->received_date))}}</td>
                        <td class="thead">{{$loop->iteration}}</td>

                    </tr>
                    @empty
                    @endforelse
                    <tr><td><b>{{$total_recv}}</b></td></tr>

                </tbody>
            </table>
        </div> --}}
        <div class="table-container_long  ">
            <table class="table">
                <thead>
                    <tr>
                        <th colspan="12">ٹرپ تفصیلات</th>
                    </tr>
                    <tr>
                        @php
                            $columns = [
                                'اصل کرایہ' => 'final_total_amount',
                                'ایکسائز خرچہ' => 'excise_expenditure',
                                'مزدوری' => 'labor',
                                'دیہاڑی' => 'dehari',
                                'شارٹ وزن' => 'fine',
                                'بلٹی کمیشن' => 'bility_commission',
                                'منشیانہ پارٹی' => 'commission_party',
                                'بروکری اڈہ' => 'broker_point',
                                'بلٹی کرایہ' => 'bill_freight',
                                'بروکر' => 'broker.name',
                                'تا' => 'to_city.name',
                                'از' => 'from_city.name',
                            ];
                        @endphp

                        @foreach ($columns as $header => $field)
                            @php
                                // Check if all values in this column are 0
                                $showColumn = $trip->trip_details->pluck($field)->reject(fn($value) => $value == 0)->isNotEmpty();
                            @endphp
                            @if ($showColumn)
                                <th class="thead">{{ $header }}</th>
                            @endif
                        @endforeach
                        <th class="thead">#</th>
                    </tr>
                </thead>
                <tbody>
                    @php $sub_total = 0; @endphp
                    @forelse($trip->trip_details as $detail)
                        <tr>
                            @foreach ($columns as $field)
                                @php
                                    $value = data_get($detail, $field);
                                    $showColumn = $trip->trip_details->pluck($field)->reject(fn($value) => $value == 0)->isNotEmpty();
                                @endphp
                                @if ($showColumn)
                                    <td class="thead">
                                        @if (is_numeric($value))
                                            {{ number_format($value, 0) }}
                                        @else
                                            {{ $value }}
                                        @endif
                                    </td>
                                @endif
                            @endforeach
                            <td class="thead">{{ $loop->iteration }}</td>
                        </tr>
                        @php $sub_total += $detail->final_total_amount; @endphp
                    @empty
                        <tr>
                            <td colspan="{{ count($columns) + 1 }}">No Record Found</td>
                        </tr>
                    @endforelse
                    {{-- <tr>
                        <th colspan="{{ count($columns) + 1 }}">Total: {{ number_format($sub_total, 0) }}</th>
                    </tr> --}}
                    <tr>
                        <th>{{$sub_total}}</th>
                     </tr>
                </tbody>
            </table>
        </div>

        @if($trip->tirp_receivings->isNotEmpty())
    <div class="table-container_long  ">
        <table class="table">
            <thead>
                <tr>
                    <th colspan="5">وصول شدہ اکاؤنٹ</th>
                </tr>
                <tr>
                    <th class="thead">رقم</th>
                    <th class="thead">اکاؤنٹ</th>
                    <th class="thead">نوٹ</th>
                    <th class="thead">تاریخ</th>
                    <th class="thead">#</th>
                </tr>
            </thead>
            <tbody>
                @php
                    $total_recv = 0;
                @endphp
                @forelse($trip->tirp_receivings as $detail)
                    @php
                        $total_recv += $detail->amount;
                    @endphp
                    <tr>
                        <td class="thead">{{ number_format($detail->amount, 0) }}</td>
                        {{-- <td class="thead">{{ $detail->broker ? $detail->broker->name : '' }}</td> --}}
                        <td class="thead">
                            @if($detail->payment_type == 'cash')
                                {{ $detail->payment_type }}
                            @elseif($detail->payment_type == 'bank' && $detail->bank)
                                {{ $detail->bank->name }}
                            @elseif($detail->payment_type == 'in-account')
                                {{ $detail->payment_type }}
                            @endif
                        </td>
                        <td class="thead">{{ $detail->description }}</td>
                        <td class="thead">{{ date('M j, Y', strtotime($detail->received_date)) }}</td>
                        <td class="thead">{{ $loop->iteration }}</td>
                    </tr>
                @empty
                @endforelse
                <tr>
                    <td><b>{{ $total_recv }}</b></td>
                </tr>
            </tbody>
        </table>
    </div>
@endif





        @php
        $previous_advance = $trip->calculate_previous_advance($trip->id);
        $trip_receiving = $trip->tirp_receivings !=null?$trip->tirp_receivings->sum('amount'):0;
        $trip_advance = $trip->trip_advances !=null?$trip->trip_advances->sum('amount'):0;
        $actual_freight = $trip->trip_details !=null?$trip->trip_details->sum('final_total_amount'):0;
        $trip_payables = $trip->tirp_payables !=null?$trip->tirp_payables->where('ref_type', 'advance')->sum('amount'):0;
        $trip_reach_payables = $trip->tirp_payables !=null?$trip->tirp_payables->where('ref_type', 'reach')->sum('amount'):0;
        $trip_advance = $trip->trip_advances !=null?$trip->trip_advances->sum('amount'):0;
        $deposit = 0;
        $remaining_amount =$trip->calculate_trip_remaining_amount($trip->id);
        @endphp

        {{-- <div class="table-container_short float-right" >

            <table class="table">
                <thead>
                    <tr>
                        <th colspan="3">ٹرپ کیش رپورٹ</th>
                    </tr>

                    <tr>
                        <th class="thead">سابقہ پیشگی</th>
                        <td class="thead">{{number_format($previous_advance, 0)}}</td>
                        <td class="thead"></td>
                    </tr>
                    <tr>
                        <th class="thead">گاڑی سے وصول رقم</th>

                        <td class="thead">{{number_format($trip_receiving, 0)}}</td>
                        <td class="thead"></td>

                    </tr>
                    <tr>
                        <th class="thead">ٹرپ کرایہ جات</th>
                        </th>
                        <td class="thead">{{number_format($actual_freight, 0)}}</td>
                        <td class="thead"></td>

                    </tr>
                    <tr>
                        <th class="thead">گاڑی کو ادا </th>
                        <td class="thead"></td>
                        <td class="thead">{{number_format($trip_advance, 0)}}</td>
                    </tr>
                    <tr>
                        <th class="thead">ایڈوانس ادائیگی</th>
                        <td class="thead"></td>
                        <td class="thead">{{number_format($trip_payables, 0)}}</td>
                    </tr>
                    <tr>
                        <th class="thead">پہنچ ادائیگی</th>
                        <td class="thead"></td>
                        <td class="thead">{{number_format($trip_reach_payables, 0)}}</td>
                    </tr>








                    <tr>
                        <th class="thead">بقایا رقم</th>

                        <td class="thead"></td>
                        <td class="thead">{{number_format($remaining_amount, 0)}}</td>

                    </tr>
                </thead>
                <tbody>

                       </tbody>
            </table>

        </div> --}}




        @if($trip->trip_advances->isNotEmpty())
        <div class="table-container_long  ">
            <table class="table">
                <thead>
                    <tr>
                        <th colspan="4">پیشگی تفصیلات</th>
                    </tr>
                    <tr>
                        <th class="thead">رقم</th>
                        <th class="thead">نوٹ</th>
                        <th class="thead">تاریخ</th>
                        <th class="thead">#</th>
                    </tr>
                </thead>
                <tbody>
                    @php
                        $peshgi_total = 0;
                    @endphp

                    @foreach($trip->trip_advances as $detail)
                        @php
                            $peshgi_total += $detail->amount;
                        @endphp
                        <tr>
                            <td class="thead">{{ number_format($detail->amount, 0) }}</td>
                            <td class="thead">{{ $detail->note }}</td>
                            <td class="thead">{{ date('M j, Y', strtotime($detail->date)) }}</td>
                            <td class="thead">{{ $loop->iteration }}</td>
                        </tr>
                    @endforeach

                    <tr>
                        <td class="thead"><b>{{ $peshgi_total }}</b></td>
                    </tr>
                </tbody>
            </table>
        </div>
    @endif




    {{-- Not remove of this code --}}

        {{-- <div class="table-container_long  ">
            <table class="table">
                <thead>
                    <tr>
                        <th colspan="5">ٹرپ تفصیلات</th>
                    </tr>
                    <tr>
                        <th class="thead">اصل کرایہ</th>
                        <th class="thead">  ایکسائز خرچہ</th>
                        <th class="thead">  مزدوری</th>
                        <th class="thead"> دیہاڑی</th>
                        <th class="thead"> شارٹ وزن</th>
                        <th class="thead">بلٹی کمیشن</th>
                        <th class="thead">منشیانہ پارٹی</th>
                        <th class="thead">بروکری اڈہ</th>
                        <th class="thead">بلٹی کرایہ</th>
                        <th class="thead">بروکر</th>
                        <th class="thead">تا</th>
                        <th class="thead">از</th>

                        <th class="thead">#</th>
                    </tr>
                </thead>
                <tbody>

                    @php

                        $sub_total=0;
                    @endphp
                    @forelse($trip->trip_details as $detail)

                    @php

                        $sub_total+=$detail->final_total_amount;
                    @endphp
                    <tr>
                        <td class="thead">{{number_format($detail->final_total_amount,0)}}</td>
                        <td class="thead">{{$detail->excise_expenditure}}</td>
                        <td class="thead">{{$detail->labor}}</td>
                        <td class="thead">{{$detail->dehari}}</td>
                        <td class="thead">{{$detail->fine}}</td>
                        <td class="thead">{{$detail->bility_commission}}</td>
                        <td class="thead">{{$detail->commission_party}}</td>
                        <td class="thead">{{$detail->broker_point}}</td>
                        <td class="thead">{{$detail->bill_freight}}</td>
                        <td class="thead">{{$detail->broker->name}}</td>
                        <td class="thead">{{$detail->to_city->name}}</td>

                        <td class="thead">{{$detail->from_city->name}}</td>
                        <td class="thead">{{$loop->iteration}}</td>
                    </tr>
                    @empty
                    <tr>
                        <td colspan="6">No Record Found</td>
                    </tr>
                    @endforelse

                     <tr>
                       <th>{{$sub_total}}</th>
                    </tr>
                </tbody>
            </table>


        </div> --}}



        @if($trip->tirp_payables->where('ref_type', 'advance')->isNotEmpty())
        <div class="table-container_long  ">
            <table class="table">
                <thead>
                    <tr>
                        <th colspan="4">ٹرپ ایڈوانس</th>
                    </tr>
                    <tr>
                        <th class="thead">رقم</th>
                        <th class="thead">اکاؤنٹ</th>
                        <th class="thead">نوٹ</th>
                        <th class="thead">تاریخ</th>
                        <th class="thead">#</th>
                    </tr>
                </thead>
                <tbody>
                    @php
                        $trip_pay_total = 0;
                    @endphp
                    @foreach($trip->tirp_payables as $detail)
                        @if ($detail->ref_type === 'advance')
                            @php
                                $trip_pay_total += $detail->amount;
                            @endphp
                            <tr>
                                <td class="thead">{{ number_format($detail->amount, 0) }}</td>
                                <td class="thead">
                                    @if($detail->payment_type == 'cash')
                                        {{ $detail->payment_type }}
                                    @elseif($detail->payment_type == 'bank' && $detail->bank)
                                        {{ $detail->bank->name }}
                                    @elseif($detail->payment_type == 'in-account')
                                        {{ $detail->payment_type }}
                                    @endif
                                </td>
                                <td class="thead">{{ $detail->description }}</td>
                                <td class="thead">{{ date('F j, Y', strtotime($detail->date)) }}</td>
                                <td class="thead">{{ $loop->iteration }}</td>
                            </tr>
                        @endif
                    @endforeach

                    <tr>
                        <th>{{ $trip_pay_total }}</th>
                    </tr>
                </tbody>
            </table>
        </div>
    @endif

    @if($trip->tirp_payables->where('ref_type', 'reach')->isNotEmpty())
    <div class="table-container_long  ">
        <table class="table">
            <thead>
                <tr>
                    <th colspan="4">ٹرپ پہنچ</th>
                </tr>
                <tr>
                    <th class="thead">رقم</th>
                    <th class="thead">اکاؤنٹ</th>
                    <th class="thead">نوٹ</th>
                    <th class="thead">تاریخ</th>
                    <th class="thead">#</th>
                </tr>
            </thead>
            <tbody>
                @php
                    $trip_pay_reach_total = 0;
                @endphp
                @foreach($trip->tirp_payables as $detail)
                    @if ($detail->ref_type === 'reach')
                        @php
                            $trip_pay_reach_total += $detail->amount;
                        @endphp
                        <tr>
                            <td class="thead">{{ number_format($detail->amount, 0) }}</td>
                            <td class="thead">
                                @if($detail->payment_type == 'cash')
                                    {{ $detail->payment_type }}
                                @elseif($detail->payment_type == 'bank' && $detail->bank)
                                    {{ $detail->bank->name }}
                                @elseif($detail->payment_type == 'in-account')
                                    {{ $detail->payment_type }}
                                @endif
                            </td>
                            <td class="thead">{{ $detail->description }}</td>
                            <td class="thead">{{ date('F j, Y', strtotime($detail->date)) }}</td>
                            <td class="thead">{{ $loop->iteration }}</td>
                        </tr>
                    @endif
                @endforeach

                <tr>
                    <th>{{ $trip_pay_reach_total }}</th>
                </tr>
            </tbody>
        </table>
    </div>
@endif

@if($previous_advance || $trip_receiving || $actual_freight || $trip_advance || $trip_payables || $trip_reach_payables || $remaining_amount)
<div class="table-container_long  ">
    <table class="table">
        <thead>
            <tr>
                <th colspan="3">ٹرپ کیش رپورٹ</th>
            </tr>
            <tr>
                <td class="thead"></td>
                <td class="thead"><b>{{ number_format($previous_advance, 0) }}</b></td>
                <th class="thead">سابقہ پیشگی</th>
            </tr>
            <tr>
                <td class="thead"></td>
                <td class="thead">{{ number_format($trip_receiving, 0) }}</td>
                <th class="thead">گاڑی سے وصول رقم</th>
            </tr>
            <tr>
                <td class="thead"></td>
                <td class="thead">{{ number_format($actual_freight, 0) }}</td>
                <th class="thead">ٹرپ کرایہ جات</th>
            </tr>
            <tr>
                <td class="thead">{{ number_format($trip_advance, 0) }}</td>
                <td class="thead"></td>
                <th class="thead">گاڑی کو ادا</th>
            </tr>
            <tr>
                <td class="thead">{{ number_format($trip_payables, 0) }}</td>
                <td class="thead"></td>
                <th class="thead">ایڈوانس ادائیگی</th>
            </tr>
            <tr>
                <td class="thead">{{ number_format($trip_reach_payables, 0) }}</td>
                <td class="thead"></td>
                <th class="thead">پہنچ ادائیگی</th>
            </tr>
            <tr>
                <td class="thead"><b>{{ number_format($remaining_amount, 0) }}</b></td>
                <td class="thead"></td>
                <th class="thead">بقایا رقم</th>
            </tr>
        </thead>
        <tbody>
        </tbody>
    </table>
</div>
@endif



        <!--main_table_container div end-->
    </div>



    @php
    // $balance_before = 0;
    // $total_freight_by_driver= $trip->trip_details->sum('received_by_driver');
    // $total_advance = $trip->trip_advances->sum('amount');
    // $right_total = $total_advance + $balance_before+ $total_freight_by_driver;
    // $total_deposit_at_co= $trip->trip_deposits->sum('amount');
    // $acexpense = $trip->tirp_payables->sum('amount');
    // $cash_expense = $trip->trip_expenses->sum('total_amount') + $total_deposit_at_co;
    // $total_expenses= $cash_expense + $acexpense;
    // $balance_cf= ($right_total - $total_expenses);
    // $left_total = $balance_cf + $total_expenses;


    @endphp
    @php
    $balance_before = 0;
    $total_freight_by_driver= $trip->trip_details!=null? $trip->trip_details->sum('received_by_driver'):0;
    $total_advance =$trip->trip_advances!=null? $trip->trip_advances->sum('amount'):0;
    $right_total = $total_advance + $balance_before+ $total_freight_by_driver;
    $total_deposit_at_co=$trip->trip_deposits!=null? $trip->trip_deposits->sum('amount'):0;
    $acexpense = $trip->tirp_payables!=null?$trip->tirp_payables->sum('amount'):0;
    // $ex =$trip->trip_expenses!=null? $trip->trip_expenses->sum('total_amount'):0;
    // $cash_expense =$ex + $total_deposit_at_co + $trip->trip_oils()->sum('total_amount');
    // $total_expenses= $cash_expense + $acexpense;
    $total_expenses= $acexpense;
    $balance_cf= ($right_total - $total_expenses);
    $left_total = $balance_cf + $total_expenses;
    // $driver_receipt = $trip->trip_credit_oils();
    $driver_receipt = 10;
    @endphp






    <!--<table class="table">-->
    <!--    <thead>-->
    <!--    <tr>-->
    <!--        <th colspan="3">ٹرپ کیش رپورٹ</th>-->
    <!--    </tr>-->

    <!--    <tr>-->
    <!--        <th class="thead">سابقہ پیشگی</th>-->
    <!--        <td class="thead">{{number_format($previous_advance, 0)}}</td>-->
    <!--        <td class="thead"></td>-->
    <!--    </tr>-->
    <!--    <tr>-->
    <!--        <th class="thead">ٹرپ پیشگی</th>-->
    <!--        <td class="thead">{{number_format($trip_advance, 0)}}</td>-->
    <!--        <td class="thead"></td>-->

    <!--    </tr>-->
    <!--    <tr>-->
    <!--        <th class="thead">ٹرپ کرایہ</th>-->
    <!--        <td class="thead"></td>-->
    <!--        <td class="thead"></td>-->

    <!--    </tr>-->
    <!--    <tr>-->
    <!--        <th class="thead">قابل ادائیگی</th>-->

    <!--        <td class="thead"></td>-->
    <!--        <td class="thead">{{number_format($trip_payables, 0)}}</td>-->

    <!--    </tr>-->
    <!--    <tr>-->
    <!--        <th class="thead">وصول شدہ اکاؤنٹ</th>-->

    <!--        <td class="thead"></td>-->
    <!--        <td class="thead">{{number_format($trip_receiving, 0)}}</td>-->

    <!--    </tr>-->
    <!--    <tr>-->
    <!--        <th class="thead">ٹرپ تنخواہ</th>-->

    <!--        <td class="thead"></td>-->
    {{-- <!--        <td class="thead">{{number_format($salaries, 0)}}</td>--> --}}

    <!--    </tr>-->
    <!--    <tr>-->
    <!--        <th class="thead">ٹرپ ایڈجسمنٹ</th>-->

    <!--        <td class="thead"></td>-->
    {{-- <!--        <td class="thead">{{number_format($adjustments, 0)}}</td>--> --}}

    <!--    </tr>-->
    <!--    <tr>-->
    <!--        <th class="thead">بقایا رقم</th>-->

    <!--        <td class="thead"></td>-->
    <!--        <td class="thead">{{number_format($remaining_amount, 0)}}</td>-->

    <!--    </tr>-->
    <!--    </thead>-->
    <!--    <tbody>-->


    <!--    </tbody>-->
    <!--</table>-->



</body>

</html>
