
{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">
    <table class="table table-hover portlet light bg-inverse" id="">
        <thead>
            <tr>
                <th colspan="5">Deliveries Report</th>
            </tr>
            <tr>
                <th style="width: 10px !important;">No.</th>
                <th width="15%">
                    Patient Name
                </th>
                <th width="15%">obst</th>
                <th width="15%">
                    Mode Of D   
                </th>
                <th width="5%">Date Of D</th>
                
                <th width="15%">Place</th>
                <th width="10%">
                    Origin
                </th>
                <th width="10%">type</th>
                <th width="10%">Cost</th>
            </tr>
        </thead>
        <tbody>
            {assign var="i" value="1"}
            {foreach $allData as $data}
            <tr class="odd">
                <td >{$i}</td>
                                            <td>
                                                {$data->info->wifename}
                                            </td>
                                            <td>
                                                 {foreach $data->obsts as $data2}
                                                 {$data2->title} / 
                                                  {/foreach}
                                            </td>
                                            <td>
                                                {$data->modeofd->title}
                                            </td>
                                            
                                            <td>
                                                {$data->date}
                                            </td>
                                            <td>
                                                {$data->places->title}
                                            </td>
                                            <td>
                                               {$data->origins->title}
                                            </td>
                                            <td>
                                                {$data->types->title}
                                            </td>
                                            <td width="10%">{$data->registerations->coast}
                                            </td>  
            </tr>
            {assign var="i" value={$i+1}}
            {/foreach}
        </tbody>
    </table>
</div>