Add initial pack creation and overview pages
This commit is contained in:
parent
2d90187c83
commit
50558db7c3
21 changed files with 944 additions and 487 deletions
|
@ -156,7 +156,7 @@ class ServerRepository
|
|||
if (! isset($data['pack_id']) || (int) $data['pack_id'] < 1) {
|
||||
$data['pack_id'] = null;
|
||||
} else {
|
||||
$pack = Models\ServicePack::where('id', $data['pack_id'])->where('option_id', $data['option_id'])->first();
|
||||
$pack = Models\Pack::where('id', $data['pack_id'])->where('option_id', $data['option_id'])->first();
|
||||
if (! $pack) {
|
||||
throw new DisplayException('The requested service pack does not seem to exist for this combination.');
|
||||
}
|
||||
|
|
Reference in a new issue