<th>Dokter</th> <th>SIP</th> <th>Alamat</th> <th>Keterangan</th> </tr> <?php $param = array('id' => '', 'awal' => '', 'pasien' => $_GET['id_pasien']); $list_data = load_data_resep($param); foreach ($list_data['data'] as $key => $data) { ?> <tr valign="top" bgcolor="<?php echo $key % 2 == 0 ? '#ffffe0' : '#ffffff'; ?> "> <td><?php echo datetimefmysql($data->waktu); ?> </td> <td align="center"><?php echo count($list_data) > 1 ? 'Lama' : 'Baru'; ?> </td> <td><?php echo $data->nama_barang; ?> </td> <td align="center"><?php echo $data->kekuatan; ?> </td> <td align="center"><?php
<tr id="<?php echo $data->id; ?> " class="detail <?php echo $id !== $data->id ? 'odd' : NULL; ?> <?php echo $alert; ?> "> <td align="center"><?php echo $id !== $data->id ? $no + $offset : NULL; ?> </td> <td align="center"><?php echo $id !== $data->id ? datetimefmysql($data->waktu) : NULL; ?> </td> <td><?php echo $id !== $data->id ? $data->customer : NULL; ?> </td> <td align="right"><?php echo $id !== $data->id ? rupiah($data->diskon_rupiah) : NULL; ?> </td> <td align="center"><?php echo $id !== $data->id ? $data->diskon_persen : NULL; ?> </td> <td align="center"><?php
?> </td> <td><?php echo isset($data->nama) ? $data->nama : NULL; ?> </td> <td><?php echo $data->spesialisasi; ?> </td> <td align="center"><?php echo $data->no_antri; ?> </td> <td align="center"><?php echo datetimefmysql($data->tanggal, true); ?> </td> <td><?php echo $data->dokter; ?> </td> <td class='aksi' align='center'> <?php if ($data->kode_periksa === NULL) { ?> <span style="cursor: pointer;" onclick="form_pemeriksaan('<?php echo $data->id; ?> ','<?php echo $data->id_pelanggan;
foreach ($list_data as $key => $data) { ?> <tr class="<?php echo $key % 2 == 0 ? 'even' : 'odd'; ?> "> <td align="center"><?php echo $sp !== $data->id ? $no + $offset : NULL; ?> </td> <td><?php echo $sp !== $data->id ? $data->id : NULL; ?> </td> <td align="center"><?php echo $sp !== $data->id ? datetimefmysql($data->tanggal) : NULL; ?> </td> <td><?php echo $sp !== $data->id ? $data->supplier : NULL; ?> </td> <td><?php echo $sp !== $data->id ? $data->karyawan : NULL; ?> </td> <td><?php echo $data->nama_barang; ?> </td> <td align="center"><?php
$total_masuk = 0; $total_keluar = 0; foreach ($list_data as $key => $data) { $awal = mysql_fetch_object(mysql_query("select sum(masuk)-sum(keluar) as awal from arus_kas where id < '" . $data->id . "'")); $sisa = mysql_fetch_object(mysql_query("select sum(masuk)-sum(keluar) as sisa from arus_kas where id <= '" . $data->id . "'")); ?> <tr class="<?php echo $key % 2 == 0 ? 'even' : 'odd'; ?> "> <td align="center"><?php echo ++$key; ?> </td> <td align="center"><?php echo datetimefmysql($data->waktu, 'time'); ?> </td> <td><?php echo $data->transaksi; ?> </td> <td align="right"><?php echo rupiah($awal->awal); ?> </td> <td align="right"><?php echo rupiah($data->masuk); ?> </td> <td align="right"><?php
$param = array('id' => $_GET['id_billing'], 'limit' => $limit, 'start' => $offset, 'search' => $_GET['search']); $list_data = load_data_billing($param); $master_barang = $list_data['data']; $total_data = $list_data['total']; foreach ($master_barang as $key => $data) { ?> <tr class="<?php echo $key % 2 == 0 ? 'even' : 'odd'; ?> "> <td align="center"><?php echo ++$key + $offset; ?> </td> <td align="center"><?php echo datetimefmysql($data->waktu, TRUE); ?> </td> <td><?php echo $data->pasien; ?> </td> <td align="right"><?php echo rupiah($data->total); ?> </td> <td align="center"><?php echo $data->diskon; ?> </td> <td align="center"><?php
</thead> <tbody> <?php foreach ($data as $key => $val) { ?> <tr> <td align="center"><?php echo ++$key; ?> </td> <td><?php echo $val->pesawat; ?> </td> <td align="center"><?php echo datetimefmysql($val->waktu_order); ?> </td> <td><?php echo $val->keterangan_order; ?> </td> <td align="right"><?php echo $val->persentase; ?> </td> <td><?php echo $val->waktu_selesai; ?> </td> <td><?php
<tr><td width="40%">Nomor:</td><td width="60%"><?php echo $_GET['id']; ?> </td></tr> <?php if ($rows->id_resep !== NULL) { ?> <tr><td>No. Resep:</td><td><?php echo $rows->id_resep; ?> </td></tr> <?php } ?> <tr><td>Tanggal:</td><td><?php echo datetimefmysql($rows->waktu); ?> </td></tr> <tr><td>Pelanggan:</td><td style="white-space: nowrap"><?php echo $rows->pelanggan; ?> </td></tr> </table> <table width="100%" style="border-bottom: 1px solid #000;"> <tr> <th>Nama Barang</th> <th>Qty</th> <th style="text-align: right;">Harga</th> <th style="text-align: right;">Disc</th> <th style="text-align: right;">Subtotal</th> </tr>
$str = $data->id . '#' . $data->id_dokter . '#' . $data->dokter . '#' . $data->id_pasien . '#' . $data->pasien . '#' . $data->keterangan; ?> <tr class="<?php echo $data->id_resep !== $id_resep ? 'odd' : 'even'; ?> "> <td align="center"><?php echo $data->id_resep !== $id_resep ? $no : NULL; ?> </td> <td align="center"><?php echo $data->id_resep !== $id_resep ? $data->id_resep : NULL; ?> </td> <td align="center"><?php echo $data->id_resep !== $id_resep ? datetimefmysql($data->waktu) : NULL; ?> </td> <td align="center"><?php echo $data->id_resep !== $id_resep ? $data->id_pasien : NULL; ?> </td> <td><?php echo $data->id_resep !== $id_resep ? $data->pasien : NULL; ?> </td> <td><?php echo $data->id_resep !== $id_resep ? $data->dokter : NULL; ?> </td> <td align="center"><?php
echo $data->id; ?> " class="detail <?php echo $id !== $data->id ? 'odd' : NULL; ?> "> <td align="center"><?php echo $id !== $data->id ? $no + $offset : NULL; ?> </td> <td align="center"><?php echo $id !== $data->id ? $data->id : NULL; ?> </td> <td align="center"><?php echo $id !== $data->id ? datetimefmysql($data->tanggal, true) : NULL; ?> </td> <td title="<img src='img/pemeriksaan/<?php echo $data->foto; ?> ' width='200px' />"><?php echo $id !== $data->id ? $data->pasien : NULL; ?> </td> <td><?php echo $id !== $data->id ? $data->dokter : NULL; ?> </td> <td><?php echo $id !== $data->id ? $data->anamnesis : NULL;
<tr><td align="center" style="font-size: 12px;"><?php echo $apt->alamat; ?> </td> </tr> <tr><td align="center" style="font-size: 12px;">Telp. <?php echo $apt->telp; ?> </td> </tr> </table> <table width="100%" style="border-bottom: 1px solid #000;"> <tr><td width="40%">Nomor:</td><td><?php echo $rows->id; ?> </td></tr> <tr><td>Waktu:</td><td style="white-space: nowrap"><?php echo datetimefmysql($rows->waktu, TRUE); ?> </td></tr> <tr><td>Pelanggan:</td><td style="white-space: nowrap"><?php echo $rows->no_rm; ?> / <?php echo $rows->pelanggan; ?> </td></tr> </table> <table width="100%" style="border-bottom: 1px solid #000;"> <tr> <th>Nama Barang</th> <th>Qty</th> <th align="right">Harga</th>
$param = array('id' => '', 'limit' => '', 'start' => '', 'pasien' => $_GET['id_pasien'], 'pelayanan' => $_GET['id_pelayanan']); $list_data = load_data_pendaftaran($param); $master_pendaftaran = $list_data['data']; foreach ($master_pendaftaran as $key => $data) { $rek_tindakan = rek_tindakan_load_by_pendaftaran($data->id); ?> <tr valign="top" class="<?php echo $key % 2 == 0 ? 'even' : 'odd'; ?> "> <td align="center"><?php echo ++$key; ?> </td> <td align="center"><?php echo datetimefmysql($data->waktu, 'yes'); ?> </td> <td align="center"><?php echo isset($data->id_pelanggan) ? $data->id_pelanggan : NULL; ?> </td> <td><?php echo isset($data->nama) ? $data->nama : NULL; ?> </td> <td align="center"><?php echo $data->no_antri; ?> </td> <td><?php