<?php $this->load->view('report_pdf/pdf_header'); ?>
<?php $show_title = !isset($show_title) ? true : (bool) $show_title; if ($show_title) { ?>
<p style="text-align:center;font-size:14px;margin:5px 0;">
    <b>PUBLICATION WISE REPORT - <?php echo $year; ?> </b><br><br>
   </p>

<p style="text-align:right;font-size:13px;margin:5px 0;">
    Date: <?php echo date("d/m/Y", strtotime($today)); ?>
    
</p>

<p style="text-align:left ;font-size:13px;margin:5px 0 5px;">
    Total Records : <?php echo report_pdf_total_rows(isset($report) ? $report : array(), isset($pdf_total_rows) ? $pdf_total_rows : null); ?>
</p>
<?php } ?>
<div id="content" style="margin-top: 10px;">
<table style="border-collapse: collapse;width:100%;text-align:left;margin-bottom: 20px;" border="1" class="table">
    

        <tr style="text-align: center;">
            <th >S.NO.</th>
            <th>Barcode</th>
            <th>D.O.Entry</th>            
            <th>Call No</th>            
            <th>Title</th>
            <th>Author</th>
            <th>Item Type</th>
            <th>Home Branch</th>
            <th>Publisher Year</th>
            
        </tr>
        <?php
        $s_no = isset($pdf_sno_start) ? (int) $pdf_sno_start : 1;
        foreach ($report as $row) { ?>
            <tr>
                <td style="text-align: center;"><?php echo $s_no++; ?></td>
                <td><?php echo $row->barcode; ?></td>
                <td><?php echo $row->Date_of_Entry; ?></td>
                <td><?php echo $row->itemcallnumber; ?></td>                              
                <td><?php echo $row->title; ?></td>
                <td><?php echo $row->author; ?></td>
                <td><?php echo $row->itype; ?></td>
                <td><?php echo $row->homebranch; ?></td>
                <td><?php echo $row->Publisher_Year; ?></td>
                
            </tr>
            
            


        <?php 
        } ?>
    </table>
    
    

    
    
    <!-- SCIENCE-ISSUE section disabled -->

