@forelse($csvData as $csvData)
<tr id="added-count-{{$csvData['assetData']['asset_count']}}">
	<td>{{$csvData['assetData']['serial_no']}}</td>
	<td>
		@if($csvData['assetData']['asset_status_id'])
		{{\App\Models\AssetStatus::find($csvData['assetData']['asset_status_id'])->name}}
		@endif
	</td>
	<td>
		@if($csvData['assetData']['location_id'])
		{{\App\Models\Location::find($csvData['assetData']['location_id'])->room_name}}
		@endif
	</td>
	<td>{{$csvData['assetData']['wipe_confirmation']}}</td>
	<td>{{$csvData['assetData']['retain_hold_wipe_confirmed_date']}}</td>
	<td>{{$csvData['assetData']['retain_hold_note']}}</td>
	<td>
		@if($csvData['assetData']['ticket_no'])
		{{$csvData['assetData']['ticket_no']}}
		@endif
	</td>
	<td onclick="deleteRow('added-count-{{$csvData['assetData']['asset_count']}}')"><i class="icon icon-delete-forever"></i></td>

	<input type="hidden" name="count" value="{{$csvData['assetData']['asset_count']}}">
	<input type="hidden" name="asset_id{{$csvData['assetData']['asset_count']}}"
		value="{{$csvData['assetData']['asset_id']}}">
	<input type="hidden" name="serial_no{{$csvData['assetData']['asset_count']}}"
		value="{{$csvData['assetData']['serial_no']}}">
	<input type="hidden" name="asset_status_id{{$csvData['assetData']['asset_count']}}"
		value="{{$csvData['assetData']['asset_status_id']}}">
	<input type="hidden" name="location_id{{$csvData['assetData']['asset_count']}}"
		value="{{$csvData['assetData']['location_id']}}">
	<input type="hidden" name="ticket_no{{$csvData['assetData']['asset_count']}}"
		value="{{$csvData['assetData']['ticket_no']}}">
	<input type="hidden" name="status_name{{$csvData['assetData']['asset_count']}}"
		value="{{$csvData['assetData']['status_name']}}">
	<input type="hidden" name="wipe_confirmation{{$csvData['assetData']['asset_count']}}"
		value="{{$csvData['assetData']['wipe_confirmation']}}">
	<input type="hidden" name="retain_hold_wipe_confirmed_date{{$csvData['assetData']['asset_count']}}"
		value="{{$csvData['assetData']['retain_hold_wipe_confirmed_date']}}">
	<input type="hidden" name="retain_hold_note{{$csvData['assetData']['asset_count']}}"
		value="{{$csvData['assetData']['retain_hold_note']}}">
</tr>
@empty
@endforelse
<input type="hidden" name="filePath" value="{{$path}}">
<input type="hidden" name="fileName" value="{{$fileName}}">