Пример #1
0
</td>
        <td><?php 
    echo $data->spesialis;
    ?>
</td>
        <td align="center"><?php 
    echo rupiah($data->fee);
    ?>
</td>
        <td class='aksi' align='center'>
            <a class='edition' onclick="edit_dokter('<?php 
    echo $str;
    ?>
');" title="Klik untuk edit dokter">&nbsp;</a>
            <a class='deletion' onclick="delete_dokter('<?php 
    echo $data->id;
    ?>
', '<?php 
    echo $page;
    ?>
');" title="Klik untuk hapus dokter">&nbsp;</a>
        </td>
    </tr>
    <?php 
}
?>
</tbody>
</table>
<?php 
echo paging_ajax($total_data, $limit, $page, '1', $_GET['search']);
Пример #2
0
</td>
            <td align="center"><?php 
    echo $data->disc_pr;
    ?>
</td>
            <td class='aksi' align='center'>
                <!--<a class='edition' onclick="edit_penerimaan('<?php 
    echo $str;
    ?>
');" title="Klik untuk edit penerimaan">&nbsp;</a>-->
                <a class='deletion' onclick="delete_penerimaan('<?php 
    echo $data->id;
    ?>
','<?php 
    echo $page;
    ?>
');" title="Klik untuk hapus penerimaan">&nbsp;</a>
            </td>
        </tr>
    <?php 
    if ($id !== $data->id) {
        $no++;
    }
    $id = $data->id;
}
?>
</tbody>
</table>
<?php 
echo paging_ajax($total_data, $limit, $page, '1', '');
Пример #3
0
</td>
        <td align="center"><?php 
    echo $data->keluar;
    ?>
</td>
        <td align="center"><?php 
    echo $sisanya->sisa;
    ?>
</td>
        <!--<td class='aksi' align='center'>
            <a class='edition' onclick="edit_stokopname('<?php 
    echo $str;
    ?>
');" title="Klik untuk edit stok_opname">&nbsp;</a>
            <a class='deletion' onclick="delete_stokopname('<?php 
    echo $data->id;
    ?>
', '<?php 
    echo $page;
    ?>
');" title="Klik untuk hapus">&nbsp;</a>
        </td>-->
    </tr>
    <?php 
}
?>
</tbody>
</table>
<?php 
echo paging_ajax($total_data, $limit, $page, '1', generate_get_parameter($_GET));
Пример #4
0
 function get_tagihan_mahasiswa($limit, $page, $search)
 {
     if ($page == 'undefined') {
         $page = 1;
     }
     $start = ($page - 1) * $limit;
     $data['page'] = $page;
     $data['limit'] = $limit;
     $data['auto'] = $start + 1;
     $query = $this->m_transaksi->get_data_tagihan_mahasiswa($limit, $start, $search);
     $data['jumlah'] = $query['jumlah'];
     $data['list_data'] = $query['data'];
     $data['paging'] = paging_ajax($data['jumlah'], $limit, $page, 2, '');
     return $data;
 }
Пример #5
0
 function get_list_history_pembayaran($limit, $page, $search)
 {
     if ($page == 'undefined') {
         $page = 1;
     }
     //$str = 'null';
     $start = ($page - 1) * $limit;
     $data['page'] = $page;
     $data['limit'] = $limit;
     $data['auto'] = $start + 1;
     $query = $this->m_laporan->get_list_history_pembayaran($limit, $start, $search);
     $data['list_data'] = $query['data'];
     $data['jumlah'] = $query['jumlah'];
     $data['paging'] = paging_ajax($data['jumlah'], $limit, $page, 1, null);
     return $data;
 }