3356 lines
91 KiB
PHP
3356 lines
91 KiB
PHP
<script>
|
|
$(document).ready(function() {
|
|
<?php if ($this->session->flashdata('success')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Data berhasil <?= $this->session->flashdata('success'); ?>.',
|
|
addclass: 'icon-nb',
|
|
type: 'success',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('failed')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Data gagal <?= $this->session->flashdata('failed'); ?>, hubungi Administrator',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('latest')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Data mengalami Perubahan, Memuat Data Baru.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('datainput_null')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Tidak boleh Kosong.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('salesproduk_same')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Kombinasi Sales Produk sudah digunakan.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('pengadaan_same')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Data Pengadaan sudah digunakan.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('stokditahan_duplicate')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Ada Kode Barang yang sama sedang ditahan Pembelian.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('proyek_same')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Nama Proyek sudah digunakan.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('potpem_filled')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Ada Potongan Pembelian, hapus terlebih dahulu.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('data_filled')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Masih ada Data di dalam Kode ini.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('pembelian_notfinished')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Ada Data Pembelian yang belum Selesai.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('akuntansi_notfinished')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Ada Data Akuntansi yang belum Selesai.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('piutang_null')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Piutang tidak dipilih.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('hutang_null')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Hutang tidak dipilih.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('karyawan_null')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Karyawan tidak dipilih.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('karyawan_same')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Karyawan tidak boleh Sama dengan Sales.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('barangubah_same')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Kode Barang sama dengan sebelumnya.',
|
|
addclass: 'icon-nb',
|
|
type: 'warning',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('pihakke3_null')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Pihakke3 tidak dipilih.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('nilaiproyek_null')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Nilai Proyek tidak boleh 0.<br \>Silahkan isi terlebih dahulu.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('not_zero_negative')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Nilai Kurang dari 0.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('limit_pelbaru_check')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Kode Pelanggan yang baru sudah Overlimit.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('sn_already')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'SN sudah ada.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('data_lock')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Data berhasil <?= $this->session->flashdata('data_lock'); ?>. Kembali ke Menu Awal.',
|
|
addclass: 'icon-nb',
|
|
type: 'warning',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('nothing_happen')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Data sama dengan sebelumnya.<br \>Tidak ada Perubahan.',
|
|
addclass: 'icon-nb',
|
|
type: 'warning',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('not_valid')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Data utama berubah, kembali ke Step 1.',
|
|
addclass: 'icon-nb',
|
|
type: 'warning',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('data_used')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Data terpakai, proses dihentikan.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('promo_overused')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'CN melebihi sisa nilai Promo.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('sn_used')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'SN terpakai, proses dihentikan.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('retur_duplicate')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Ada Retur yang belum diselesaikan oleh <?= $this->session->flashdata('retur_duplicate'); ?>.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('sj_same')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Nomor SJ sudah ada.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('name_same')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Nama sudah digunakan.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('kel_null')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Keluhan harus diisi.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('kode_same')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Kode sudah digunakan.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('formfee_already')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Form Fee sudah ada.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('opname_same')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Ada Data Opname yang sama, belum terselesaikan.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('nota_same')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Nomor Nota sudah ada.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('nota_null')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Nota belum diisi.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('tgl_beforelock')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Tanggal kurang dari Bulan ini.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('po_same')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Nama Proyek sudah ada.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('less_zero')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Nilai kurang dari 0.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('less_same_zero')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Nilai kurang dari/sama dengan 0.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('input_check')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Tidak ada Data yang terpilih',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('minimum_one_pajak')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Harus diinput salah satu (NTPN/BILLING/BUPOT/SP2D).',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('pkp_error')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Data yang dipilih berbeda PKP.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('barangid_same')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Kode Barang sudah digunakan.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('qty_pen_less')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Kuantiti Barang PENDING kurang dari permintaan.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('jenisNotSame')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Jenis tidak boleh berbeda Tipe.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('qty_pcm_less')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Kuantiti Gudang PCM kurang dari permintaan.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('qty_antik_less')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Kuantiti Gudang ANTIK kurang dari permintaan.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('qty_konsi_less')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Kuantiti Gudang KONSINYASI kurang dari permintaan.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('qty_sewa_less')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Kuantiti Gudang SEWA kurang dari permintaan.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('qty_itp_less')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Kuantiti Gudang ITP kurang dari permintaan.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('duplicate_data')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Sudah ada Data yang sama Persis dalam Sistem.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('qty_par_less')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Kuantiti melebihi Kebutuhan.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('qty_srv_less')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Kuantiti Barang SERVICE kurang dari permintaan.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('qty_pro_less')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Kuantiti Barang PROSES kurang dari permintaan.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('qty_mb_less')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Kuantiti Barang MUTASI kurang dari permintaan.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('qty_glo_less')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Kuantiti Barang GLOBAL kurang dari permintaan.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('qty_proyek_less')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Kuantiti Barang PROYEK kurang dari permintaan.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('qty_mut_less')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Kuantiti Barang MUTASI kurang dari permintaan.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('qty_sisapembelian_less')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Kuantiti melebihi sisa Pembelian',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('qty_sisapenjualan_less')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Kuantiti melebihi sisa Penjualan',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('qty_sisakonsi_less')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Kuantiti melebihi sisa Konsinyasi',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('qty_sisaservice_less')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Kuantiti melebihi sisa Service',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('qty_sisasewa_less')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Kuantiti melebihi sisa Sewa',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('reminder_date_error')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Reminder kurang dari/sama dengan Tanggal Proyek.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('dateform_error')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Tanggal tidak boleh kembar dalam satu Form.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('date_morethan')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Tanggal melebihi hari ini.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('predictdate_lessthanproyek')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Prediksi kurang dari Tanggal Proyek.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('sncount_less')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'SN belum terisi semua.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('dkpr_used')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Sudah terisi Link SKU.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('sncount_fillmore')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'SN sudah terisi melebihi Kuantiti Baru.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('fee_lunas')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Fee sudah terbayar.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('data_used_fee')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Fee sudah terbayar, tidak dapat dibatalkan.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('data_used_retur')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Data pernah di Retur, tidak dapat dibatalkan.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('project_mustdifferent')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Proyek yang dipilih harus berbeda.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('data_used_kasbank')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Sudah pernah diproses Kasbank, tidak dapat dibatalkan.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('data_used_io')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Barang hasil Jabutan SO ini sudah terpakai.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('kasbank_used')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Sudah ada Transaksi Kasbank.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('dpr_used')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Sudah ada Transaksi Barang Proyek.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('proyekkuartal_notfinish')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Ada Proyek dalam Kuartal ini yang belum diproses.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('proyekkuartal_finish')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Periode Kuartal sudah selesai, tidak dapat diubah',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('rekapproyek_finish')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Rekap Proyek Periode ini sudah selesai, tidak dapat diperbaruhi.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('periodeproyek_error')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Periode Proyek tidak ada yang sesuai, silahkan membuat Master Data.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('soproyek_used')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Nota dilaporkan Proyek GP, batalkan terlebih dahulu.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('time_error')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Nilai Awal dan Selesai tidak boleh sama-sama Pukul 00:00',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('spr_used')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Sudah ada Transaksi Link SO Proyek.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('io_used')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Sudah ada Transaksi Keluar Masuk Barang.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('bpry_used')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Sudah ada Transaksi Biaya Proyek.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('pdd_used')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Data PPH sudah link dengan Rekap Pajak',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('um_used')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Data Uang Muka sudah link dengan Jurnal',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('adminmutasi_notclear')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Ada data Mutasi yang belum diselesaikan Pembuat. Hubungi Pembuat.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('qty_snkpr_notfinish')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Ada SN yang belum terselesaikan',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('tgl_diffmonth')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Tanggal Berbeda Bulan dari Hari ini.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('tgl_moreday')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Tanggal melebihi Hari ini.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('tgl_limitperiod')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Tanggal melebihi Rentang Periode berjalan.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('debet_less')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Nilai DEBET kurang dari KREDIT yang sudah ada.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('kredit_less')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Nilai KREDIT kurang dari DEBET yang sudah ada.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('transaksi_notbalanced')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Nilai DEBET dan KREDIT belum Seimbang.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('hutang_overscore')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Nilai melebihi Hutang yang tersisa.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('piutang_overscore')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Nilai melebihi Piutang yang tersisa.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('dp_overscore')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Nilai melebihi Uang Muka yang tersisa.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('fee_overscore')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Nilai melebihi FEE yang tersisa.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('formkaryawan_kasbankused')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Form Karyawan sudah dibayar, batalkan terlebih dahulu.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('formfee_error')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Form Fee belum di ACC/dibuat.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('kendaraan_null')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Kendaraan harus diisi.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('kop_null')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Kop harus diisi.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('ket_null')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Keterangan harus diisi.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('pelanggan_null')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Pelanggan harus diisi.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('datalock_month')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Data sudah berbeda Bulan, proses dihentikan.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('dpr_cdnull_differror')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Sudah ada transaksi SJ Proyek yang belum diselesaikan.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('dataparsial_cdnull')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Ada data Parsial yang belum diproses.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('sjparsial_nullready')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Data Parsial belum memenuhi Target sesuai SO.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } else if ($this->session->flashdata('sjparsial_used')) { ?>
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Ada SJ Parsial yang aktif, hubungi Gudang.',
|
|
addclass: 'icon-nb',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } ?>
|
|
|
|
});
|
|
|
|
var stack_bottomleft = {"dir1": "right", "dir2": "up", "push": "top"};
|
|
var stack_bottomright = {"dir1": "up", "dir2": "left", "firstpos1": 15, "firstpos2": 15};
|
|
|
|
function notify(status) {
|
|
if (status=="success_add") { // Digunakan hampir disemua Tempat
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Data berhasil ditambah.',
|
|
type: 'success',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="success_acc") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Data berhasil di ACC.',
|
|
type: 'success',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="success_del") { // Digunakan hampir disemua Tempat
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Data berhasil dihapus.',
|
|
type: 'success',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="success_ed") { // Digunakan hampir disemua Tempat
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Data berhasil diubah.',
|
|
type: 'success',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="success_opname") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Data berhasil diopname.',
|
|
type: 'success',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="filter_change") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Filter berhasil diubah.',
|
|
type: 'success',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="daylimit_lock") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Data dengan Tanggal tersebut tidak ada.',
|
|
type: 'warning',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="day_lock") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Tanggal melebihi hari ini.',
|
|
type: 'warning',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="month_lock") { //Digunakan hampir disemua menu
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Tanggal berbeda Bulan.',
|
|
type: 'warning',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="db_cannotempty") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Data tidak boleh Kosong ketika direvisi.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="fee_lunas") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Fee sudah terbayar.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="formfee_already") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Form Fee sudah dibuat.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="nothing_happen") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Data sama dengan sebelumnya.<br \>Tidak ada Perubahan.',
|
|
addclass: 'icon-nb',
|
|
type: 'warning',
|
|
shadow: true
|
|
});
|
|
} else if (status=="success_unlock") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Data berhasil dibuka.',
|
|
type: 'success',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="success_pro_opname") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Data OPNAME berhasil diproses.',
|
|
type: 'success',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="success_batal_opname") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Data OPNAME berhasil dibatalkan.',
|
|
type: 'success',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="success_pro_jadwal") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Data berhasil diproses Kirim.',
|
|
type: 'success',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="success_lock_parsial") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Data berhasil dikunci, silahkan Cetak Dokumen.',
|
|
type: 'success',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="transaksi_notbalanced") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Nilai DEBET dan KREDIT belum Seimbang.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="success_mutasi") { // Digunakan hampir disemua Tempat
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Data berhasil dimutasi.',
|
|
type: 'custom',
|
|
addclass: 'notification-dark icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="success_process") { // Digunakan hampir disemua Tempat
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Data berhasil diproses.',
|
|
type: 'custom',
|
|
addclass: 'notification-dark icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="success_tarik") { // Digunakan hampir disemua Tempat
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Data berhasil ditarik.',
|
|
type: 'custom',
|
|
addclass: 'notification-dark icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="success_link") { // Digunakan hampir disemua Tempat
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Data berhasil ditautkan.',
|
|
type: 'success',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="success_void") { // Digunakan hampir disemua Tempat
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Data berhasil dibatalkan.',
|
|
type: 'success',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="success_lock") { // Digunakan hampir disemua Tempat
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Data berhasil dikunci.',
|
|
type: 'custom',
|
|
addclass: 'notification-primary icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="success_back") { // Digunakan hampir disemua Tempat
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Data berhasil dikembalikan.',
|
|
type: 'custom',
|
|
addclass: 'notification-primary icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="success_lockall") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Data berhasil dikunci Semua.',
|
|
type: 'custom',
|
|
addclass: 'notification-primary icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="success_pro") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Data berhasil diproses, kembali ke Step 1 segera.',
|
|
type: 'custom',
|
|
addclass: 'notification-primary icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="success_ready") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Data berhasil diproses.',
|
|
type: 'custom',
|
|
addclass: 'notification-primary icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="failed") { // Digunakan hampir disemua Tempat
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Data gagal menyimpan, hubungi Administrator.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="qty_less_sninput") { // Digunakan hampir disemua Tempat
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Kuantiti kurang dari SN yang terinput',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="snfilled_error") { // Digunakan hampir disemua Tempat
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'SN sudah terisi.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="histori_used") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Sudah ada Jejak Follow Up.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="um_used") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Data Uang Muka sudah link dengan Jurnal.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="sj_same") { // PB_Transaksi_SuratJalan_1
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Nomor SJ sudah digunakan.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="sjparsial_used") { // PB_Transaksi_SuratJalan_1
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Ada Transaksi SJ Parsial, hapus terlebih dahulu.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="sjparsial_nullready") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Ada Transaksi Parsial yang belum diproses.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="proyek_same") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Nama Proyek sudah digunakan.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="project_mustdifferent") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Proyek yang dipilih harus berbeda.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="debet_more") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Nilai DEBET lebih dari sisa KREDIT.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="kredit_more") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Nilai KREDIT lebih dari sisa DEBET.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="kredit_piutang_more") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Nilai KREDIT lebih dari sisa PIUTANG.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="kredit_dbp_more") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Nilai KREDIT lebih dari sisa DP Pembelian.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="debet_hutang_more") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Nilai DEBET lebih dari sisa HUTANG.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="debet_fee_more") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Nilai DEBET lebih dari sisa FEE.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="bawahatas_overlap") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Batas Bawah melebihi nilai Batas Atas.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="bawahatas_lessthan") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Batas Atas kurang dari nilai Batas Bawah.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="drgp_first") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Batas Bawah Pertama tidak boleh melebihi 0.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="drgp_next") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Batas Bawah kurang dari Batas Atas sebelumnya.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="debet_dpj_more") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Nilai DEBET lebih dari sisa DP Penjualan.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="kredit_piutang_less") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Nilai KREDIT kurang dari sisa PIUTANG.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="debet_hutang_less") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Nilai DEBET kurang dari sisa HUTANG.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="inv_same") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Nomor Nota sudah digunakan.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="ppn_null") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'PPN harus diisi.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="potongan_null") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Potongan harus diisi.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="qty_achieved") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Kuantiti sudah terpenuhi.',
|
|
type: 'custom',
|
|
addclass: 'notification-primary icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="qty_notachieved") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'SN bisa diisi Kembali.',
|
|
type: 'custom',
|
|
addclass: 'notification-primary icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="less_same_zero") { // Validasi
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Nilai kurang dari/sama dengan 0.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="pph_dpvaluemorethan") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Nilai PPH melebihi DP yang diterima.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="kasbank_used") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Sudah ada Transaksi Kasbank di Nota ini.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="spr_used") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Sudah ada Transaksi Link SO Proyek.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="fee_alreadyinput") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Fee Baru kurang dari Transaksi kasbank yang sudah ada.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="more_hundredthousand") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Kuantiti tidak standard (Melebihi 100rb).',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="less_zero") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Nilai kurang dari 0.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="more_500") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Nilai lebih dari 500.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="duplicate_data") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Sudah ada Data yang sama Persis. Silahkan cek',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="saleout_activated") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Sudah ada Otomasi Sellout dalam Periode ini.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="diff_period") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Periode Berbeda, tidak dapat dihapus.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="twin_item") { //PB_Transaksi_SuratJalan_1
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Kode Barang sudah dipakai.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="not_valid") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Data utama berubah, kembali ke Step 1 segera.',
|
|
type: 'warning',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="sn_moreqty") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'SN sudah terisi melebihi Kuantiti baru.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="sn_notready") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'SN mengalami perubahan.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="potpem_filled") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Ada Potongan Pembelian, hapus terlebih dahulu.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="sn_nothing") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'SN tidak ada dalam Sistem.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="data_used_pp") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Master sudah digunakan, tidak dapat diubah.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="data_used_smpl") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Submenu sudah ada isinya. Tidak bisa menghapus.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="data_used_so") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Nomor SO sudah digunakan.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="sn_used") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'SN sudah digunakan.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="so_used") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'SO sudah digunakan.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="sn_jualerror") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'SN bukan milik Nota ini.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="sn_barangwrong") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Kode Barang SN berbeda dengan yang dibutuhkan.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="sn_already") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'SN sudah ada.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="masuk_already") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Sudah Absen Masuk.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="lokasi_null") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Lokasi tidak boleh Kosong.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="pulang_already") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Sudah Absen Pulang.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="sn_jualqty_less") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'SN Jual masih belum diinput Semua.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="sn_parsialqty_less") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'SN Parsial masih belum diinput Semua.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="sn_io0qty_less") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'SN Transaksi Keluar masih belum diinput Semua.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="sn_io1qty_less") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'SN Transaksi Masuk masih belum diinput Semua.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="sn_notsame_gudang") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'SN bukan dari Gudang yang Sesuai.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="snopname_notsame") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'SN bukan dari Data Opname yang Sesuai.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="sn_notpcm") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'SN bukan dari Gudang PCM.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="sn_notitp") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'SN bukan dari Gudang ITP.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="sn_notsrv") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'SN bukan dari Gudang Service.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="add_redOpname") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Data berhasil masuk di List Salah Kode/Gudang.',
|
|
type: 'warning',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="not_gudang") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Posisi SN berbeda Gudang.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="izin_overlap") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Sisa Izin Semester ini sudah habis.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="tgl_null") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Tanggal harus diisi.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="tgl_diffmonth") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Tanggal berbeda Bulan.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="period_null") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Periode harus diisi.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="maindpb_null") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'DP Pembelian harus diisi.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="maindpj_null") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'DP Penjualan harus diisi.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="supplier_null") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Supplier harus diisi.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="reminder_null") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Reminder harus diisi.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="hpar_null") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'HPP harus diisi.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="pengganti_null") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Pengganti harus diisi.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="barangid_same") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Kode Barang sudah digunakan.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="nopol_same") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'NOPOL sudah digunakan.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="kontak_same") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Nama, Akun, dan Posisi ada yang serupa.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="jenisNotSame") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Jenis tidak boleh berbeda Tipe.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="sku_same") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'SKU sudah digunakan.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="kode_same") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Kode sudah digunakan.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="name_same") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Nama sudah digunakan.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="snused_gudangchange") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'SN sudah terisi Data Gudang sebelumnya.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="latest") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Data mengalami Perubahan, Memuat Data Baru.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="limitdate_lock") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Data sudah tidak dapat dirubah, hubungi Administrator.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="limitpel_change_overlimit") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Kode Pelanggan Baru sudah Overlimit.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="jadwalproyek_less_error") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Data yang diinput kurang dari Periode Tanggal sebelumnya.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="jadwalproyek_more_error") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Tanggal Akhir harus lebih besar dari Tanggal Awal',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="jadwalproyek_same_error") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Tanggal Awal serupa dengan Data sebelumnya.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="datestart_more_error") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Tanggal Awal melebihi Data setelahnya.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="dateend_more_error") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Tanggal Akhir melebihi Data setelahnya.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="datestart_less_error") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Tanggal Awal kurang dari Data sebelumnya.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="dateend_less_error") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Tanggal Akhir kurang dari Data sebelumnya.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="qty_sisapembelian_less") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Kuantiti melebihi sisa Pembelian.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="alamat_null") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Alamat belum diisi.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="qty_lessBefore") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Kuantiti kurang dari Data yang diinput Gudang.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="alamat_nullless10") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Alamat belum diisi/Kurang dari 10 Karakter.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="limit_null") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Limit belum diisi.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="jangka_null") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Jangka Komisi belum diisi.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="npwp_null") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'NPWP belum diisi.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="satuan_null") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Satuan belum diisi.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="pelanggan_blokir") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Pelanggan di Blokir.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="pengirim_null") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Pengirim belum diisi.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="pengirim_set") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Pengirim berhasil diisi.',
|
|
type: 'success',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="pengirim_reset") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Pengirim berhasil reset.',
|
|
type: 'success',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="so_null") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Kode SO belum diisi.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="so_diffpelanggan") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'SO yang dipilih berbeda Pelanggan.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="so_gabungancountlimit") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'SO Gabungan minimal pilih 2.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="so_parsialcountlimit") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'SO Parsial hanya boleh pilih 1.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="kode_null") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Kode belum diisi.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="nama_null") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Nama tidak boleh Kosong.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="data_used_retur") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Sudah ada Transaksi Retur.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="biaya_null") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Biaya belum diisi.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="sn_null") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'SN belum diisi.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="keluhan_null") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Keluhan belum diisi.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="nopol_null") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'NOPOL belum diisi.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="tipe_null") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Tipe belum diisi.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="date_null") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Tanggal belum diisi.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="inv_null") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Nomor Nota belum diisi.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="sn_empty") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'SN tidak boleh Kosong.',
|
|
type: 'warning',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="date_empty") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Tanggal tidak boleh Kosong.',
|
|
type: 'warning',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="alur_null_bottom") { // PB_Transaksi_SuratJalan_1
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Alur harus diisi',
|
|
type: 'error',
|
|
addclass: 'icon-nb stack-bottomleft',
|
|
stack: stack_bottomleft,
|
|
shadow: true
|
|
});
|
|
} else if (status=="corp_null_bottom") { // PB_Transaksi_SuratJalan_1
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Kop harus diisi',
|
|
type: 'error',
|
|
addclass: 'icon-nb stack-bottomleft',
|
|
stack: stack_bottomleft,
|
|
shadow: true
|
|
});
|
|
} else if (status=="day_before_bottom") { // PB_Transaksi_SuratJalan_1
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Tanggal dipilih sudah terlewat.',
|
|
type: 'warning',
|
|
addclass: 'icon-nb stack-bottomleft',
|
|
stack: stack_bottomleft,
|
|
shadow: true
|
|
});
|
|
} else if (status=="date_empty_bottom") { // PB_Transaksi_SuratJalan_1
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Tanggal tidak boleh Kosong.',
|
|
type: 'warning',
|
|
addclass: 'icon-nb stack-bottomleft',
|
|
stack: stack_bottomleft,
|
|
shadow: true
|
|
});
|
|
} else if (status=="day_lock_bottom") { // PB_Transaksi_SuratJalan_1
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Tanggal lebih dari Hari ini.',
|
|
type: 'warning',
|
|
addclass: 'icon-nb stack-bottomleft',
|
|
stack: stack_bottomleft,
|
|
shadow: true
|
|
});
|
|
} else if (status=="datenull_bottom") { // PB_Transaksi_SuratJalan_1
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Tanggal belum diisi.',
|
|
type: 'error',
|
|
addclass: 'icon-nb stack-bottomleft',
|
|
stack: stack_bottomleft,
|
|
shadow: true
|
|
});
|
|
} else if (status=="gudang_null_bottom") { // PB_Transaksi_SuratJalan_1
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Gudang harus diisi',
|
|
type: 'error',
|
|
addclass: 'icon-nb stack-bottomleft',
|
|
stack: stack_bottomleft,
|
|
shadow: true
|
|
});
|
|
} else if (status=="gp_null_bottom") { // PJ_Transaksi_SalesOrder_1
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Jenis GP harus diisi',
|
|
type: 'error',
|
|
addclass: 'icon-nb stack-bottomleft',
|
|
stack: stack_bottomleft,
|
|
shadow: true
|
|
});
|
|
} else if (status=="jenisid_null_bottom") { // PB_Transaksi_SuratJalan_1
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Jenis belum diisi.',
|
|
type: 'error',
|
|
addclass: 'icon-nb stack-bottomleft',
|
|
stack: stack_bottomleft,
|
|
shadow: true
|
|
});
|
|
} else if (status=="ketnull_bottom") { // PB_Transaksi_SuratJalan_1
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Keterangan belum diisi.',
|
|
type: 'error',
|
|
addclass: 'icon-nb stack-bottomleft',
|
|
stack: stack_bottomleft,
|
|
shadow: true
|
|
});
|
|
} else if (status=="kirim_null_bottom") { // PJ_Transaksi_SalesOrder_1
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Pengiriman harus diisi',
|
|
type: 'error',
|
|
addclass: 'icon-nb stack-bottomleft',
|
|
stack: stack_bottomleft,
|
|
shadow: true
|
|
});
|
|
} else if (status=="lesssamezero_bottom") { // PB_Transaksi_SuratJalan_1
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Nilai Kurang/Sama dengan 0.',
|
|
type: 'error',
|
|
addclass: 'icon-nb stack-bottomleft',
|
|
stack: stack_bottomleft,
|
|
shadow: true
|
|
});
|
|
} else if (status=="lesszero_bottom") { // PB_Transaksi_SuratJalan_1
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Nilai Kurang dari 0.',
|
|
type: 'error',
|
|
addclass: 'icon-nb stack-bottomleft',
|
|
stack: stack_bottomleft,
|
|
shadow: true
|
|
});
|
|
} else if (status=="month_lock_bottom") { // PB_Transaksi_SuratJalan_1
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Tanggal berbeda Bulan.',
|
|
type: 'warning',
|
|
addclass: 'icon-nb stack-bottomleft',
|
|
stack: stack_bottomleft,
|
|
shadow: true
|
|
});
|
|
} else if (status=="notnumber_bottom") { // PB_Transaksi_SuratJalan_1
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Data yang diinput Bukan Angka.',
|
|
type: 'error',
|
|
addclass: 'icon-nb stack-bottomleft',
|
|
stack: stack_bottomleft,
|
|
shadow: true
|
|
});
|
|
} else if (status=="pengadaan_used") { // PB_Transaksi_SuratJalan_1
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Pengadaan sudah Terpakai.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="pic_null_bottom") { // PJ_Transaksi_SalesOrder_1
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'PIC harus diisi',
|
|
type: 'error',
|
|
addclass: 'icon-nb stack-bottomleft',
|
|
stack: stack_bottomleft,
|
|
shadow: true
|
|
});
|
|
} else if (status=="ppn_null_bottom") { // PJ_Transaksi_SalesOrder_1
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'PPN harus diisi',
|
|
type: 'error',
|
|
addclass: 'icon-nb stack-bottomleft',
|
|
stack: stack_bottomleft,
|
|
shadow: true
|
|
});
|
|
} else if (status=="qc_null_bottom") { // PJ_Transaksi_SalesOrder_1
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Jenis QC harus diisi',
|
|
type: 'error',
|
|
addclass: 'icon-nb stack-bottomleft',
|
|
stack: stack_bottomleft,
|
|
shadow: true
|
|
});
|
|
} else if (status=="qty_achieved_bottom") { // PB_Transaksi_SuratJalan_1
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Kuantiti sudah terpenuhi.',
|
|
type: 'custom',
|
|
addclass: 'notification-primary icon-nb stack-bottomleft',
|
|
stack: stack_bottomleft,
|
|
shadow: true
|
|
});
|
|
} else if (status=="qty_less0_bottom") { // PB_Transaksi_SuratJalan_1
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Kuantiti kurang dari 0.',
|
|
type: 'error',
|
|
addclass: 'icon-nb stack-bottomleft',
|
|
stack: stack_bottomleft,
|
|
shadow: true
|
|
});
|
|
} else if (status=="qty_notachieved_bottom") { // PB_Transaksi_SuratJalan_1
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'SN bisa diisi Kembali.',
|
|
type: 'custom',
|
|
addclass: 'notification-primary icon-nb stack-bottomleft',
|
|
stack: stack_bottomleft,
|
|
shadow: true
|
|
});
|
|
} else if (status=="sj_null_bottom") { // PB_Transaksi_SuratJalan_1
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Nomor SJ harus diisi.',
|
|
type: 'error',
|
|
addclass: 'icon-nb stack-bottomleft',
|
|
stack: stack_bottomleft,
|
|
shadow: true
|
|
});
|
|
} else if (status=="sj_same_bottom") { // PB_Transaksi_SuratJalan_1
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Nomor SJ sudah Terpakai.',
|
|
type: 'warning',
|
|
addclass: 'icon-nb stack-bottomleft',
|
|
stack: stack_bottomleft,
|
|
shadow: true
|
|
});
|
|
} else if (status=="sn_barangwrong_bottom") { // PB_Transaksi_SuratJalan_1
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Kode Barang SN berbeda dengan yang dibutuhkan.',
|
|
type: 'error',
|
|
addclass: 'icon-nb stack-bottomleft',
|
|
stack: stack_bottomleft,
|
|
shadow: true
|
|
});
|
|
} else if (status=="sn_nothing_bottom") { // PB_Transaksi_SuratJalan_1
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'SN tidak ada dalam Sistem.',
|
|
type: 'error',
|
|
addclass: 'icon-nb stack-bottomleft',
|
|
stack: stack_bottomleft,
|
|
shadow: true
|
|
});
|
|
} else if (status=="sn_notitp_bottom") { // PB_Transaksi_SuratJalan_1
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'SN bukan dari Gudang ITP.',
|
|
type: 'error',
|
|
addclass: 'icon-nb stack-bottomleft',
|
|
stack: stack_bottomleft,
|
|
shadow: true
|
|
});
|
|
} else if (status=="sn_notpcm_bottom") { // PB_Transaksi_SuratJalan_1
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'SN bukan dari Gudang PCM.',
|
|
type: 'error',
|
|
addclass: 'icon-nb stack-bottomleft',
|
|
stack: stack_bottomleft,
|
|
shadow: true
|
|
});
|
|
} else if (status=="sn_notsrv_bottom") { // PB_Transaksi_SuratJalan_1
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'SN bukan dari Gudang Service.',
|
|
type: 'error',
|
|
addclass: 'icon-nb stack-bottomleft',
|
|
stack: stack_bottomleft,
|
|
shadow: true
|
|
});
|
|
} else if (status=="sn_used_bottom") { // PB_Transaksi_SuratJalan_1
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'SN sudah digunakan.',
|
|
type: 'error',
|
|
addclass: 'icon-nb stack-bottomleft',
|
|
stack: stack_bottomleft,
|
|
shadow: true
|
|
});
|
|
} else if (status=="so_null_bottom") { // PB_Transaksi_SuratJalan_1
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Kode SO harus diisi',
|
|
type: 'error',
|
|
addclass: 'icon-nb stack-bottomleft',
|
|
stack: stack_bottomleft,
|
|
shadow: true
|
|
});
|
|
} else if (status=="tgl_null_bottom") { // PJ_Transaksi_SalesOrder_1
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Tanggal harus diisi',
|
|
type: 'error',
|
|
addclass: 'icon-nb stack-bottomleft',
|
|
stack: stack_bottomleft,
|
|
shadow: true
|
|
});
|
|
} else if (status=="inv_same_bottom") { // PB_Transaksi_SuratJalan_1
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Nomor Nota sudah Terpakai.',
|
|
type: 'warning',
|
|
addclass: 'icon-nb stack-bottomleft',
|
|
stack: stack_bottomleft,
|
|
shadow: true
|
|
});
|
|
} else if (status=="ket_null_bottom") { // PB_Transaksi_SuratJalan_1
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Keterangan harus diisi.',
|
|
type: 'error',
|
|
addclass: 'icon-nb stack-bottomleft',
|
|
stack: stack_bottomleft,
|
|
shadow: true
|
|
});
|
|
} else if (status=="pelanggan_null_bottom") { // PJ_Transaksi_SalesOrder_1
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Pelanggan harus diisi',
|
|
type: 'error',
|
|
addclass: 'icon-nb stack-bottomleft',
|
|
stack: stack_bottomleft,
|
|
shadow: true
|
|
});
|
|
} else if (status=="sales_null_bottom") { // PJ_Transaksi_SalesOrder_1
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Sales harus diisi',
|
|
type: 'error',
|
|
addclass: 'icon-nb stack-bottomleft',
|
|
stack: stack_bottomleft,
|
|
shadow: true
|
|
});
|
|
} else if (status=="sncount_less") { // PB_Transaksi_SuratJalan_1
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'SN masih belum terisi semua.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="sn_already_bottom") { // PB_Transaksi_SuratJalan_1
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'SN sudah ada.',
|
|
type: 'error',
|
|
addclass: 'icon-nb stack-bottomleft',
|
|
stack: stack_bottomleft,
|
|
shadow: true
|
|
});
|
|
} else if (status=="sn_null_bottom") { // PB_Transaksi_SuratJalan_1
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'SN tidak boleh Kosong.',
|
|
type: 'error',
|
|
addclass: 'icon-nb stack-bottomleft',
|
|
stack: stack_bottomleft,
|
|
shadow: true
|
|
});
|
|
} else if (status=="sn_notready_bottom") { // PB_Transaksi_SuratJalan_1
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'SN mengalami perubahan.',
|
|
type: 'error',
|
|
addclass: 'icon-nb stack-bottomleft',
|
|
stack: stack_bottomleft,
|
|
shadow: true
|
|
});
|
|
} else if (status=="statusidnull_bottom") { // PB_Transaksi_SuratJalan_1
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Status belum dipilih.',
|
|
type: 'error',
|
|
addclass: 'icon-nb stack-bottomleft',
|
|
stack: stack_bottomleft,
|
|
shadow: true
|
|
});
|
|
} else if (status=="success_add_bottom") { // Digunakan hampir disemua Tempat
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Data berhasil ditambah.',
|
|
type: 'success',
|
|
addclass: 'icon-nb stack-bottomleft',
|
|
stack: stack_bottomleft,
|
|
shadow: true
|
|
});
|
|
} else if (status=="success_del_bottom") { // Digunakan hampir disemua Tempat
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Data berhasil dihapus.',
|
|
type: 'success',
|
|
addclass: 'icon-nb stack-bottomleft',
|
|
stack: stack_bottomleft,
|
|
shadow: true
|
|
});
|
|
} else if (status=="success_ed_bottom") { // Digunakan hampir disemua Tempat
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Data berhasil diubah.',
|
|
type: 'success',
|
|
addclass: 'icon-nb stack-bottomleft',
|
|
stack: stack_bottomleft,
|
|
shadow: true
|
|
});
|
|
} else if (status=="supplier_null_bottom") { // PB_Transaksi_SuratJalan_1
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Supplier harus diisi',
|
|
type: 'error',
|
|
addclass: 'icon-nb stack-bottomleft',
|
|
stack: stack_bottomleft,
|
|
shadow: true
|
|
});
|
|
} else if (status=="nota_printalready") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Nota sudah tercetak.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="sesijadwal_null") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Sesi belum diisi.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="datainput_null") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Tidak boleh Kosong.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="garansibarang_null") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Garansi Tidak boleh Kosong.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="char_overlimit") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Karakter melebihi.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="piutang_overlimit") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Tagihan Pelanggan melebihi Limit.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="bobot_overlimit") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Bobot melebihi 100%.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="sales_null") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Sales harus dipilih salah satu.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="garansi_null") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Status Garansi harus dipilih salah satu.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="paket_null") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Paket harus dipilih salah satu.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="kuantiti_error") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Ada Barang dengan Kuantiti Negatif.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="historikuantiti_error") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Histori Kuantiti ada barang nilai Negatif.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="hutang_overscore") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Nilai melebihi Hutang yang tersisa',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="hhhda_error") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Ada Hasil Hitung Hutang berstatus 2.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="hhpda_error") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Ada Hasil Hitung Piutang berstatus 2.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="kop_null") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Kop harus dipilih salah satu.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="kontak_null") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Kontak harus diisi.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="bobot_null") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Bobot harus diisi.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="target_null") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Target harus diisi.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="pelanggan_null") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Pelanggan harus diisi.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="unitservice_null") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Model harus dipilih salah satu.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="perihal_null") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Perihal harus diisi.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="kendaraan_null") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Kendaraan harus dipilih salah satu.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="proyek_null") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Proyek harus dipilih salah satu.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="detailproyek_null") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Detail Proyek harus dipilih salah satu.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="karyawanproyek_null") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Karyawan Proyek harus dipilih salah satu.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="kendaraanproyek_null") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Kendaraan Proyek harus dipilih salah satu.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="perkiraan_null") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Perkiraan harus dipilih salah satu.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="karyawan_null") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Karyawan harus dipilih salah satu.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="bank_null") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Bank harus dipilih salah satu.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="kas_null") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Kas harus dipilih salah satu.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="pihakke3_null") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Pihakke3 harus dipilih salah satu.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="pelkar_null") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Pelanggan/Karyawan harus dipilih salah satu.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="data_identic") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Tidak ada Perubahan.',
|
|
type: 'warning',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="inap_null") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Status Inap harus diisi.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="time_null") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Waktu harus diisi.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="ket_null") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Keterangan harus diisi.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="tujuan_null") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Tujuan harus diisi.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="sku_null") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'SKU belum diisi.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="qty_null") { // PB_Transaksi_SuratJalan_1
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Kuantiti belum diisi.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="top_null") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'TOP belum diisi.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="harga_null") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Harga belum diisi.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="qc_null") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'QC belum diisi.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="not_authorized") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Anda tidak berhak menggunakan Menu ini.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="not_number") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Data yang diinput bukan Angka.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="statusid_null") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Status belum dipilih.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="barangid_null") { // PB_Transaksi_SuratJalan_1
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Barang belum dipilih.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="soid_null") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'SO belum dipilih.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="akunid_null") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Akun belum dipilih.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="jabatanid_null") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Jabatan belum dipilih.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="username_null") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Username belum dipilih.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="password_null") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Password belum dipilih.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="posisiid_null") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Posisi belum dipilih.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="merkid_null") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Merk belum dipilih.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="kotaid_null") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Kota belum dipilih.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="jenisid_null") { // Validasi
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Jenis belum dipilih.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="bypass_limitsales") { // Validasi
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Mode Bypass hanya bisa 1 Sales.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="proyek_empty") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Kode Proyek Belum diisi.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="nota_empty") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Nota Belum diisi.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="hppproyek_empty") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'HPP Belum diisi.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="barang_falsecode") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Kode Barang tidak valid.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="datalock_month_dpp") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Data sudah berbeda Bulan, DPP tidak dapat dirubah.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="datalock_month") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Data sudah berbeda Bulan, proses dihentikan.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="qty_pcm_less_warning") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Stok PCM kurang dari Kuantiti.',
|
|
type: 'custom',
|
|
addclass: 'notification-warning icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="qty_itp_less_warning") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Stok ITP kurang dari Kuantiti.',
|
|
type: 'custom',
|
|
addclass: 'notification-warning icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="qty_srv_less_warning") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Stok SERVICE kurang dari Kuantiti.',
|
|
type: 'custom',
|
|
addclass: 'notification-warning icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="qty_par_less") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Kuantiti melebihi Kebutuhan.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="qty_less0") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Sisa Barang kurang dari 0.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="qty_pcm_less") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Stok PCM kurang dari Kuantiti.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="qty_itp_less") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Stok ITP kurang dari Kuantiti.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="qty_srv_less") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Stok SERVICE kurang dari Kuantiti.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="qty_pro_less") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Stok PROSES kurang dari kebutuhan, hubungi Administrator.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="soproyek_link") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'SO sudah di Link dengan Proyek, hapus terlebih dahulu.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="qty_parsial_error") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Stok Ready tidak mencukupi.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="dataparsial_cdnull") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Ada data Parsial yang belum diproses.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="dataparsial_daftarbarang") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Hapus Data Parsial terlebih dahulu sebelum masuk Mode Normal.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="dataparsial_qty_notachived") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Jumlah Barang yang dikirim masih kurang.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="jadwalproyek_empty") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Jadwal Belum diisi.',
|
|
type: 'error',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="refresh_pengadaannew") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: '<a href="http://200.1.1.6/apps/index.php/Menu/PB_Sub1_SuratJalan_1"><b style="color:Azure">Ada Data Pengadaan baru, klik untuk Perbaruhi.</b></a>',
|
|
type: 'custom',
|
|
addclass: 'notification-primary icon-nb',
|
|
shadow: true,
|
|
});
|
|
} else if (status=="autorefresh_changeitem") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Ada perubahan Data, 2 Detik sebelum refresh Page.',
|
|
type: 'custom',
|
|
addclass: 'notification-primary icon-nb',
|
|
icon: 'fa fa-refresh fa-spin',
|
|
shadow: true
|
|
});
|
|
} else if (status=="autorefresh_newitem") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Data Baru ditemukan, 5 Detik sebelum refresh Page.',
|
|
type: 'custom',
|
|
addclass: 'notification-primary icon-nb',
|
|
icon: 'fa fa-refresh fa-spin',
|
|
shadow: true
|
|
});
|
|
} else if (status=="kop_change") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Ganti Data sesuai Kop terpilih,<br \>1 Detik sebelum refresh Page.',
|
|
type: 'custom',
|
|
addclass: 'notification-primary icon-nb',
|
|
icon: 'fa fa-refresh fa-spin',
|
|
shadow: true
|
|
});
|
|
} else if (status=="merk_change") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: '<b>Ganti Data sesuai Merk terpilih,<br \>1 Detik sebelum refresh Page.</b>',
|
|
type: 'custom',
|
|
addclass: 'notification-primary icon-nb',
|
|
icon: 'fa fa-refresh fa-spin',
|
|
shadow: true
|
|
});
|
|
} else if (status=="sp_change") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Ganti Data sesuai Produk terpilih,<br \>1 Detik sebelum refresh Page.',
|
|
type: 'custom',
|
|
addclass: 'notification-primary icon-nb',
|
|
icon: 'fa fa-refresh fa-spin',
|
|
shadow: true
|
|
});
|
|
} else if (status=="automasi_change") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Status Automasi berubah,<br \>1 Detik sebelum refresh Page.',
|
|
type: 'custom',
|
|
addclass: 'notification-primary icon-nb',
|
|
icon: 'fa fa-refresh fa-spin',
|
|
shadow: true
|
|
});
|
|
} else if (status=="bank_change") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Ganti Data sesuai Bank terpilih,<br \>1 Detik sebelum refresh Page.',
|
|
type: 'custom',
|
|
addclass: 'notification-primary icon-nb',
|
|
icon: 'fa fa-refresh fa-spin',
|
|
shadow: true
|
|
});
|
|
} else if (status=="gudang_change") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: '<b>Ganti Data, 1 Detik sebelum refresh Page.</b>',
|
|
type: 'custom',
|
|
addclass: 'notification-primary icon-nb',
|
|
icon: 'fa fa-refresh fa-spin',
|
|
shadow: true
|
|
});
|
|
} else if (status=="lock_change") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Kunci Data sedang berjalan.<br \>Mohon tunggu.',
|
|
type: 'custom',
|
|
addclass: 'notification-primary icon-nb',
|
|
icon: 'fa fa-refresh fa-spin',
|
|
shadow: true
|
|
});
|
|
} else if (status=="jenis_change") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Ganti Data sesuai Jenis terpilih,<br \>1 Detik sebelum refresh Page.',
|
|
type: 'custom',
|
|
addclass: 'notification-primary icon-nb',
|
|
icon: 'fa fa-refresh fa-spin',
|
|
shadow: true
|
|
});
|
|
} else if (status=="kas_change") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Ganti Data sesuai Kas terpilih,<br \>1 Detik sebelum refresh Page.',
|
|
type: 'custom',
|
|
addclass: 'notification-primary icon-nb',
|
|
icon: 'fa fa-refresh fa-spin',
|
|
shadow: true
|
|
});
|
|
} else if (status=="autorefresh_minusitem") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Data berkurang jumlahnya, 5 Detik sebelum refresh Page.',
|
|
type: 'custom',
|
|
addclass: 'notification-primary icon-nb',
|
|
icon: 'fa fa-refresh fa-spin',
|
|
shadow: true
|
|
});
|
|
} else if (status=="success_rev") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Data berhasil direvisi.',
|
|
type: 'success',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="success_sort") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Data berhasil diubah Urutannya.',
|
|
type: 'success',
|
|
addclass: 'icon-nb',
|
|
shadow: true
|
|
});
|
|
} else if (status=="cetakulang_mode_in") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Masuk Mode Cetak Ulang, 1 Detik sebelum refresh Page.',
|
|
type: 'custom',
|
|
addclass: 'notification-primary icon-nb',
|
|
icon: 'fa fa-refresh fa-spin',
|
|
shadow: true
|
|
});
|
|
} else if (status=="pengingatpiutang_change") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Ganti Data sesuai Filter, 1 Detik sebelum refresh Page.',
|
|
type: 'custom',
|
|
addclass: 'notification-primary icon-nb',
|
|
icon: 'fa fa-refresh fa-spin',
|
|
shadow: true
|
|
});
|
|
} else if (status=="parsial_mode_in") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Masuk Mode Parsial, 1 Detik sebelum refresh Page.',
|
|
type: 'custom',
|
|
addclass: 'notification-primary icon-nb',
|
|
icon: 'fa fa-refresh fa-spin',
|
|
shadow: true
|
|
});
|
|
} else if (status=="cetakulang_mode_out") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Masuk Mode Normal, 1 Detik sebelum refresh Page.',
|
|
type: 'custom',
|
|
addclass: 'notification-primary icon-nb',
|
|
icon: 'fa fa-refresh fa-spin',
|
|
shadow: true
|
|
});
|
|
} else if (status=="parsial_mode_out") {
|
|
new PNotify({
|
|
title: '<b>Notifikasi</b>',
|
|
text: 'Masuk Mode Normal, 1 Detik sebelum refresh Page.',
|
|
type: 'custom',
|
|
addclass: 'notification-primary icon-nb',
|
|
icon: 'fa fa-refresh fa-spin',
|
|
shadow: true
|
|
});
|
|
}
|
|
}
|
|
|
|
function delayReload(id, location){
|
|
setTimeout(function(){
|
|
window.location.href = location;
|
|
},id);
|
|
};
|
|
|
|
function forwardReload(location){
|
|
window.location.href = location;
|
|
};
|
|
|
|
</script>
|