update blast wabot tuntut baki dan parameter setting

This commit is contained in:
Nur Izzati Zulkifli
2023-05-31 15:50:39 +08:00
parent abfdc8f235
commit 5960e2265c
10 changed files with 411 additions and 53 deletions
@@ -30,7 +30,10 @@ class CreateCawangansTable extends Migration
$table->string('nofaks')->nullable();
$table->string('lokasi')->nullable();
$table->string('pkb_jmc')->nullable();
// $table->string('para2')->nullable();
$table->longText('para2')->nullable();
$table->longText('para3')->nullable();
$table->longText('parabaki')->nullable();
$table->longText('parabaki2')->nullable();
$table->timestamps();
});
@@ -65,6 +65,7 @@ class CreateLelongsTable extends Migration
$table->string('lokasi')->nullable();
$table->integer('fasa')->default(0);
$table->integer('kali')->nullable();
$table->integer('bilblast')->nullable();
$table->timestamps();
$table->foreign('caw_id')
@@ -199,6 +200,8 @@ class CreateLelongsTable extends Migration
$table->timestamps();
$table->longText('para2')->nullable();
$table->longText('para3')->nullable();
$table->longText('parabaki')->nullable();
$table->longText('parabaki2')->nullable();
// $table->foreign('norujukan')
@@ -220,5 +223,6 @@ class CreateLelongsTable extends Migration
Schema::dropIfExists('lelongbidmarhun');
Schema::dropIfExists('lelkarat');
Schema::dropIfExists('lelkarat_temp');
Schema::dropIfExists('tetapan');
}
}
+6
View File
@@ -145,6 +145,11 @@ class RolesSeeder extends Seeder
'description' => 'Report By Cawangan(operasi)'
]);
Permission::create([
'name' => 'parameter',
'description' => 'Parameter'
]);
//account
Permission::create([
'name' => 'pengesahanbayaran',
@@ -232,6 +237,7 @@ class RolesSeeder extends Seeder
$role6->givePermissionTo('reportkali');
$role6->givePermissionTo('pengurusangambar');
$role6->givePermissionTo('reportbycaw');
$role6->givePermissionTo('parameter');