} //reports if (wf_CheckGet(array('reports'))) { if (wf_CheckGet(array('ajaxtremains'))) { $warehouse->{$avidity}['A']['SEENOEVIL'](); } if (wf_CheckGet(array('calendarops'))) { show_window(__('Operations in the context of time'), $warehouse->reportCalendarOps()); $warehouse->{$avidity}['M']['FALL']($warehouse::URL_ME . '&' . $warehouse::URL_REPORTS . '&' . 'totalremains=true'); } if (wf_CheckGet(array('totalremains'))) { $calendarLink = wf_Link($warehouse::URL_ME . '&' . $warehouse::URL_REPORTS . '&calendarops=true', wf_img('skins/icon_calendar.gif', __('Operations in the context of time')), false, ''); $dateRemainsLink = wf_Link($warehouse::URL_ME . '&' . $warehouse::URL_REPORTS . '&dateremains=true', wf_img('skins/ukv/report.png', __('Date remains'))); show_window(__('The remains in all storages') . ' ' . $calendarLink . ' ' . $dateRemainsLink, $warehouse->reportAllStoragesRemains()); $warehouse->{$avidity}['M']['FALL'](); } if (wf_CheckGet(array('dateremains'))) { show_window(__('Date remains'), $warehouse->reportDateRemains()); $warehouse->{$avidity}['M']['FALL'](); } } $warehouse->{$avidity}['M']['FRONT'](); } else { show_error(__('No license key available')); } } else { show_error(__('This module is disabled')); } } else { show_error(__('Permission denied')); }