@forelse($csvData as $csvData)
<tr id="added-count-{{$csvData['assetData']['count_add']}}">
	<td>{{$csvData['assetData']['po_id']}}</td>
	<td>{{\App\Models\Location::find($csvData['assetData']['location_id'])->room_name}}</td>
	<td>
		@if($csvData['assetData']['make_and_model_id'])
		{{\App\Models\MakeAndModel::find($csvData['assetData']['make_and_model_id'])->manufacturer->name.' '. \App\Models\MakeAndModel::find($csvData['assetData']['make_and_model_id'])->name}}
		@endif
	</td>
	<td>
		@if($csvData['assetData']['technical_spec_id'])
		{{\App\Models\TechnicalSpecs::find($csvData['assetData']['technical_spec_id'])->details}}
		@endif
	</td>
	<td>{{$csvData['assetData']['asset_tag']}}</td>
	<td>{{$csvData['assetData']['serial_no']}}</td>
	

	<td onclick="deleteRow('added-count-{{$csvData['assetData']['count_add']}}')"><i class="icon icon-delete-forever"></i></td>

	<input type="hidden" name="count" value="{{$csvData['assetData']['count_add']}}">
	<input type="hidden" name="location_id{{$csvData['assetData']['count_add']}}" value="{{$csvData['assetData']['location_id']}}">
	<input type="hidden" name="asset_tag{{$csvData['assetData']['count_add']}}" value="{{$csvData['assetData']['asset_tag']}}">
	<input type="hidden" name="po_id{{$csvData['assetData']['count_add']}}" value="{{$csvData['assetData']['po_id']}}">
	<input type="hidden" name="technical_spec_id{{$csvData['assetData']['count_add']}}" value="{{$csvData['assetData']['technical_spec_id']}}">
	<input type="hidden" name="make_and_model_id{{$csvData['assetData']['count_add']}}" value="{{$csvData['assetData']['make_and_model_id']}}">
	<input type="hidden" name="serial_no{{$csvData['assetData']['count_add']}}" value="{{$csvData['assetData']['serial_no']}}">
	<input type="hidden" name="ticket_no{{$csvData['assetData']['count_add']}}" value="{{$csvData['assetData']['ticket_no']}}">
	<input type="hidden" name="asset_type_id{{$csvData['assetData']['count_add']}}" value="{{$csvData['assetData']['asset_type_id']}}">
	<input type="hidden" name="ip{{$csvData['assetData']['count_add']}}" value="{{$csvData['assetData']['ip']}}">
	<input type="hidden" name="mac{{$csvData['assetData']['count_add']}}" value="{{$csvData['assetData']['mac']}}">
	
</tr>
@empty
@endforelse