create page tax with data, upload and export group by subdistrict

This commit is contained in:
arifal hidayat
2025-08-05 01:30:37 +07:00
parent 456eec83dc
commit 7135876ebc
18 changed files with 780 additions and 3 deletions

View 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');
}
};