ÿØÿà JFIF ÿÛ „ ( %"1"%)+...383,7(-.-
![]() Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.20 System : Linux st2.domain.com 3.10.0-1127.10.1.el7.x86_64 #1 SMP Wed Jun 3 14:28:03 UTC 2020 x86_64 User : apache ( 48) PHP Version : 7.4.20 Disable Function : NONE Directory : /var/www/html/admin.adimi/code/management/service/ |
<?php $v_hd_id = (isset($CORE->input['hd_id']) && $CORE->input['hd_id']>0) ? $CORE->input['hd_id'] : 0; $row_check = $DB->fetch_row($DB->query("SELECT * FROM tb_service_event_hoadon WHERE hoa_don_id='$v_hd_id'")); if($row_check['tinh_trang']=='da_thanh_toan'){ exit('Hóa đơn đã thanh toán, không thể xóa!'); } $DB->query("DELETE FROM tb_service_event_hoadon WHERE hoa_don_id='$v_hd_id' "); $print->refresh('?act=management&code=service&type=post&type2=post_service_event&id='.$row_check['service_id'].'&service_event_id='.$row_check['service_event_id']); ?>