Files
Global-Jain/config/config-variables.php
2025-11-05 10:37:10 +05:30

198 lines
4.5 KiB
PHP

<?php
/**
* Config-variables file contain all constant variables declaration which will be globally accessible.
*/
return [
'default_date_format' => 'm-d-Y',
'default_date_time_format' => 'd-m-Y',
'default_date_time_format_with_day' => 'l, d M Y, h:i A',
'default_time_format' => 'h:i',
'24_time_format' => 'H:i',
'platform_type' => [
[
'id' => 1,
'value' => 'android'
],
[
'id' => 2,
'value' => 'ios'
]
],
'profession' => [
'0' => 'Profession 1',
'1' => 'Profession 2',
'2' => 'Profession 3',
],
'gender_type' => [
[
'id' => 1,
'value' => 'Maharaj'
],
[
'id' => 2,
'value' => 'Mahasati'
]
],
'gender_type_sharavak' => [
[
'id' => 1,
'value' => 'Male'
],
[
'id' => 2,
'value' => 'Female'
]
],
'relationships' => [
'father' => 'Father',
'mother' => 'Mother',
'brother' => 'Brother',
'sister' => 'Sister',
'grandfather' => 'Grandfather',
'grandmother' => 'Grandmother',
'uncle' => 'Uncle',
'aunt' => 'Aunt',
'husband' => 'Husband',
'wife' => 'Wife',
'son' => 'Son',
'daughter' => 'Daughter',
'grandson' => 'Grandson',
'granddaughter' => 'Granddaughter',
'nephew' => 'Nephew',
'niece' => 'Niece',
'father_in_law' => 'Father-in-law',
'mother_in_law' => 'Mother-in-law',
'brother_in_law' => 'Brother-in-law',
'sister_in_law' => 'Sister-in-law',
'son_in_law' => 'Son-in-law',
'daughter_in_law' => 'Daughter-in-law',
],
'karma_points_key' => [
'platform_registration' => 'platform_registration',
'profile_complition' => 'profile_complition',
'shravak_revert_half' => 'shravak_revert_half',
'post_dharmik' => 'post_dharmik',
'new_invitee' => 'new_invitee',
'add_new_sant' => 'add_new_sant', // Approved by admin
'update_new_sant' => 'update_new_sant',
'add_chaturmas' => 'add_chaturmas', // Approved by admin
'add_vihar' => 'add_vihar', // Approved by admin
'add_new_sangh' => 'add_new_sangh',
'sangh_add_post_dharmik' => 'sangh_add_post_dharmik',
'new_sangh_member' => 'new_sangh_member'
],
'karma_points_message' => [
'platform_registration' => 'Platform Registration',
'profile_complition' => 'Profile Complition',
'shravak_revert_half' => 'Shravak Revert Half',
'post_dharmik' => 'Post Dharmik',
'new_invitee' => 'New Invitee',
'add_new_sant' => 'Add New Sant', // Approved by admin
'update_new_sant' => 'Update New Sant',
'add_chaturmas' => 'Add Chaturmas', // Approved by admin
'add_vihar' => 'Add Vihar', // Approved by admin
'add_new_sangh' => 'Add New Sangh',
'sangh_add_post_dharmik' => 'Sangh Add Post Dharmik',
'new_sangh_member' => 'Add new member'
],
'karma_points' => [
'platform_registration' => 50,
'profile_complition' => 100,
'shravak_revert_half' => 50, //Revert half on profile detail delete
'post_dharmik' => 10,
'new_invitee' => 30,
'add_new_sant' => 50, // Approved by admin
'update_new_sant' => 30,
'add_chaturmas' => 30, // Approved by admin
'add_vihar' => 10, // Approved by admin
'add_new_sangh' => 50,
'sangh_add_post_dharmik' => 10,
'new_sangh_member' => 5
],
'profile_activity_fields_count' => [
'total_fields' => 15,
'basic_info' => [
'total' => 7,
'fields' => [
'avatar',
'name',
'email',
'mobile',
'gender',
'birth_date',
'dharma_id',
],
],
'user_detail' => [
'total' => 6,
'fields' => [
'jati_id',
'location',
'native_place',
'mother_tongue_id',
'blood_group_id',
'marital_status'
],
],
'work_info' => [
'total' => 1,
'fields' => [
'profession'
]
],
'qualification_info' => [
'total' => 1,
'fields' => [
'qualification'
]
],
],
'sant_profile_activity_fields_count' => [
'total_fields' => 13,
'basic_info' => [
'total' => 6,
'fields' => [
'dharma_id',
'sampraday_id',
'name',
'honor',
'birth_date',
'gender',
],
],
'diksha_info' => [
'total' => 3,
'fields' => [
'diksha_date',
'diksha_place',
'guru_id'
]
],
'parents_info' => [
'total' => 3,
'fields' => [
'father_name',
'mother_name',
'about',
]
],
'avatar' => [
'total' => 1,
'fields' => [
'avatar',
]
],
],
];