added autoserahan endpoints

This commit is contained in:
hafifierahman
2025-02-24 01:32:05 +08:00
committed by Hafifie PKB
parent e825bb21c2
commit 73c8220e1a
4 changed files with 184 additions and 0 deletions
@@ -0,0 +1,40 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateApprovalWithdrawal extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('approval_withdrawal', function (Blueprint $table) {
$table->id();
$table->char('kodcaw', 20);
$table->string('pc_name', 100);
$table->string('operasi_name', 100)->nullable();
$table->decimal('amount', 10, 2)->default(0);
$table->string('approval_status',20);
$table->boolean('updated_serahan_v2')->default(false);
$table->boolean('updated_pendahuluan_v3')->default(false);
$table->timestamp('approval_timestamp');
$table->integer('gldetail_id');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('approval_withdrawal');
}
}