Commit f08c6eef by lujunyi

处方列表

parent 19b4b421
...@@ -51,7 +51,7 @@ public function getDoctorSignedPicAttribute($value) ...@@ -51,7 +51,7 @@ public function getDoctorSignedPicAttribute($value)
public function getPharmacistSignedPicAttribute($value) public function getPharmacistSignedPicAttribute($value)
{ {
if (Str::contains($value, '//')) { if (Str::contains($value, '//') || ! $value) {
return $value; return $value;
} }
...@@ -60,7 +60,7 @@ public function getPharmacistSignedPicAttribute($value) ...@@ -60,7 +60,7 @@ public function getPharmacistSignedPicAttribute($value)
public function getPrescriptionPicAttribute($value) public function getPrescriptionPicAttribute($value)
{ {
if (Str::contains($value, '//')) { if (Str::contains($value, '//') || ! $value) {
return $value; return $value;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment