
{literal}
<style>


    .prntbl2 {
        padding:0px !important;
        width:95% !important;
        margin:0px auto !important;
    }.prntbl2 table{
        border-collapse: collapse !important;
        width:100% !important;
        margin:0px !important;
        padding:0px !important;
    }
    .prntbl2 table th {
        background-color: #2D2D2D !important;
        background: #2D2D2D !important;
        border:0px solid #000000 !important;
        border-width:0px 0px 1px 1px !important;
        font-size:15px !important;
        font-family:Arial !important;
        font-weight:bold !important;
        color: #FFFFFF !important;
        text-align: center !important;
    }.prntbl2 tr:hover td{

    }
    .prntbl2 tr:nth-child(odd){background-color: #E0E0E0 !important;}
    .prntbl2 tr:nth-child(even)    { background-color:#ffffff !important; }
    .prntbl2 td{
        border:1px solid #000000 !important;
        padding: 0px 3px !important;
        font-size: 13px !important;
        font-family: tahoma !important;
        color:#000000 !important;
        text-align: left !important;
    }


    .prntbl2 th, .prntbl2 tt, .prntbl2 td {
        line-height: 20px !important;
        padding: 1px 5px !important;


    }

    .prntbl2 span {
        font-weight: 700;
    }

</style>

{/literal}
<div class="prntbl2">
    {literal}
    <style>


        .prntbl2 {
            padding:0px !important;
            width:95% !important;
            margin:0px auto !important;
        }.prntbl2 table{
            border-collapse: collapse !important;
            width:100% !important;
            margin:0px !important;
            padding:0px !important;
        }
        .prntbl2 table th {
            background-color: #2D2D2D !important;
            background: #2D2D2D !important;
            border:0px solid #000000 !important;
            border-width:0px 0px 1px 1px !important;
            font-size:15px !important;
            font-family:Arial !important;
            font-weight:bold !important;
            color: #FFFFFF !important;
            text-align: center !important;
        }.prntbl2 tr:hover td{

        }
        .prntbl2 tr:nth-child(odd){background-color: #E0E0E0 !important;}
        .prntbl2 tr:nth-child(even)    { background-color:#ffffff !important; }
        .prntbl2 td{
            border:1px solid #000000 !important;
            padding: 0px 3px !important;
            font-size: 13px !important;
            font-family: tahoma !important;
            color:#000000 !important;
            text-align: left !important;
        }


        .prntbl2 th, .prntbl2 tt, .prntbl2 td {
            line-height: 20px !important;
            padding: 1px 5px !important;


        }

        .prntbl2 span {
            font-weight: 700;
        }

    </style>

    {/literal}
    <div class="prntbl2">
        <center><h4 class="modal-title">Doctor Financial Report</h4></center>
        <table class="table table-hover portlet light bg-inverse" id="repTable" style="width: 100%;">
            <tr>
                <th rowspan="2" class="wds10">   Day</th>
                <th colspan="2" class="wds40">   Visits</th>
                <th colspan="2" class="wds40">   Hours</th>
                <th rowspan="2" class="wds10">   Net</th>
            </tr>

            <tr>
                <th>   No of Visits</th>
                <th>   Cost</th>
                <th>   No of Hours</th>
                <th>   Cost</th>
            </tr>

            {foreach $days as $day }
            <tr>
                <td>{$day.dayNameEn}</td>
                <td>{$day.visitsCount}</td>
                <td>{$day.total}</td>
                <td>{$day.hours}</td>
                <td>{$day.hoursPrice}</td>
                <td>{$day.net}</td>
            </tr>
            {/foreach}

            <tr>
                <th rowspan="2" class="wds10">   Total</th>
                <th>   {$vCount}</th>
                <th>   {$vCost}</th>
                <th>   {$hCount}</th>
                <th>   {$hCost}</th>
                <th>   {$net}</th>
            </tr>
        </table>
    </div>