Merge remote-tracking branch 'origin/master' into feature/client-portal
This commit is contained in:
@@ -41,6 +41,9 @@ class ClaimShowResource extends JsonResource
|
||||
$encounterData = EncounterResource::make($encounter);
|
||||
return $encounterData;
|
||||
});
|
||||
|
||||
// $memberDiagnosisHistories = $this->member->
|
||||
|
||||
return $data;
|
||||
}
|
||||
}
|
||||
|
||||
35
Modules/Internal/Transformers/LinksehatPaymentResource.php
Normal file
35
Modules/Internal/Transformers/LinksehatPaymentResource.php
Normal file
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
|
||||
namespace Modules\Internal\Transformers;
|
||||
|
||||
use Illuminate\Http\Resources\Json\JsonResource;
|
||||
|
||||
class LinksehatPaymentResource extends JsonResource
|
||||
{
|
||||
/**
|
||||
* Transform the resource into an array.
|
||||
*
|
||||
* @param \Illuminate\Http\Request
|
||||
* @return array
|
||||
*/
|
||||
public function toArray($request)
|
||||
{
|
||||
$data = parent::toArray($request);
|
||||
|
||||
$data['share_komisi'] = $this->share_komisi;
|
||||
$data['share_konsultasi'] = $this->share_konsultasi;
|
||||
|
||||
return $data;
|
||||
|
||||
// return [
|
||||
// // 'healthcare_name' => $this->healthCare->name ?? '',
|
||||
// 'health_care' => $this->healthCare,
|
||||
// 'nID' => $this->nID,
|
||||
// 'sBookingCode' => $this->sBookingCode,
|
||||
// 'doctor' => $this->doctor,
|
||||
// 'user' => $this->user,
|
||||
// 'payment_method' => $this->payment_method,
|
||||
// 'detail' => $this->detail
|
||||
// ];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user