echo date('H:i:s d/m/Y', strtotime($PhieuMuon->thoi_gian_lap)); ?> </td> <td class="center "><?php if ($PhieuMuon->thoi_gian_xu_ly == null || $PhieuMuon->thoi_gian_xu_ly == "") { echo "Không có"; } else { echo date('H:i:s d/m/Y', strtotime($PhieuMuon->thoi_gian_xu_ly)); } ?> </td> <td class="center "><?php if ($PhieuMuon->id_nguoi_xu_ly == null || $PhieuMuon->id_nguoi_xu_ly == "") { echo "Đặt mượn online"; } else { echo General::getMst($PhieuMuon->id_nguoi_xu_ly); } ?> </td> <td class="center "><?php if ($PhieuMuon->trang_thai_phieu == 0) { echo "Mượn online"; } else { if ($PhieuMuon->trang_thai_phieu == 1) { echo "Xử lý"; } else { if ($PhieuMuon->trang_thai_phieu == 2) { echo "Bị hủy"; } } }
echo date('d/m/Y', strtotime($Sach->thoi_gian_hen_tra)); ?> </td> <td class="center "><?php if ($Sach->ghi_chu_sach_muon == null || $Sach->ghi_chu_sach_muon == "") { echo "Không có ghi chú"; } else { echo $Sach->ghi_chu_sach_muon; } ?> </td> <td class="center "><?php if ($Sach->id_nguoi_cap_nhat == null || $Sach->id_nguoi_cap_nhat == "") { echo "Đặt mượn online"; } else { echo General::getMst($Sach->id_nguoi_cap_nhat); } ?> </td> <td class="center "><?php if ($Sach->tg_cap_nhat_trang_thai == null || $Sach->tg_cap_nhat_trang_thai == "") { echo "Không có"; } else { echo date('H:i:s d/m/Y', strtotime($Sach->tg_cap_nhat_trang_thai)); } ?> </td> <td class="center "><?php if ($Sach->trang_thai_sach_muon == 1) { echo "Đang mượn"; } else {
echo date('d/m/Y', strtotime($PhieuMuon->thoi_gian_hen_tra)); ?> </td> <td class="center "><?php if ($PhieuMuon->ghi_chu_sach_muon == null || $PhieuMuon->ghi_chu_sach_muon == "") { echo "Không có ghi chú nào"; } else { echo $PhieuMuon->ghi_chu_sach_muon; } ?> </td> <td class="center "><?php if ($PhieuMuon->id_nguoi_cap_nhat == null || $PhieuMuon->id_nguoi_cap_nhat == "") { echo "Đặt mượn online"; } else { echo General::getMst($PhieuMuon->id_nguoi_cap_nhat); } ?> </td> <td class="center "><?php if ($PhieuMuon->tg_cap_nhat_trang_thai == null || $PhieuMuon->tg_cap_nhat_trang_thai == "") { echo "Không có"; } else { echo date('H:i:s d/m/Y', strtotime($PhieuMuon->tg_cap_nhat_trang_thai)); } ?> </td> <td class="center "> <?php if ($PhieuMuon->trang_thai_sach_muon == 1) { echo "Đang mượn";