zilong %!s(int64=4) %!d(string=hai) anos
pai
achega
377b9d2692
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/Models/ServicePack.php

+ 1 - 1
app/Models/ServicePack.php

xqd
@@ -37,7 +37,7 @@ class ServicePack extends BaseModel
     {
         $data = '';
         if (!empty($this->agreement_id)) {
-            $data = SystemConfig::where('id', $this->agreement_id)->value('value');
+            $data = InsuranceAgreement::where('id', $this->agreement_id)->value('content');
         }
 
         return $data;