Develop realisasi belanja

This commit is contained in:
Pusdatin BPKD Jkt
2022-07-25 16:25:51 +07:00
parent f9059ad5d5
commit 454a9022ab
23 changed files with 491 additions and 170 deletions
@@ -33,8 +33,10 @@ class CreateDbhBelanjaRealisasiTable extends Migration
$table->decimal('jumlah_anggaran', 19, 2);
$table->tinyInteger('volume_satuan');
$table->string('unit_satuan',30);
$table->decimal('jumlah_realisasi', 19, 2);
$table->tinyInteger('volume_satuan_realisasi')->nullable();
$table->string('unit_satuan_realisasi',30)->nullable();
$table->string("no_sp2d",30);
$table->uuid('realisasi_by')->nullable();
$table->timestamps();
});
@@ -0,0 +1,37 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateDbhBelanjaRealisasiDetailTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('dbh_belanja_realisasi_detail', function (Blueprint $table) {
$table->id();
$table->uuid("dbh_belanja_realisasi_id");
$table->decimal('jumlah_realisasi', 19, 2);
$table->tinyInteger('volume_satuan_realisasi')->nullable();
$table->string('unit_satuan_realisasi',30)->nullable();
$table->string("no_sp2d",30);
$table->uuid("created_by");
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('dbh_belanja_realisasi_detail');
}
}