Removed unused cases

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2022-05-18 11:09:56 -07:00
parent a37a576ee5
commit 625f120813

View file

@ -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;
}
/**