Untitled
unknown
plain_text
a year ago
4.0 kB
1
Indexable
Never
<!DOCTYPE html> <html> <head> <title>Print PJ</title> <style type="text/css"> .left{ float:left; width:50%; } .right{ float:right; width:50%; } </style> <link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>asset/printer.css"> </head> <body onload="window.print()"> <?php //$kode_pembelian = $row['kode_pembelian']; //$tgl_kirim = tgl_slash($row['tgl_kirim']); // $nama_karyawan = $row['nama_karyawan']; // $keterangan = $row['keterangan']; // $nama_supplier = $row['nama_supplier']; /// $nama_type_bayar = $row['nama_type_bayar']; // $tgl_pembelian = tgl_slash($row['tgl_pembelian']); // $tgl_terima = '-'; // $referensi = $row['referensi']; // $kepada_attention = $row['kepada_attention']; // $spp = $this->db->query("SELECT a.kepada_attention, b.*, c.name as city, d.name as state, e.name as country FROM `mu_pembelian` a // JOIN mu_supplier b ON a.id_supplier=b.id_supplier // JOIN mu_city c ON b.city_id=c.city_id //// JOIN mu_state d ON b.state_id=d.state_id // JOIN mu_country e ON b.country_id=e.country_id /// where a.id_pembelian='".$this->uri->segment(3)."'")->row_array(); echo " <h1><table> <tr> <td><img src='".base_url()."asset/img_album/logo-varley1.png' class='img-responsive' width='30%'></td> <td width='400px'>PT VARLEY INDONESIA</td> </tr> </table> </h1> <div style='clear:both'><br></div> <h2><center>FORMULIR PEMINJAMAN DAN PENGEMBALIAN BARANG</center></h2> <hr> <table class='left'> <tr><td colspan='2'><h3>PJ Number : <strong>$rows[kd_pinjam]</strong></h3></td></td></tr> <tr><td colspan='2'><br></td></tr> <tr><td>Pemohon </td> <td> : $rows[nama_karyawan] </td><tr> <tr><td>Tgl PR </td> <td> : $rows[tgl_pinjam]</td><tr> <tr><td scope='row'>No. VIP</td> <td> : $rows[no_projek]</td></tr> </table> <div style='clear:both'></div> <hr> <table id='tablemodul1' width='100%' border='1'> <thead> <tr bgcolor='#e3e3e3'> <th width='20px'>No</th> <th>Nama Item</th> <th>Jumlah Pinjam</th> <th>Status Pinjam</th> <th>Jumlah Kembali</th> <th>Status Kembali</th> <th>Ket</th> </tr> </thead> <tbody> "; $no = 1; foreach ($record as $row){ echo "<tr><td>$no</td> <td>$row[nama_item]</td> <td>$row[jumlah_pinjam]</td> <td>$row[status_item]</td> <td>$row[jumlah_item]</td> <td>$row[satuan_item]</td> <td>$row[keterangan_item]</td> </tr>"; $no++; } echo "</tbody></table>"; echo " <table border='1'> <th><td>Pemohon</td> <td>Kadiv</td> <td>Warehouse</td> <td>Purchase</td> <td>GM/Direktur</td></th> <tr><td hight='30px'><br><br></td> <td></td> <td></td> <td></td> <td></td></tr> </table><hr>"; ?>