feat(qma): show BAST document section only for outside site unit transfers

This commit is contained in:
Ray1111-aa
2026-10-27 11:50:08 +07:00
parent a80fcfe7e5
commit 02ec65a78a
6 changed files with 193 additions and 43 deletions
@@ -0,0 +1,30 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::table('unit_transfers', function (Blueprint $table) {
$table->string('document_number', 255)->nullable()->change();
$table->string('document_title', 255)->nullable()->change();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('unit_transfers', function (Blueprint $table) {
$table->string('document_number', 255)->nullable(false)->change();
$table->string('document_title', 255)->nullable(false)->change();
});
}
};