- Memisahkan data aset tetap yang sedang disusutkan dengan aset tetap… #54
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
… yang sudah habis masa penyusutannya dan aset tetap yang telah dihapus dari laporan.
query ->
CREATE TABLE IF NOT EXISTS
aset_tetap
(id
int(11) NOT NULL AUTO_INCREMENT,aset_id
int(11) DEFAULT NULL,aktivis_id
int(11) DEFAULT NULL,aktivis_id_pembeli
int(11) DEFAULT NULL,aset_tetap_golongan_id
int(11) DEFAULT NULL,aset_tetap_kelompok_id
int(11) DEFAULT NULL,aset_tetap_jenis_id
int(11) DEFAULT NULL,aset_tetap_lokasi_id
int(11) DEFAULT NULL,kode
varchar(255) DEFAULT NULL,name
varchar(255) DEFAULT NULL,merk
varchar(255) DEFAULT NULL,tipe
varchar(255) DEFAULT NULL,kondisi
varchar(255) DEFAULT NULL,gambar
text,tanggal
date DEFAULT NULL,harga
double(20,0) DEFAULT NULL,pokok_penyusutan
double(20,0) DEFAULT NULL,bulan_penyusutan
double(20,0) DEFAULT NULL,sisa_penyusutan
double(20,0) DEFAULT NULL,sisa_bulan_penyusutan
double(20,0) DEFAULT NULL,nota
text,keterangan
text,hapus_dari_laporan
timestamp NULL DEFAULT NULL,created_at
timestamp NULL DEFAULT NULL,updated_at
timestamp NULL DEFAULT NULL,deleted_at
timestamp NULL DEFAULT NULL, PRIMARY KEY (id
), KEYaset_tetap_aset_id_deleted_at
(aset_id
,deleted_at
), KEYaset_tetap_kode_deleted_at
(kode
,deleted_at
) ) ENGINE=InnoDB AUTO_INCREMENT=310 DEFAULT CHARSET=latin1;