@forelse($csvData as $csvData)
<tr id="added-count-{{$csvData['userData']['count_add']}}">
	<td>{{ $csvData['userData']['first_name'] }} {{ $csvData['userData']['last_name'] }}</td>
	<td>{{ $csvData['userData']['email'] }}</td>
	<td>{{ $csvData['userData']['employee_id'] }}</td>
	<td>{{ $csvData['userData']['business_title'] }}</td>
	<td>{{ $csvData['userData']['employee_type'] }}</td>
	<td>{{ $csvData['userData']['city'] }}</td>
	<td onclick="deleteRow('added-count-{{$csvData['userData']['count_add']}}')"><i class="icon icon-delete-forever"></i></td>


	<input type="hidden" name="count" value="{{ $csvData['userData']['count_add'] }}">

	<input type="hidden" name="first_name[]" value="{{ $csvData['userData']['first_name'] }}">
	<input type="hidden" name="last_name[]" value="{{ $csvData['userData']['last_name'] }}">
	<input type="hidden" name="employee_id[]" value="{{ $csvData['userData']['employee_id'] }}">
	<input type="hidden" name="hire_date[]" value="{{ $csvData['userData']['hire_date'] }}">
	<input type="hidden" name="email[]" value="{{ $csvData['userData']['email'] }}">
	<input type="hidden" name="city[]" value="{{ $csvData['userData']['city'] }}">
	<input type="hidden" name="business_title[]" value="{{ $csvData['userData']['business_title'] }}">
	<input type="hidden" name="department_id[]" value="{{ $csvData['userData']['department_id'] }}">
	<input type="hidden" name="department[]" value="{{ $csvData['userData']['department'] }}">
	<input type="hidden" name="position_id[]" value="{{ $csvData['userData']['position_id'] }}">
	<input type="hidden" name="user_type_id[]" value="{{ $csvData['userData']['user_type_id'] }}">
	<input type="hidden" name="employee_type_id[]" value="{{ $csvData['userData']['employee_type_id'] }}">
	<input type="hidden" name="employee_type[]" value="{{ $csvData['userData']['employee_type'] }}">
	<input type="hidden" name="terminated_date[]" value="{{ $csvData['userData']['terminated_date'] }}">

	<input type="hidden" name="is_rehire[]" value="{{ isset($csvData['userData']['is_rehire'])?$csvData['userData']['is_rehire']:'' }}">
	<input type="hidden" name="reason[]" value="{{ isset($csvData['userData']['reason'])?$csvData['userData']['reason']:'' }}">
	<input type="hidden" name="change_effective_date[]" value="{{ isset($csvData['userData']['change_effective_date'])?$csvData['userData']['change_effective_date']:'' }}">
	<input type="hidden" name="location_id[]" value="{{ isset($csvData['userData']['location_id'])?$csvData['userData']['location_id']:'' }}">
	<input type="hidden" name="manager_name[]" value="{{ isset($csvData['userData']['manager_name'])?$csvData['userData']['manager_name']:'' }}">
	<input type="hidden" name="supervisory_organization[]" value="{{ isset($csvData['userData']['supervisory_organization'])?$csvData['userData']['supervisory_organization']:'' }}">
	<input type="hidden" name="cost_center[]" value="{{ isset($csvData['userData']['cost_center'])?$csvData['userData']['cost_center']:'' }}">
	<input type="hidden" name="original_hire_date[]" value="{{ isset($csvData['userData']['original_hire_date'])?$csvData['userData']['original_hire_date']:'' }}">



</tr>
@empty
<tr><td>The file has errors. Please fix and upload again!</td></tr>
@endforelse
