<?php
defined('BASEPATH') or exit('No direct script access allowed');

/**
 * Error Message
 */

// helper
$lang['error']           = 'Failed: something went wrong';
$lang['success_save']    = 'Successfully save data';
$lang['failed_save']     = 'Failed save data';
$lang['success_update']  = 'Successfully update data';
$lang['failed_update']   = 'Failed update data';
$lang['success_delete']  = 'Successfully delete data';
$lang['failed_delete']   = 'Failed delete data';
$lang['error_duplicate'] = 'Failed: record already exists';

$lang['success_update_reimburse'] = 'Successfully process data';
$lang['failed_update_reimburse']  = 'Failed processing data';
$lang['revisi_update_reimburse']  = 'The data has been successfully processed, and will be returned to the employee for revision';
$lang['tolak_update_reimburse']   = 'Reimbursement data rejected';

$lang['success_revisi_reimburse'] = 'Data successfully returned for revision';
$lang['failed_revisi_reimburse']  = 'Data failed to be returned for revision';

$lang['success_approve_reimburse'] = 'Successfully approve data';
$lang['failed_approve_reimburse']  = 'Failed to approve data';

$lang['ket_action_pengajuan_tambah'] = 'submission of additional ';
$lang['ket_action_pengajuan_update'] = 'submission of updated ';
$lang['ket_action_pengajuan_hapus']  = 'submission of deleted ';
$lang['data_diri_action_pengajuan_update']  = 'Submission of Personal Data Update';


$lang['error_datatable']      = 'An error occurred while processing the data, reload the page ?';
$lang['error_kode_digunakan'] = 'The code has already been used';

// cabang
$lang['error_kode_cabang']  = 'Branch code is required';
$lang['error_nama_cabang']  = 'Branch name is required';
$lang['error_pilih_cabang'] = 'Branch not yet selected';
$lang['error_hapus_cabang'] = 'Failed: there are employee in this branch';
// departemen
$lang['error_kode_departemen']  = 'Department code is required';
$lang['error_nama_departemen']  = 'Department name is required';
$lang['error_hapus_departemen'] = 'Failed: there are employee in this department';

$lang['error_kode_jabatan']   = 'Position code is required';
$lang['error_nama_jabatan']   = 'Position name is required';
$lang['error_level_jabatan']  = 'User level not yet selected';
$lang['error_simpan_jabatan'] = 'Admin level data already exists';
$lang['error_hapus_jabatan']  = 'Failed: there are employee using this position';

$lang['error_nama_lokasi']      = 'Location name is required';
$lang['error_latitude_lokasi']  = 'Latitude is required';
$lang['error_longitude_lokasi'] = 'Longitude is required';
$lang['error_radius_lokasi']    = 'Radius is required';
$lang['error_koordinat_lokasi'] = 'Can&lsquo;t find coordinates for this place';
// lalang
$lang['error_hapus_lokasi'] = 'Failed: there are employee using this location';

$lang['error_kode_jenis_izin']       = 'Permit type code is required';
$lang['error_pilih_jenis_izin']      = 'Permit type not selected';
$lang['error_nama_jenis_izin']       = 'Permit type name is required';
$lang['error_pilih_file_jenis_izin'] = 'Upload file has not been selected';
$lang['error_simpan_jenis_izin']     = ' has been used for ';
$lang['error_hapus_jenis_izin']      = 'Failed: there are employee using this location permit application';

$lang['error_simpan_shift']     = 'The minimum entry time must be less than the entry time';
$lang['error_hapus_shift']      = 'Failed: shift codes are still used for absences';
$lang['error_kode_shift']       = 'Shift code is required';
$lang['error_nama_shift']       = 'Shift name is required';
$lang['error_jam_masuk']        = 'Shift start is required';
$lang['error_jam_pulang']       = 'Shift end is required';
$lang['error_min_jam_masuk']    = 'Minimum shift start is required';
$lang['error_max_jam_pulang']   = 'Maximum shift end is required';
$lang['error_form_hapus_shift'] = 'Shift codes are still used. If you continue to delete, the shift schedule will also be deleted';

