|
@@ -96,6 +96,12 @@ class Docter extends BaseModel
|
|
return $base_price*100;
|
|
return $base_price*100;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ public function getAppointPriceAttribute()
|
|
|
|
+ {
|
|
|
|
+ $appoint_price = DocterSetting::where('docter_id', $this->id)->where('type', 1)->where('status', 2)->value('appoint_price');
|
|
|
|
+ return $appoint_price*100;
|
|
|
|
+ }
|
|
|
|
+
|
|
public function getIsCanPhoneAttribute()
|
|
public function getIsCanPhoneAttribute()
|
|
{
|
|
{
|
|
if ($this->is_phone == 1) {
|
|
if ($this->is_phone == 1) {
|