Update Rekening Tamsil dan TPG
This commit is contained in:
@@ -18,4 +18,8 @@ class PendapatanRealisasi extends Eloquent
|
||||
'retur','bersih','tw','gelombang','potongan_pph','potongan_jkn'
|
||||
];
|
||||
|
||||
public function hasSts() {
|
||||
return $this->hasMany('App\Models\PendapatanRealisasiSts','id_pendapatan_realisasi','id');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
use App\Traits\Uuids;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Yajra\Oci8\Eloquent\OracleEloquent as Eloquent;
|
||||
|
||||
class PendapatanRealisasiSts extends Eloquent
|
||||
{
|
||||
use HasFactory;
|
||||
protected $connection = 'Samasa';
|
||||
protected $table = 'pendapatan_realisasi_sts';
|
||||
protected $guarded = [];
|
||||
}
|
||||
Reference in New Issue
Block a user