@extends('layouts.master', [ 'title' => 'Create Visitor', 'icon_back' => true, 'url' => route('gate-in.visitor'), ]) @push('meta') @endpush @push("styles") @endpush @section('content')
@lang('app.informasi_visitor')
@include('components.input.form-input', [ 'label' => __('app.name'), 'mandatory' => true, 'name' => 'name', 'placeholder' => __('app.masukkan_field', ['field' => 'name']), ])
@php $gender = ['Male', 'Female']; @endphp @include('components.input.form-select', [ 'label' => __('app.gender'), 'options' => $gender, 'mandatory' => true, 'name' => 'gender', 'placeholder' => __('app.select_field', ['field' => 'gender']), 'arr_type' => 'linear', ])
@php $blood = ['A', 'AB', 'B', 'O']; @endphp @include('components.input.form-select', [ 'label' => __('app.blood_type'), 'options' => $blood, 'mandatory' => true, 'name' => 'blood_type', 'placeholder' => __('app.select_field', ['field' => 'blood type']), 'arr_type' => 'linear', ])
@include('components.input.form-input', [ 'label' => __('app.birth_place'), 'mandatory' => true, 'name' => 'birth_place', 'placeholder' => __('app.masukkan_field', ['field' => 'birth place']), ])
@include('components.input.form-date', [ 'label' => __('app.birth_date'), 'name' => 'birth_date', 'mandatory' => true, 'placeholder' => __('app.select_field', ['field' => 'birth date']), ])
@include('components.input.form-input', [ 'label' => __('app.phone_number'), 'mandatory' => true, 'name' => 'phone_number', 'placeholder' => __('app.masukkan_field', ['field' => 'phone number']), ])
@include('components.input.form-input', [ 'label' => 'Email (Optional)', 'mandatory' => false, 'name' => 'email', 'placeholder' => __('app.masukkan_field', ['field' => 'email']), ])
@include('components.input.form-select', [ 'label' => __('app.nationality'), 'options' => $countries, 'mandatory' => true, 'name' => 'nationality', 'placeholder' => __('app.select_field', ['field' => 'nationality']), 'arr_type' => 'assoc', 'value_type' => 'string', ])
@include('components.input.form-textarea', [ 'label' => __('app.address'), 'mandatory' => true, 'name' => 'address', 'placeholder' => __('app.masukkan_field', ['field' => 'address']), ])
@include('components.input.form-input', [ 'label' => __('app.company'), 'mandatory' => true, 'name' => 'company', 'placeholder' => __('app.masukkan_field', ['field' => 'company']), ])
@include('components.input.form-select', [ 'label' => __('app.purpose'), 'options' => $purpose, 'mandatory' => true, 'name' => 'purposed', 'placeholder' => __('app.select_field', ['field' => 'purpose']), 'arr_type' => 'linear', ])
@include('components.input.form-input', [ 'label' => 'Sponsor (email)', 'input_type' => 'email', 'mandatory' => true, 'name' => 'sponsor', 'placeholder' => __('app.masukkan_field', ['field' => 'sponsor']), ])
{{--
--}}
@include('components.form.form-upload-file', [ 'id' => 'pas_photo', ])
@include('components.form.form-upload-file', [ 'id' => 'health_certificate', 'tooltip' => true, ])
@include('components.button.card-button-submit', [ 'form_id' => 'form_gate_check_in_visitor', 'btn_submit_id' => 'btn_submit_check_in_visitor', 'url_back' => route('gate-in.visitor'), ])
@endsection @push('scripts') @endpush