wip on laon orders

This commit is contained in:
2023-11-24 21:05:06 +05:00
parent 70546208a3
commit 0898dbc73f
9 changed files with 265 additions and 27 deletions

View File

@@ -0,0 +1,36 @@
<?php
namespace App\Repos\System\Settings\Legal;
class EducationRepo
{
public const SCHOOL_DROP_OUT = 'school_drop_out';
public const SCHOOL = 'school';
public const MIDDLE_SCHOOL = 'middle_school';
public const UNFINISHED_HIGH_EDUCATION = 'Unfinished_high_education';
public const HIGH_EDUCATION = 'high_education';
public const MASTERS = 'masters';
public const PHD = 'phd';
/**
* Education statuses
*/
public static function values(): array
{
return [
self::SCHOOL_DROP_OUT => __('School drop out'),
self::SCHOOL => __('School'),
self::MIDDLE_SCHOOL => __('Middle school'),
self::UNFINISHED_HIGH_EDUCATION => __('Unfinished high education'),
self::HIGH_EDUCATION => __('High education'),
self::MASTERS => __('Masters'),
self::PHD => __('PHD'),
];
}
}

View File

@@ -0,0 +1,30 @@
<?php
namespace App\Repos\System\Settings\Legal;
class MarriageRepo
{
public const MARRIED = 'married';
public const LEGAL_MARRIAGE = 'legal_marriage';
public const DIVORCED = 'divorced';
public const WIDOW = 'WIDOW';
public const SINGLE = 'single';
/**
* Marriage values
*/
public static function values(): array
{
return [
self::MARRIED => __('Married'),
self::LEGAL_MARRIAGE => __('Legal Marriage'),
self::DIVORCED => __('Divorced'),
self::WIDOW => __('Widow'),
self::SINGLE => __('Single'),
];
}
}

View File

@@ -0,0 +1,48 @@
<?php
namespace App\Repos\System\Settings\Legal;
class PassportRepo
{
const I_AS = 'I-AS';
const I_MR = 'I-MR';
const II_MR = 'II-MR';
const I_AH = 'I-AH';
const II_AH = 'II-AH';
const I_LB = 'I-LB';
const II_LB = 'II-LB';
const I_BN = 'I-BN';
const II_BN = 'II-BN';
const I_DZ = 'I-DZ';
const II_DZ = 'II-DZ';
/**
* Passport values
*/
public static function values(): array
{
return [
self::I_AS => self::I_AS,
self::I_MR => self::I_MR,
self::II_MR => self::II_MR,
self::I_AH => self::I_AH,
self::II_AH => self::II_AH,
self::I_LB => self::I_LB,
self::II_LB => self::II_LB,
self::I_BN => self::I_BN,
self::II_BN => self::II_BN,
self::I_DZ => self::I_DZ,
self::II_DZ => self::II_DZ,
];
}
}