Fixes for emails; send user registered/pending depending on state

This commit is contained in:
Nabeel Shahzad
2017-12-22 12:46:46 -06:00
parent 74316218bc
commit 161623c85e
42 changed files with 215 additions and 153 deletions

View File

@@ -0,0 +1,25 @@
<?php
/**
* Created by IntelliJ IDEA.
* User: nabeelshahzad
* Date: 12/22/17
* Time: 12:14 PM
*/
namespace App\Models\Enums;
class PilotState extends EnumBase
{
const PENDING = 1;
const ACTIVE = 2;
const ON_LEAVE = 3;
const SUSPENDED = 4;
protected static $labels = [
PilotState::PENDING => 'Pending',
PilotState::ACTIVE => 'Active',
PilotState::ON_LEAVE => 'On Leave',
PilotState::SUSPENDED => 'Suspended',
];
}