{{ translate('Pass tenant values') }}
@forelse ($tenants as $tenant)
{{ $tenant->name }}
{!! Form::hidden('tenant_id_' . $tenant->id, $tenant->id) !!}
@if (isset($formData['tenant_value_' . $tenant->id])) {!! Form::select('tenant_value_' . $tenant->id, $valueArra, $formData['tenant_value_' . $tenant->id], ['id' => 'tenant_value_' . $tenant->id, 'class' => 'form-control select2']) !!} @else {!! Form::select('tenant_value_' . $tenant->id, $valueArra, null, ['id' => 'tenant_value_' . $tenant->id, 'class' => 'form-control select2']) !!} @endif
@if (isset($formData['tenant_quantity_' . $tenant->id])) {!! Form::number('tenant_quantity_' . $tenant->id, $formData['tenant_quantity_' . $tenant->id], ['id' => 'tenant_quantity_' . $tenant->id, 'class' => 'form-control', 'placeholder' => translate('Quantity')]) !!} @else {!! Form::number('tenant_quantity_' . $tenant->id, 0, ['id' => 'tenant_quantity_' . $tenant->id, 'class' => 'form-control', 'placeholder' => translate('Quantity')]) !!} @endif
@if (isset($formData['tenant_type_' . $tenant->id])) {!! Form::select('tenant_type_' . $tenant->id, $typeArra, $formData['tenant_type_' . $tenant->id], ['id' => 'tenant_type_' . $tenant->id, 'class' => 'form-control select2']) !!} @else {!! Form::select('tenant_type_' . $tenant->id, $typeArra, null, ['id' => 'tenant_type_' . $tenant->id, 'class' => 'form-control select2']) !!} @endif
@empty @endforelse