IQ Reisebausteine bis Gruppe
This commit is contained in:
parent
6880c7e989
commit
9baa1a6233
43 changed files with 2206 additions and 24 deletions
|
|
@ -3,6 +3,7 @@ namespace App\Services;
|
|||
|
||||
use App\Models\Branch;
|
||||
use App\Models\Status;
|
||||
use App\Models\DraftType;
|
||||
use App\Models\Salutation;
|
||||
use App\Models\SfGuardUser;
|
||||
use App\Models\TravelAgenda;
|
||||
|
|
@ -75,6 +76,11 @@ class Model
|
|||
$TravelNationality = TravelNationality::where('active', true)->orderBy('name')->get()->pluck('name', 'id');
|
||||
return $emtpy ? $TravelNationality->prepend('-', 0) : $TravelNationality;
|
||||
}
|
||||
|
||||
public static function getDraftTypeArray($emtpy = false){
|
||||
$DraftType = DraftType::where('active', true)->orderByDesc('pos')->get()->pluck('name', 'id');
|
||||
return $emtpy ? $DraftType->prepend('-', 0) : $DraftType;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue