@if($parentAsset)
<tr>
	<th><input type="checkbox" name="link_asset[]" value="{{$id}}"></th>
	<td>{{$parentAsset->asset_tag}}</td>
	<td>{{$parentAsset->makeAndModel?->manufacturer?->name.'  '.$parentAsset->makeAndModel?->name}}, {{$parentAsset->technicalSpec->details ?? ''}}</td>
	<td>-</td>
	<td>{{$parentAsset->linked_date}}</td>
</tr>
@endif

@forelse($childrenAsset as $childAsset)
<tr>
	<th><input type="checkbox" name="link_asset[]" value="{{$childAsset->id}}"></th>
	<td>{{$childAsset->asset_tag}}</td>

	<td>{{$childAsset->makeAndModel?->manufacturer?->name.'  '.$childAsset->makeAndModel?->name}}, {{$childAsset->technicalSpec->details ?? ''}}</td>
		<td>{{$childAsset->asset_tag}}</td>
	<td>{{$childAsset->linked_date}}</td>
</tr>
@empty
@endif