new function importdata from live to master
This commit is contained in:
@@ -218,7 +218,9 @@ class CreateCawangansTable extends Migration
|
||||
|
||||
Schema::create('gadaimarhun', function (Blueprint $table) {
|
||||
$table->bigIncrements('id');
|
||||
$table->string('kodcaw')->nullable();
|
||||
$table->string('norujukan');
|
||||
$table->date('t_gadai')->nullable();;
|
||||
$table->decimal('bil', $precision = 3, $scale = 2);
|
||||
$table->string('marhun');
|
||||
$table->string('nota');
|
||||
|
||||
@@ -115,6 +115,10 @@ class RolesSeeder extends Seeder
|
||||
'name' => 'notistamatkontrak',
|
||||
'description' => 'Notis 30 Hari Sebelum Tamat Kontrak'
|
||||
]);
|
||||
Permission::create([
|
||||
'name' => 'importdata',
|
||||
'description' => 'Import Data Cawangan Dari LIVE to Master'
|
||||
]);
|
||||
|
||||
|
||||
//account
|
||||
@@ -170,6 +174,7 @@ class RolesSeeder extends Seeder
|
||||
$role6->givePermissionTo('pengesahan');
|
||||
$role6->givePermissionTo('notistamatkontrak');
|
||||
$role6->givePermissionTo('kemaskinihargaasas');
|
||||
$role6->givePermissionTo('importdata');
|
||||
|
||||
$role7 = Role::create(['name' => 'account']);
|
||||
$role7->givePermissionTo('pengesahanbayaran');
|
||||
|
||||
Reference in New Issue
Block a user