diff --git a/src/app/disposisi/tabel.php b/src/app/disposisi/tabel.php index f8b3fe8..fe9ff57 100644 --- a/src/app/disposisi/tabel.php +++ b/src/app/disposisi/tabel.php @@ -1,16 +1,38 @@ @@ -28,201 +50,143 @@ var cek_data_user_id = $('#cek_data_user_id').val(); - - - - - - - - - - - - - - - +                                +                                +                                    +                                    +                                    +                                    +                                    +                                    +                                    +                                    +                                +                                +                                +                                0 - ")." - ")." - " : "")." - - ".($jenis_user == 'Admin' ? "ORDER BY s.id DESC" : " - ORDER BY MAX(k.tgl_input) ASC - ")." - "); -*/ +                                        s.no_agenda,s.sm_baca,s.id, +                                        (SELECT f.sifat FROM sifat_surat f WHERE f.id=s.sifat_surat_id),s.tgl_surat_masuk,s.tgl_diterima, +                                        (SELECT kode FROM kode WHERE id=s.kode_id), +                                        s.tgl_surat_masuk,s.tgl_diterima +                                            ".($jenis_user == 'Admin' ? " +                                            ".($disp_pros == 'ALL' ? "" : " +                                                ".($disp_pros == 'BELUM PROSES' ? " +                                                        HAVING COUNT(kx.kepada)=0 +                                                    " : " +                                                        HAVING COUNT(kx.kepada)>0 +                                                    ")." +                                                ")." +                                            " : "")." +                                            +                                        ".($jenis_user == 'Admin' ? "ORDER BY s.id DESC" : " +                                            ORDER BY MAX(k.tgl_input) ASC +                                        ")."                                         +                                        "); +                                    while($r=pg_fetch_array($data)) { +                                    +    +                                ?> +                                0 - ")." - ")." - " : "")." - - ".($jenis_user == 'Admin' ? "ORDER BY s.id DESC" : " - ORDER BY MAX(k.tgl_input) ASC - ")." - "); - - while($r=pg_fetch_array($data)) { - - - - ?> - - > - - - - - - - - - - - - +                                    ?> +                                > +                                    +                                    +                                    +                                    +                                    +                                    +                                    +                                    +                                +                                +                               
DariTgl SuratDiterimaNo SuratPerihalSifatNo AgendaTools
DariTgl SuratDiterimaNo SuratPerihalSifatNo AgendaTools
- - - - -
+                                    +                                    +                                    +                                    +                                   
\ No newline at end of file +            \ No newline at end of file