ajun 4 gadi atpakaļ
vecāks
revīzija
7b4dd5e0d7
1 mainītis faili ar 10 papildinājumiem un 0 dzēšanām
  1. 10 0
      app/OwnerLogisticPrintTemplate.php

+ 10 - 0
app/OwnerLogisticPrintTemplate.php

@@ -18,4 +18,14 @@ class OwnerLogisticPrintTemplate extends Model
     {
     {
         return $this->belongsTo(PrintTemplate::class);
         return $this->belongsTo(PrintTemplate::class);
     }
     }
+
+    public function owner():BelongsTo
+    {
+        return $this->belongsTo(Owner::class);
+    }
+
+    public function logistic():BelongsTo
+    {
+        return $this->belongsTo(Logistic::class);
+    }
 }
 }