first commit

This commit is contained in:
2024-05-31 14:18:00 +07:00
commit 1f8ef5e17f
4029 changed files with 777987 additions and 0 deletions

12
app/inbox/crud.php Normal file
View File

@@ -0,0 +1,12 @@
<?php
include('../koneksi.php');
$surat_id=$_POST['id'];
$key=$_POST['key'];
$satker=$_POST['satker'];
if ($key=='upd_sm_baca') {
$u=pg_query("UPDATE kirim SET proses_tu='B' WHERE surat_id='$surat_id' AND satuan_kerja_tujuan='$satker'");
} else
if ($key=='approve_keluar') {
$u=pg_query("UPDATE kirim SET tgl_diterima=NOW() WHERE surat_id='$surat_id' AND satuan_kerja_tujuan='$satker'");
}
?>