<style>
    #budgetVsActual {
        margin: 16px 0;
        font-size: 7pt;
        border-collapse: collapse;
        page-break-inside: auto;
        border: 1px solid #1a202c;
    }
    #budgetVsActual th, #budgetVsActual td {
        padding: 3px 4px 4px;
        border: 1px solid #1a202c;
        text-align: right;
    }
    #budgetVsActual td:first-child,
    #budgetVsActual th:first-child {
        text-align: left;
    }
</style>

@extends('templates/report')

@section('reportTitle')
    <title style="font-weight: bold;">Monthly Budget Vs Actual Sample</title>
@endsection

@section('reportHeader')
    <table class="fs-lead" >
        <tbody>
            <tr>
                <th style="width: 125px">REPORT TYPE: </th>
                <td class="border-bottom" style="padding-left: 16px">MONTHLY BUDGET VS ACTUAL</td>
                <td style="width: 50px"></td>
                <th style="width: 50px">DATE: </th>
                <td class="border-bottom" style="padding-left: 16px; width: 25%">FEB 2022</td>
            </tr>
        </tbody>
    </table>
@endsection

@section('content')
    <table id="budgetVsActual">
        <thead>
        <tr>
            <th></th>
            <th style="text-align: center" colspan="3">FEBRUARY 2024</th>
        </tr>
        <tr>
                <th width="100%"></th>
                <th style="text-align: center; min-width: 60px">BUDGET</th>
                <th style="text-align: center; min-width: 60px">ACTUAL</th>
                <th style="text-align: center; min-width: 60px">VARIANCE</th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <th colspan="4" style="padding-left: 8px;">INCOME</th>
            </tr>
            <tr>
                <td style="padding-left: 16px">Sales</td>
                <td>45,000.00</td>
                <td>35,000.00</td>
                <td>10,000.00</td>
            </tr>
            <tr>
                <td style="padding-left: 16px">Legal Fee Income</td>
                <td>5,000.00</td>
                <td>8,000.00</td>
                <td>3,000.00</td>
            </tr>
            <tr>
                <td style="padding-left: 16px">Other Revenue</td>
                <td>65,040.00</td>
                <td>15,700.00</td>
                <td>49,340.00</td>
            </tr>
            <tr>
                <th style="padding-left: 8px">Total Income</th>
                <th>115,040.00</th>
                <th>58,700.00</th>
                <th>62,340.00</th>
            </tr>

            <tr>
                <th colspan="4" style="padding-left: 8px;">EXPENSES</th>
            </tr>
            <tr>
                <td style="padding-left: 16px">Salary</td>
                <td>100,600.00</td>
                <td>100,000.00</td>
                <td>600.00</td>
            </tr>
            <tr>
                <td style="padding-left: 16px">Office Supplies</td>
                <td>58,000.00</td>
                <td>28,000.00</td>
                <td>30,000.00</td>
            </tr>
            <tr>
                <td style="padding-left: 16px">Travel Expenses</td>
                <td>1,158,000.00</td>
                <td>2,000,000.00</td>
                <td>842,000.00</td>
            </tr>
            <tr>
                <th style="padding-left: 8px">Total Expenses</th>
                <th>158,600.00</th>
                <th>128,000.00</th>
                <th>36,000.00</th>
            </tr>
            <tr>
                <th>Net Income</th>
                <th>124,600.00</th>
                <th>178,000.00</th>
                <th>312,000.00</th>
            </tr>
        </tbody>
    </table>
@endsection
