export arrived parcel improvements

This commit is contained in:
Omair Saleh
2023-09-01 05:27:13 +08:00
parent a3bff9d079
commit 402f64364b
+2 -3
View File
@@ -113,9 +113,8 @@ class CompanyModule extends AbstractModel implements Addressable, Documentable,
public function getMarking()
{
$connection = $this->invites->first();
dd($connection);
return $connection ? $connection->pivot->invitee_reference : '';
$connection = $this->connections()->first();
return $connection ? $connection->invitee_reference : '';
}
/**