Develop Jadwal Salur DBH
This commit is contained in:
@@ -1,15 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class MstGolongan extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
protected $table = 'mst_golongan';
|
||||
protected $fillable = [
|
||||
'nama_golongan', 'nama_pangkat', 'golongan_besar','alias'
|
||||
];
|
||||
}
|
||||
@@ -1,15 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class MstHak extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
protected $table = 'mst_hak';
|
||||
protected $fillable = [
|
||||
'nama_hak'
|
||||
];
|
||||
}
|
||||
@@ -1,15 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class MstKantor extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
protected $table = 'mst_kantor';
|
||||
protected $fillable = [
|
||||
'nama_kantor', 'wilayah'
|
||||
];
|
||||
}
|
||||
@@ -1,15 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class MstKeputusan extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
protected $table = 'mst_keputusan';
|
||||
protected $fillable = [
|
||||
'id', 'nama_keputusan'
|
||||
];
|
||||
}
|
||||
@@ -1,15 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class MstKpkd extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
protected $table = 'mst_kpkd';
|
||||
protected $fillable = [
|
||||
'nama', 'nip', 'nrk', 'status_id'
|
||||
];
|
||||
}
|
||||
@@ -1,15 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class MstTempatKerja extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
protected $table = 'mst_tempatkerja';
|
||||
protected $fillable = [
|
||||
'skpd_id', 'skpd_name', 'tempat_kerja'
|
||||
];
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class MstUnit extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
protected $table = 'mst_unit';
|
||||
protected $fillable = [];
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Yajra\Oci8\Eloquent\OracleEloquent as Eloquent;
|
||||
|
||||
class SPS_PENDAPATAN extends Eloquent
|
||||
{
|
||||
use HasFactory;
|
||||
protected $connection = 'oracle';
|
||||
protected $table = 'PROKSI.SPS_PENDAPATAN';
|
||||
}
|
||||
@@ -1,15 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class TxKeluarga extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
protected $table = 'tx_keluarga';
|
||||
protected $fillable = [
|
||||
'nip', 'nama', 'tgl_lahir','hubungan'
|
||||
];
|
||||
}
|
||||
@@ -1,109 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class TxSkpp extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
protected $table = 'tx_skpp';
|
||||
protected $fillable = [
|
||||
"id_pen",
|
||||
"nama",
|
||||
"nip",
|
||||
"nrk",
|
||||
"golongan",
|
||||
"status_pegawai",
|
||||
"tugas",
|
||||
"dinas",
|
||||
"tgl_akhir",
|
||||
"akhir",
|
||||
"id_kep",
|
||||
"no_pen",
|
||||
"tgl_pen",
|
||||
"id_hak",
|
||||
"tgl_tmt",
|
||||
"ga_pok",
|
||||
"t_issum",
|
||||
"t_anak",
|
||||
"t_lain",
|
||||
"t_jab",
|
||||
"t_beras",
|
||||
"tpph",
|
||||
"bulat",
|
||||
"p_beras",
|
||||
"iuran",
|
||||
"ppph",
|
||||
"lain_2",
|
||||
"potong",
|
||||
"gaber",
|
||||
"u_gaji1",
|
||||
"u_gaji2",
|
||||
"jml_u_gaji",
|
||||
"u_beras1",
|
||||
"u_beras2",
|
||||
"jml_u_beras",
|
||||
"id_kan",
|
||||
"kon_peg",
|
||||
"status_id",
|
||||
"tgl_cetak",
|
||||
"tgl_peg",
|
||||
"keterangan",
|
||||
"nama_kantor1",
|
||||
"nama_kantor2",
|
||||
"wilayah",
|
||||
"no_skpp",
|
||||
"id_unit",
|
||||
"f_revisi",
|
||||
"revisi_remarks",
|
||||
"id_kpkd",
|
||||
"created_by",
|
||||
"updated_by",
|
||||
"revised_at",
|
||||
"revised_by",
|
||||
"total_utang",
|
||||
"total_utang_angsur",
|
||||
"total_utang_sisa",
|
||||
"f_deleted",
|
||||
"deleted_at",
|
||||
"deleted_by"
|
||||
];
|
||||
|
||||
public function mst_keluarga() {
|
||||
return $this->hasMany('App\Models\TxKeluarga','nip','nip');
|
||||
}
|
||||
|
||||
public function mst_utang() {
|
||||
return $this->hasMany('App\Models\TxSkppUtang','nip','nip');
|
||||
}
|
||||
|
||||
public function mst_golongan() {
|
||||
return $this->belongsTo('App\Models\MstGolongan','golongan','id');
|
||||
}
|
||||
|
||||
public function mst_keputusan() {
|
||||
return $this->belongsTo('App\Models\MstKeputusan','id_kep','id');
|
||||
}
|
||||
|
||||
public function mst_hak() {
|
||||
return $this->belongsTo('App\Models\MstHak','id_hak', 'id');
|
||||
}
|
||||
|
||||
public function mst_kantor() {
|
||||
return $this->belongsTo('App\Models\MstKantor','id_kan','id');
|
||||
}
|
||||
|
||||
public function mst_kpkd() {
|
||||
return $this->belongsTo('App\Models\MstKpkd','id_kpkd','id');
|
||||
}
|
||||
|
||||
public function user() {
|
||||
return $this->belongsTo('App\Models\User','created_by','id');
|
||||
}
|
||||
|
||||
public function user_revisi() {
|
||||
return $this->belongsTo('App\Models\User','revised_by','id');
|
||||
}
|
||||
}
|
||||
@@ -1,83 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class TxSkppHst extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
protected $table = 'tx_skpp_hst';
|
||||
protected $fillable = [
|
||||
"id_pen",
|
||||
"nama",
|
||||
"nip",
|
||||
"nrk",
|
||||
"golongan",
|
||||
"status_pegawai",
|
||||
"tugas",
|
||||
"dinas",
|
||||
"tgl_akhir",
|
||||
"akhir",
|
||||
"id_kep",
|
||||
"no_pen",
|
||||
"tgl_pen",
|
||||
"id_hak",
|
||||
"tgl_tmt",
|
||||
"ga_pok",
|
||||
"t_issum",
|
||||
"t_anak",
|
||||
"t_lain",
|
||||
"t_jab",
|
||||
"t_beras",
|
||||
"tpph",
|
||||
"bulat",
|
||||
"p_beras",
|
||||
"iuran",
|
||||
"ppph",
|
||||
"lain_2",
|
||||
"potong",
|
||||
"gaber",
|
||||
"u_gaji1",
|
||||
"u_gaji2",
|
||||
"jml_u_gaji",
|
||||
"u_beras1",
|
||||
"u_beras2",
|
||||
"jml_u_beras",
|
||||
"id_kan",
|
||||
"kon_peg",
|
||||
"status_id",
|
||||
"tgl_cetak",
|
||||
"tgl_peg",
|
||||
"keterangan",
|
||||
"nama_kantor1",
|
||||
"nama_kantor2",
|
||||
"wilayah",
|
||||
"no_skpp",
|
||||
"id_unit",
|
||||
"f_revisi",
|
||||
"revisi_remarks",
|
||||
"tx_skpp_id"
|
||||
];
|
||||
|
||||
public function mst_keluarga() {
|
||||
return $this->hasMany('App\Models\TxKeluarga','nip','nip');
|
||||
}
|
||||
|
||||
public function mst_golongan() {
|
||||
return $this->belongsTo('App\Models\MstGolongan','golongan','id');
|
||||
}
|
||||
|
||||
public function mst_keputusan() {
|
||||
return $this->belongsTo('App\Models\MstKeputusan','id_kep','id');
|
||||
}
|
||||
|
||||
public function mst_hak() {
|
||||
return $this->belongsTo('App\Models\MstHak','id_hak', 'id');
|
||||
}
|
||||
|
||||
public function mst_kantor() {
|
||||
return $this->belongsTo('App\Models\MstKantor','id_kan','id');
|
||||
}
|
||||
}
|
||||
@@ -1,17 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class TxSkppUtang extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
protected $table = 'tx_skpp_utang';
|
||||
protected $fillable = [
|
||||
"nip",
|
||||
"uraian",
|
||||
"jumlah",
|
||||
];
|
||||
}
|
||||
@@ -1,15 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class TxTerbilang extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
protected $table = 'tx_terbilang';
|
||||
protected $fillable = [
|
||||
'tx_skpp_id', 'description'
|
||||
];
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class VwSkppHst extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
protected $table = 'vw_skpp_hst';
|
||||
}
|
||||
Reference in New Issue
Block a user