File size: 2,513 Bytes
560ee81
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?php
/**
 * Created by PhpStorm.
 * User: Ngoc Quy
 * Date: 6/15/2018
 * Time: 3:17 PM
 */

return
    [
        'import_file'=>[
            'check_col'=>[
                'invalid'=>'Invalid csv file. Please check the correct number of columns with the sample file.',
                'row'=>'Row',
                'has'=>'has',
                'missing'=>'is missing',
                'column'=>'columns',
            ],
            'check_Email'=>[
                'repeated'=>'has been repeated'
            ],
            'checkFileEmployee'=>[
                'email_required'=>'The Email field is required',
                'email_exist'=>'Email already exists!!!',
                'email_valid'=>'The Email must be a valid email address.',
                'name_required'=>'The Name field is required.',
                'birthday_required'=>'The Birthday field is required.',
                'birthday_format'=>'Birthday is incorrect format. Example: 22-02-2000.',
                'birthday_before'=>'The Birthday must be a date before Today.',
                'gender_required'=>'The Gender field is required.',
                'gender_values'=>'Gender only receives values Female, Male or N/A.',
                'mobile_required'=>'The Mobile field is required.',
                'mobile_number'=>'Mobile only number.',
                'address_required'=>'The Address field is required.',
                'marital_status_required'=>'The marital_status field is required.',
                'marital_status_values'=>'Marital status only receives values Single, Married, Separated or Devorce.',
                'startwork_required'=>'The Startwork_date field is required.',
                'startwork_end_format'=>'Startwork_date is incorrect format. Example: 22-02-2000.',
                'endwork_end_format'=>'Endwork_date is incorrect format. Example: 22-02-2000.',
                'endwork_required'=>'The Endwork_date field is required.',
                'endwork_smaller'=>'Startwork_date must be smaller than Endwork_date.',
                'employee_type_required'=>'Employee Type field is required.',
                'employee_type_exist'=>'Employee_type does not exist.',
                'team_required'=>'Team field is required.',
                'team_exist'=>'Team does not exist.',
                'role_required'=>'Role field is required.',
                'role_exist'=>'Role does not exist.',
                'company_required'=>'Company field is required.',
            ]
        ],
];