new_storage.php 413 B

123456789101112131415161718192021
  1. <?php
  2. /** @var int $companyID */
  3. if (!$logged_me_in_successfully234) {
  4. return;
  5. }
  6. require 'tmc/functions.php';
  7. use app\models\entity\Warehouse;
  8. $warehouses = Warehouse::findAll(['company' => $companyID]);
  9. $rows = getDataStorages();
  10. $devices = getDevicesFromRows($rows);
  11. $devices = sortDevicesAlph($devices);
  12. ?>
  13. <?php require 'list_cell.php' ?>
  14. <?php require 'forms/storage.php' ?>