$lang['error_hapus_karyawan']           = 'This user data is being used';
$lang['error_nomor_induk_karyawan']     = 'Employee ID number is required';
$lang['error_nama_lengkap']             = 'Full name is required';
$lang['error_jumlah_anak']              = 'Number of children is required';
$lang['error_pilih_jabatan']            = 'Positions have not yet been selected';
$lang['error_pilih_cabang']             = 'Branch not yet selected';
$lang['error_pilih_departemen']         = 'Departments have not yet been selected';
$lang['error_pilih_status_karyawan']    = 'Employee status has not been selected';
$lang['error_tgl_mulai_kontrak']        = 'Contract start date is required';
$lang['error_tgl_berakhir_kontrak']     = 'Contract end date is required';
$lang['error_tgl_mulai_aktif']          = 'Active start date is required';
$lang['error_tgl_resign']               = 'Resignation date is required';
$lang['error_tgl_phk']                  = 'Layoff date is required';
$lang['error_tgl_pensiun']              = 'Retirement date is required';
$lang['error_tgl_join']                 = 'Join date is required';
$lang['error_username']                 = 'Username is required';
$lang['error_password']                 = 'Password is required';
$lang['error_simpan_data_diri']         = 'Failed: Employee ID number is already in use';
$lang['error_username_data_diri']       = 'Failed: Username is already in use';
$lang['error_limit_karyawan_data_diri'] = 'Failed: Employee data has reached the maximum limit';
$lang['error_format_nik']               = 'The Employee ID number format is invalid';

$lang['error_hubungan_keluarga']   = 'Family Relations has not been filled in yet';
$lang['error_status_perkawinan']   = 'Marital status is required';
$lang['error_tempat_lahir']        = 'Place of birth is required';
$lang['error_tgl_lahir']           = 'Date of birth is required';
$lang['error_jenis_kelamin']       = 'Gender is required';
$lang['error_agama']               = 'Religion is required';
$lang['error_pekerjaan']           = 'Job is required';
$lang['error_pendidikan_terakhir'] = 'Last education is required';
$lang['error_status']              = 'Status is required';

$lang['error_jenjang_pendidikan'] = 'Educational level is required';
$lang['error_nama_sekolah']       = 'School name is required';
$lang['error_lulusan_asal']       = 'From graduates is required';
$lang['error_tahun_masuk']        = 'Entry year is required';
$lang['error_tahun_keluar']       = 'Out year is required';

$lang['error_nama_perusahaan']   = 'Company name is required';
$lang['error_jenis_perusahaan']  = 'Type of company is required';
$lang['error_alamat_perusahaan'] = 'Company&lsquo;s address is required';
$lang['error_tgl_masuk']         = 'Entry date is required';
$lang['error_tgl_keluar']        = 'Out date is required';
$lang['error_provinsi']          = 'Province is required';
$lang['error_kota']              = 'City is required';
$lang['error_jabatan_terakhir']  = 'Last position is required';
$lang['error_simpan_riwayat_pendidikan_th_masuk']  = 'Entry year format is incorrect';
$lang['error_simpan_riwayat_pendidikan_th_lulus']  = 'Graduation year format is incorrect';

$lang['error_nomor_surat_keputusan'] = 'Number is required';
$lang['error_tgl_mulai']             = 'Start date is required';
$lang['error_keterangan_status']     = 'Status information is required';

$lang['success_reset_device'] = 'Successfully reset device ID';
$lang['success_reset_face']   = 'Successfully reset face recognition';
$lang['error_level_user']     = 'User level is required';

$lang['error_nama_dokumen']               = 'Document name is required';
$lang['error_gagal_import']               = 'Failed to import data';
$lang['error_berhasil_import']            = 'Successfully imported data';
$lang['error_import_format_tidak_sesuai'] = 'Data failed to import, because Excel format is not suitable';
$lang['error_limit_karyawan']             = 'Failed: employee data has reached the maximum limit';

// saldo cuti
$lang['error_jumlah_saldo'] = 'Balance amount is required';
$lang['error_keterangan']   = 'Description is required';

// berita
$lang['error_judul'] = 'Title is required';

// pengumuman
$lang['error_isi_pengumuman'] = 'Contents of the Announcement is required';

// dashboard
$lang['error_password_lama'] = 'The old password is wrong';
$lang['error_konfirmasi_password'] = 'Confirm the new password is incorrect';
$lang['success_mengganti_password'] = 'Successfully changed your password';

//Chamim
//Pengaturan Perusahaan
$lang['error_nama_perusahaan']      = 'Company name is required';
$lang['error_deskripsi_perusahaan'] = 'Company description is required';
$lang['error_alamat_perusahaan']    = 'Company address is required';

//Rezha
// Pengaturan Umum
$lang['error_pilihan_belum_dipilih']              = 'There is an option that has not been selected';
$lang['error_bulan_belum_dipilih']                = 'The month has not been selected';
$lang['error_jumlah_reset_diisi']                 = 'The balance reset amount has not been filled';
$lang['error_status_mendapatkan_cuti']            = 'The employment status who will receive leave has not been selected';
$lang['error_notif_absensi_masuk_sebelum_flag']   = 'Please select the notification before clocking in';
$lang['error_notif_absensi_masuk_setelah_flag']   = 'Please select the notification after clocking in';
$lang['error_notif_absensi_pulang_setelah_flag']  = 'Please select the notification after clocking out';
$lang['error_notif_absensi_masuk_sebelum_menit']  = 'The minute interval for the notification before clocking in has not been filled in';
$lang['error_notif_absensi_masuk_setelah_menit']  = 'The minute interval for the notification after clocking in has not been filled in';
$lang['error_notif_absensi_pulang_setelah_menit'] = 'The minute interval for the notification after clocking out has not been filled in';

// Pengaturan Hari Libur
$lang['error_tanggal_libur']    = 'The holiday date has not been filled';
$lang['error_tanggal_libur_2']  = 'Date of holiday has been used';
$lang['error_tanggal_libur_3']  = 'Date of holiday has not been used';
$lang['error_keterangan_libur'] = 'The holiday description has not been filled';
$lang['error_jenis_libur']      = 'The type of holiday has not been filled';

// Pengaturan Approval
$lang['error_semua_diisi'] = 'Failed, all data must be filled in';

// Pengaturan Notif
$lang['error_pilih_karyawan'] = 'The employees have not been selected';

// Pengaturan Shift
$lang['error_pilih_shift']         = 'Shift not yet selected';
$lang['error_isi_tanggal_mulai']   = 'Start Date has not been filled in yet';
$lang['error_isi_tanggal_selesai'] = 'End Date has not been filled in yet';
$lang['error_file_upload']         = 'The file has not been uploaded yet';
$lang['error_tambah_shift']        = 'The employee has already clocked in today';

// Laporan Absensi
$lang['error_duplicate_absensi']    = 'Data already exists, please delete the data first';
$lang['error_karyawan_ditemukan']   = 'Employee Data Not Found';
$lang['error_shift_valid']          = 'Invalid shift data';
$lang['error_tambah_absensi']       = 'Unable to Add Attendance to ';
$lang['error_tambah_alpa']          = 'Unable to add type attendance for today';

$lang['error_tanggal_absen']        = 'The attendance date has not been filled in';
$lang['error_jenis_absen']          = 'The attendance type has not been filled in';
$lang['error_jam_kerja']            = 'The working hours has not been filled in';
$lang['error_absen_masuk']          = 'The attendance time in has not been filled in';
$lang['error_format_jam_am']        = 'The format of attendance time in is incorrect';
$lang['error_format_jam_ap']        = 'The format of attendance time out is incorrect';
$lang['error_format_jam_im']        = 'The start time for the break is not in correct format';
$lang['error_format_jam_is']        = 'The end time for the break is not in correct format';
$lang['error_format_tanggal_abs']   = 'The date format for the attendance is incorrect';

// Pengajuan Lembur
$lang['error_lembur_selesai_kurang']    = 'The overtime end time must not be earlier than the overtime start time, and vice versa';
$lang['error_req_tidak_diketahui']      = 'Unknown Request';
$lang['error_jam_mulai']                = 'Start time has not been filled in';
$lang['error_jam_selesai']              = 'End time has not been filled in';
$lang['error_format_jam']               = 'Incorrect Time Format';
$lang['error_format_tanggal']           = 'Incorrect Date Format';

// Pengajuan Izin
$lang['error_izin_maksimal'] = 'The permit request exceeds the maximum limit';
$lang['error_izin_melebihi'] = 'The permit request exceeds the remaining leave balance';
$lang['error_validasi_file'] = 'File uploads are only allowed in JPG and PNG formats';
$lang['error_absensi_exist'] = 'There is already attendance data for that period.<BR>If you proceed, the existing attendance data will be replaced with the new data.';
$lang['success_approve_izin'] = 'Permit Successfully Approved';

//PATROLI
$lang['error_nama_jadwal'] = 'Schedule Name has not been filled in';
