Remove sync_schedule_and_daily calls from v3, handled by nightly SP

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
sas.fajri
2026-05-11 14:55:51 +07:00
parent 2d9ff5b1b7
commit f90a44fc91

View File

@@ -641,8 +641,6 @@ class Preregisterappcponev3 extends MY_Controller
exit;
}
$last_id_x = $this->db_onedev->insert_id();
$tanggalMcu = $this->extract_tanggal_mcu($prm);
$this->sync_schedule_and_daily($last_id_x, $setup['Mgm_McuID'], $tanggalMcu);
if (intval($v['Mcu_PreregisterPatientsM_PatientID']) == 0) {
// {
// "Mcu_PreregisterPatientsID": 0,
@@ -1119,8 +1117,6 @@ class Preregisterappcponev3 extends MY_Controller
$this->sys_error($message);
exit;
}
$tanggalMcu = $this->extract_tanggal_mcu($prm, $v);
$this->sync_schedule_and_daily($v['Mcu_PreregisterPatientsID'], $setup['Mgm_McuID'], $tanggalMcu);
$this->sync_patient_dashboard($v['Mcu_PreregisterPatientsID']);
$sql_ktp = '';