mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 13:44:06 -08:00
Removed unused cases
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
a37a576ee5
commit
625f120813
|
@ -136,12 +136,7 @@ class AcceptanceController extends Controller
|
|||
$pdf_view_route ='account.accept.accept-asset-eula';
|
||||
$asset_model = AssetModel::find($item->model_id);
|
||||
$display_model = $asset_model->name;
|
||||
|
||||
|
||||
// } elseif ($acceptance->checkoutable_type== 'App\Models\License') {
|
||||
// $pdf_view_route ='account.accept.accept-license-eula';
|
||||
// $license = License::find($item->id);
|
||||
// $display_model = $license->name;
|
||||
$assigned_to = User::find($item->assigned_to);
|
||||
|
||||
} elseif ($acceptance->checkoutable_type== 'App\Models\Accessory') {
|
||||
$pdf_view_route ='account.accept.accept-accessory-eula';
|
||||
|
@ -149,11 +144,6 @@ class AcceptanceController extends Controller
|
|||
$display_model = $accessory->name;
|
||||
$assigned_to = User::find($item->assigned_to);
|
||||
|
||||
// } elseif ($acceptance->checkoutable_type== 'App\Models\Consumable') {
|
||||
// $pdf_view_route ='account.accept.accept-consumable-eula';
|
||||
// $consumable = Consumable::find($item->id);
|
||||
// $display_model = $consumable->name;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue