Changeset 679 for trunk/Modules/Stock/Stock.php
- Timestamp:
- Jul 26, 2014, 9:25:03 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Stock/Stock.php
r603 r679 13 13 $this->Dependencies = array('User', 'Customer', 'Network'); 14 14 } 15 15 16 16 function DoStart() 17 17 { … … 31 31 'UnitOfMeasure' => array('Type' => 'TUnitOfMeasure', 'Caption' => 'Měrná jednotka', 'Default' => '', 'Null' => true), 32 32 'StockItems' => array('Type' => 'TStockItemListProduct', 'Caption' => 'Položky na skladě', 'Default' => '', 'Suffix' => 'ks'), 33 'NetworkDevices' => array('Type' => 'TNetworkDeviceListProduct', 'Caption' => 'Síťová zařízení', 'Default' => ''), 33 34 ), 34 35 )); … … 51 52 'Info' => array('Type' => 'Text', 'Caption' => 'Informace', 'Default' => ''), 52 53 'Esemble' => array('Type' => 'TStockItem', 'Caption' => 'Celek', 'Default' => ''), 53 'Parts' => array('Type' => 'TStockItemListStockItem', 'Caption' => 'Části', 'Default' => ''), 54 'Parts' => array('Type' => 'TStockItemListStockItem', 'Caption' => 'Části', 'Default' => ''), 54 55 ), 55 56 )); … … 62 63 'Location' => array('Type' => 'TMember', 'Caption' => 'Umístění', 'Default' => '', 'Null' => true), 63 64 'Items' => array('Type' => 'TStockItemListStock', 'Caption' => 'Položky', 'Default' => ''), 64 'ItemsCount' => array('Type' => 'Integer', 'Caption' => 'Položek', 'Default' => '', 65 'ItemsCount' => array('Type' => 'Integer', 'Caption' => 'Položek', 'Default' => '', 65 66 'ReadOnly' => true, 'SQL' => '(SELECT COUNT(*) FROM `StockItem` WHERE '. 66 67 '(`StockItem`.`Stock`=#Id) AND (`StockItem`.`TimeElimination` IS NULL))'), 67 'TotalPrice' => array('Type' => 'Integer', 'Caption' => 'Celková cena', 'Default' => '', 68 'TotalPrice' => array('Type' => 'Integer', 'Caption' => 'Celková cena', 'Default' => '', 68 69 'ReadOnly' => true, 'SQL' => '(SELECT SUM(`SellPrice`) FROM `StockItem` WHERE '. 69 70 '(`StockItem`.`Stock`=#Id) AND (`StockItem`.`TimeElimination` IS NULL))', 'Suffix' => 'Kč'), 70 71 ), 71 72 )); 72 } 73 } 73 74 }
Note:
See TracChangeset
for help on using the changeset viewer.