Merge remote-tracking branch 'origin/staging' into origin/production
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::table('request_logs', function (Blueprint $table) {
|
||||
$table->integer('nominal')->default(0)->after('total_cob');
|
||||
$table->string('status_approval')->nullable()->after('status_final_log');
|
||||
$table->integer('approval_nominal_by')->nullable()->after('status_approval');
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::table('request_logs', function (Blueprint $table) {
|
||||
$table->dropColumn('nominal');
|
||||
$table->dropColumn('status_approval');
|
||||
$table->dropColumn('approval_nominal_by');
|
||||
});
|
||||
}
|
||||
};
|
||||
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('livechat_update_logs', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->unsignedBigInteger('nIDLivechat');
|
||||
$table->unsignedBigInteger('nIDSummary')->nullable();
|
||||
$table->string('status');
|
||||
$table->text('response')->nullable();
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('livechat_update_logs');
|
||||
}
|
||||
};
|
||||
19
database/seeders/LivechatUpdateLogSeeder.php
Normal file
19
database/seeders/LivechatUpdateLogSeeder.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Seeders;
|
||||
|
||||
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class LivechatUpdateLogSeeder extends Seeder
|
||||
{
|
||||
/**
|
||||
* Run the database seeds.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
||||
@@ -137,6 +137,11 @@ class NavigationSeeder extends Seeder
|
||||
'path' => '/case_management/inpatient_monitoring',
|
||||
'permission' => 'final-log-list'
|
||||
],
|
||||
[
|
||||
'title' => 'Approval Inpatient',
|
||||
'path' => '/case_management/approval_inpatient_monitoring',
|
||||
'permission' => 'approval-log-list'
|
||||
],
|
||||
],
|
||||
'permission' => null
|
||||
],
|
||||
|
||||
@@ -76,6 +76,7 @@ class PermissionTableSeeder extends Seeder
|
||||
'user-access-list',
|
||||
'report-katalog-dokter',
|
||||
'invoice-payment-list',
|
||||
'approval-log-list',
|
||||
]
|
||||
],
|
||||
####################### CLIENT PORTAL #########################
|
||||
|
||||
Reference in New Issue
Block a user