update bugs fix

This commit is contained in:
2024-02-19 15:18:00 +07:00
parent 1e7576a5ce
commit a79b7b53e3
4 changed files with 26 additions and 26 deletions

View File

@@ -32,25 +32,25 @@ class RequestDailyMonitoring extends Model
protected $appends = ['medical_plan', 'non_medikamentosa_plan', 'document', 'discharge_date'];
public function getBodyTemperatureAttribute()
{
return round($this->attributes['body_temperature'], 0);
}
// public function getBodyTemperatureAttribute()
// {
// return round($this->attributes['body_temperature'], 0);
// }
public function getSistoleAttribute()
{
return round($this->attributes['sistole'], 0);
}
// public function getSistoleAttribute()
// {
// return round($this->attributes['sistole'], 0);
// }
public function getDiastoleAttribute()
{
return round($this->attributes['diastole'], 0);
}
// public function getDiastoleAttribute()
// {
// return round($this->attributes['diastole'], 0);
// }
public function getRespirationRateAttribute()
{
return round($this->attributes['respiration_rate'], 0);
}
// public function getRespirationRateAttribute()
// {
// return round($this->attributes['respiration_rate'], 0);
// }
public function getMedicalPlanAttribute()
{