Changeset 916 for trunk/Modules/Stock/Stock.php
- Timestamp:
- Dec 7, 2021, 11:08:42 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Stock/Stock.php
r901 r916 20 20 function DoStart(): void 21 21 { 22 global $Config;23 24 22 $this->System->FormManager->RegisterClass('Product', array( 25 23 'Title' => 'Produkty', … … 114 112 'Amount' => array('Type' => 'Integer', 'Caption' => 'Množství', 'Default' => '1'), 115 113 'Total' => array('Type' => 'Integer', 'Caption' => 'Celkem', 'Default' => '', 'Suffix' => 'Kč', 116 'ReadOnly' => true, 'SQL' => 'ROUND(`UnitPrice` * `Amount`, '.$ Config['Finance']['Rounding'].')'),114 'ReadOnly' => true, 'SQL' => 'ROUND(`UnitPrice` * `Amount`, '.$this->System->Config['Finance']['Rounding'].')'), 117 115 'Položky pohybů' => array('Type' => 'TStockMoveItemSerialListItem', 'Caption' => 'Vztahy sériových čísel', 'Default' => ''), 118 116 'Sériové čísla' => array('Type' => 'String', 'Caption' => 'Sériové čísla', 'ReadOnly' => true,
Note:
See TracChangeset
for help on using the changeset viewer.