Merged in hotfix/PENY001-remove-bakilelong-hardcode (pull request #317)

added penyelarasan table to remove bakilelong hardcode and put in untungrugiterkumpul
This commit is contained in:
Muhd hafifie
2025-07-05 23:07:42 +00:00
4 changed files with 72 additions and 22 deletions
@@ -0,0 +1,36 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreatePenyelarasanTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('penyelarasan', function (Blueprint $table) {
$table->id();
$table->char('kodcaw', 20);
$table->decimal('rugilelong', 10, 2)->default(0);
$table->decimal('bakilelong', 10, 2)->default(0);
$table->decimal('lain-lain', 10, 2)->default(0);
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('penyelarasan');
}
}