Merge remote-tracking branch 'origin/staging' into origin/production
This commit is contained in:
@@ -25,8 +25,6 @@ class RequestLogShowResource extends JsonResource
|
||||
*/
|
||||
public function toArray($request)
|
||||
{
|
||||
// $requestLog = parent::toArray($request);
|
||||
// $corporateId = $requestLog['member']['current_plan']['corporate_id'] ?? 0;
|
||||
|
||||
$requestLog = parent::toArray($request);
|
||||
$corporateId = $requestLog['member']['current_plan']['corporate_id'] ?? 0;
|
||||
@@ -110,7 +108,6 @@ class RequestLogShowResource extends JsonResource
|
||||
'medicine' => $medicineData,
|
||||
'files' => $requestLog['files'],
|
||||
'provider' => $providerName,
|
||||
|
||||
'no_identitas' => $requestLog['member']['nric'],
|
||||
'keterangan' => $requestLog['keterangan'],
|
||||
'hak_kamar_pasien' => $requestLog['hak_kamar_pasien'],
|
||||
|
||||
@@ -34,7 +34,6 @@ class RequestLog extends Model
|
||||
'hak_kamar_pasien',
|
||||
'penempatan_kamar',
|
||||
'catatan',
|
||||
'no_identitas',
|
||||
'code',
|
||||
'approved_by',
|
||||
'approved_at',
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
<?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->dropColumn('no_identitas');
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::table('request_logs', function (Blueprint $table) {
|
||||
$table->string('no_identitas');
|
||||
});
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user