Ignore:
Timestamp:
Dec 29, 2014, 12:43:16 AM (10 years ago)
Author:
chronos
Message:
  • Modified: Some FormType definition moved from global file to corresponding modules.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Stock/Stock.php

    r710 r711  
    115115      'Filter' => '1',
    116116    ));
     117    $this->System->FormManager->RegisterFormType('TProduct', array(
     118      'Type' => 'Reference',
     119      'Table' => 'Product',
     120      'Id' => 'Id',
     121      'Name' => 'Name',
     122      'Filter' => '1',
     123    ));
     124    $this->System->FormManager->RegisterFormType('TStock', array(
     125      'Type' => 'Reference',
     126      'Table' => 'Stock',
     127      'Id' => 'Id',
     128      'Name' => 'Name',
     129      'Filter' => '1',
     130    ));
     131    $this->System->FormManager->RegisterFormType('TStockSerialNumber', array(
     132      'Type' => 'Reference',
     133      'Table' => 'StockSerialNumber',
     134      'Id' => 'Id',
     135      'Name' => 'RegNumber',
     136      'Filter' => '1',
     137    ));
    117138  }
    118139
Note: See TracChangeset for help on using the changeset viewer.