<?php
$sql['get_status_barang'] = "
	SELECT 
		statusPengBrgId AS `id`,
		statusPengBrgNama AS `name`
	FROM 
		status_peng_brg_ref
";

$sql['get_unit_kerja'] = "
	SELECT 
		unitKerjaId AS `id`,
		unitKerjaNama AS `name`
	FROM 
		unit_kerja_ref
	ORDER BY 
		unitKerjaNama
";

$sql['get_list_pengendalian_barang'] = "
	SELECT 
		pengBrgId,
		pengBrgUnitId,
		pengBrgLokasi,
		pengBrgTgl,
		pengBApeng,
		pengPIC,
		pengKet,
		pengFile,
		pengIsJurnal
	FROM 
		pengendalian_barang_mst
	";

$sql['get_lokasi_barang'] = "
	SELECT 
		ruangId AS id,
		ruangNama AS name
	FROM 
		ruang
	WHERE 
		ruangUnitId = '%s'
";
?>
