mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -08:00
Removed debugging
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
5fb43dd159
commit
0ce5832b6c
|
@ -161,36 +161,28 @@ class AssetsController extends Controller
|
|||
switch ($action) {
|
||||
// Audit (singular) is left over from earlier legacy APIs
|
||||
case 'audits' :
|
||||
\Log::error('audit/audits');
|
||||
switch ($upcoming_status) {
|
||||
case 'due':
|
||||
\Log::error('due');
|
||||
$assets->DueForAudit($settings);
|
||||
break;
|
||||
case 'overdue':
|
||||
\Log::error('overdue');
|
||||
$assets->OverdueForAudit();
|
||||
break;
|
||||
case 'due-or-overdue':
|
||||
\Log::error('due-or-overdue');
|
||||
$assets->DueOrOverdueForAudit($settings);
|
||||
break;
|
||||
}
|
||||
break;
|
||||
|
||||
case 'checkins':
|
||||
\Log::error('checkins');
|
||||
switch ($upcoming_status) {
|
||||
case 'due':
|
||||
\Log::error('due');
|
||||
$assets->DueForCheckin($settings);
|
||||
break;
|
||||
case 'overdue':
|
||||
\Log::error('overdue');
|
||||
$assets->OverdueForCheckin();
|
||||
break;
|
||||
case 'due-or-overdue':
|
||||
\Log::error('due-or-overdue');
|
||||
$assets->DueOrOverdueForCheckin($settings);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue