Пример #1
0
 public function __construct()
 {
     @parent::__construct($registry);
     Auth::handleLogin();
     $this->nomor = new Nomor();
     $this->view->kantor = Kantor::getNama();
 }
Пример #2
0
 public function __construct()
 {
     @parent::__construct($registry);
     $this->view->kantor = Kantor::getNama();
     //$this->view = new View;
     //echo "</br>kelas berhasil di bentuk";
     $this->view->js = array('login/js/default');
 }
Пример #3
0
 public function __construct()
 {
     @parent::__construct($registry);
     Auth::handleLogin();
     $this->view->kantor = Kantor::getNama();
     //$this->view = new View;
     //echo "</br>kelas berhasil di bentuk";
 }
Пример #4
0
 public function __construct()
 {
     @parent::__construct($registry);
     Auth::handleLogin();
     $this->nomor = new Nomor();
     $this->view->kantor = Kantor::getNama();
     $this->view->js = array('suratmasuk/js/default');
 }
Пример #5
0
 public function __construct()
 {
     @parent::__construct($registry);
     Auth::handleLogin();
     $this->nomor = new Nomor();
     $this->view->kantor = Kantor::getNama();
     $this->view->js = array('suratmasuk/js/default', 'suratkeluar/js/jquery.tipTip', 'suratkeluar/js/jquery.tipTip.minified');
 }
Пример #6
0
 public function __construct()
 {
     @parent::__construct($registry);
     Auth::handleLogin();
     $this->view->kantor = Kantor::getNama();
     //$this->view = new View;
     //echo "</br>kelas berhasil di bentuk";
     $this->view->js = array('admin/js/default', 'suratkeluar/js/jquery.tipTip', 'suratkeluar/js/jquery.tipTip.minified');
 }
Пример #7
0
 public function __construct()
 {
     @parent::__construct($registry);
     Auth::handleLogin();
     $this->nomor = new Nomor();
     $this->view->kantor = Kantor::getNama();
     $this->view->js = array('suratmasuk/js/default');
     //$this->view = new View;
     //echo "</br>kelas berhasil di bentuk";
 }
Пример #8
0
    } else {
        if ($val == $val_data) {
            $pdf->Image('public/images/check20-cek.png', $x, $y, 0.2, 0.2, 'PNG');
        } else {
            $pdf->Image('public/images/check20.png', $x, $y, 0.2, 0.2, 'PNG');
        }
    }
}
$pdf = new PDF('P', 'cm', 'A5');
$pdf->Open();
$pdf->AliasNbPages();
for ($i = 0; $i < count($this->view->data); $i++) {
    $pdf->AddPage();
    $pdf->SetFont('Arial', '', 6);
    $pdf->Cell(13, 0, '', 'T', 1);
    $pdf->Cell(13, 0.4, 'LEMBAR DISPOSISI ' . Kantor::getNama(), 'RLB', 1, 'C');
    $perh = 'PERHATIAN : Dilarang memisahkan sehelai suratpun yang tergabung dalam berkas ini';
    $pdf->Cell(13, 0.4, $perh, 'BRL', 1, 'C');
    $pdf->Cell(4.5, 0.4, '', 'LR', 0, 'L');
    $pdf->Cell(4.5, 0.4, '', 0, 0, 'L');
    $pdf->Cell(4, 0.4, '', 'LR', 1, 'L');
    $pdf->Cell(1.5, 0.4, 'No Surat', 'L', 0, 'L');
    $pdf->Cell(3, 0.4, ': ' . $this->view->data[$i]['no_surat'], 'R', 0, 'L');
    $pdf->Cell(1.5, 0.4, 'Status', 0, 0, 'L');
    $pdf->Cell(3, 0.4, ': --' . $this->view->data[$i]['status'], 'R', 0, 'L');
    $pdf->Cell(1.5, 0.4, 'Diterima Tgl', 0, 0, 'L');
    $pdf->Cell(2.5, 0.4, ': ' . $this->view->data[$i]['tgl_terima'], 'R', 1, 'L');
    $pdf->Cell(1.5, 0.4, 'Tgl Surat', 'L', 0, 'L');
    $pdf->Cell(3, 0.4, ': ' . $this->view->data[$i]['tgl_surat'], 'R', 0, 'L');
    $pdf->Cell(1.5, 0.4, 'Sifat', 0, 0, 'L');
    $pdf->Cell(3, 0.4, ': ' . $this->view->data[$i]['sifat'], 'R', 0, 'L');
Пример #9
0
 public function ikhtisar($key = null, $value = null)
 {
     $ikhtarsip = new IkhtisharArsip();
     if (!is_null($key)) {
         $ikhtisar = $ikhtarsip->generateIkhtisharArsip($key, $value);
     } else {
         $ikhtisar = $ikhtarsip->generateIkhtisharArsip();
     }
     echo "<div id=table-wrapper><h2 align=center><font color=black>DAFTAR IKHTISAR DOKUMEN/ARSIP</font></h2>";
     echo "<h3 align=center>" . Kantor::getNama() . "</h3>";
     echo "</br><div id=chart-wrapper><table class=CSSTableGenerator>";
     echo "<tr><td><font color=black><b>No</b></font></td>\r\n            <td><font color=black><b>Asal Arsip</b></font></td>\r\n            <td><font color=black><b>Kurun Waktu</b></font></td>\r\n            <td><font color=black><b>Jumlah</b></font></td>\r\n            <td><font color=black><b>Format</b></font></td>\r\n            <td><font color=black><b>Jalan Masuk</b></font></td>\r\n            <td><font color=black><b>Penataan</b></font></td>\r\n            <td><font color=black><b>Lokasi</b></font></td>\r\n            <td><font color=black><b>Ket</b></font></td>\r\n            </tr>";
     $no = 1;
     foreach ($ikhtisar as $key => $value) {
         $lokasi = $value['lokasi'];
         for ($i = 0; $i < count($lokasi); $i++) {
             $lokasi[$i] = "<a href=#><div onclick=getarsiplokasi('" . $lokasi[$i] . "');>{$lokasi[$i]}</div></a>";
         }
         $klas = $value['klas'];
         for ($i = 0; $i < count($klas); $i++) {
             $klas[$i] = "<a href=#><div onclick=getarsipklas('" . str_replace(" ", "-", $klas[$i]) . "');>{$klas[$i]}</div></a>";
         }
         echo "<tr><td ><font color=black><b>" . $no . "</b></font></td>\r\n            <td ><font color=black><b>" . $value['bagian'] . "</br></b></font></td>\r\n            <td ><font color=black><b>" . implode('</br>', $value['kurun']) . "</br></b></font></td>\r\n            <td ><font color=black><b>" . $value['jumlah'] . " box</br></b></font></td>\r\n            <td ><font color=black><b>kertas</br></b></font></td>\r\n            <td ><font color=black><b>-</br></b></font></td>\r\n            <td ><font color=black><b>-</br></b></font></td>\r\n            <td ><font color=black><b>" . implode(', ', $lokasi) . "</br></b></font></td>\r\n            <td ><font color=black><b>" . implode(', ', $klas) . "</br></b></font></td>\r\n            </tr>";
         $no++;
     }
     echo "</table></div></div>";
 }