create page tax with data, upload and export group by subdistrict
This commit is contained in:
38
database/migrations/2025_08_04_231702_create_taxs_table.php
Normal file
38
database/migrations/2025_08_04_231702_create_taxs_table.php
Normal file
@@ -0,0 +1,38 @@
|
||||
<?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::create('taxs', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('tax_code');
|
||||
$table->string('tax_no')->unique();
|
||||
$table->string('npwpd');
|
||||
$table->string('wp_name');
|
||||
$table->string('business_name');
|
||||
$table->text('address');
|
||||
$table->date('start_validity');
|
||||
$table->date('end_validity');
|
||||
$table->decimal('tax_value', 12, 2);
|
||||
$table->string('subdistrict');
|
||||
$table->string('village');
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('taxs');
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user