Exemplo n.º 1
0
         show_window(__('Incoming operation') . ': ' . $_GET['showinid'], $warehouse->incomingView($_GET['showinid']));
         $warehouse->{$avidity}['M']['FALL']($warehouse::URL_ME . '&' . $warehouse::URL_IN);
     }
     if (wf_CheckGet(array('showoutid'))) {
         show_window(__('Outcoming operation') . ': ' . $_GET['showoutid'], $warehouse->outcomingView($_GET['showoutid']));
         $warehouse->{$avidity}['M']['FALL']($warehouse::URL_ME . '&' . $warehouse::URL_OUT);
     }
     if (wf_CheckGet(array('showremains'))) {
         show_window(__('The remains in the warehouse storage'), $warehouse->reportAllStoragesRemainsView($_GET['showremains']));
         $warehouse->{$avidity}['M']['FALL']($warehouse::URL_ME . '&' . $warehouse::URL_REPORTS . '&totalremains=true');
     }
     if (wf_CheckGet(array('qrcode', 'renderid'))) {
         $warehouse->qrCodeDraw($_GET['qrcode'], $_GET['renderid']);
     }
     if (wf_CheckGet(array('printremainsstorage'))) {
         $warehouse->reportStorageRemainsPrintable($_GET['printremainsstorage']);
     }
 }
 //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());